Skip to main content
GET
/
public
/
{user_id}
/
products
/
categories
List Product Categories
curl --request GET \
  --url https://apigw.ipxo.com/ecommerce/public/{user_id}/products/categories \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "uuid": "a13651d4-960e-4916-9874-c910c74f7b16",
      "slug": "neque-rem-voluptates-voluptatibus-praesentium",
      "enabled": true,
      "is_cart_enabled": true,
      "is_stock_enabled": true
    },
    {
      "uuid": "a13651d4-9756-45bb-86ed-4052fb0e2fe8",
      "slug": "itaque-totam-voluptates-occaecati-autem-eum",
      "enabled": true,
      "is_cart_enabled": true,
      "is_stock_enabled": true
    }
  ],
  "meta": {
    "current_page": 1,
    "total": 2,
    "per_page": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The ID of the user.

Query Parameters

filter[slugs]
string

Filter by product category slugs (comma-separated)

Example:

"feature,default"

Response

200 - application/json
data
object[]
Example:
[
{
"uuid": "a13651d4-960e-4916-9874-c910c74f7b16",
"slug": "neque-rem-voluptates-voluptatibus-praesentium",
"enabled": true,
"is_cart_enabled": true,
"is_stock_enabled": true
},
{
"uuid": "a13651d4-9756-45bb-86ed-4052fb0e2fe8",
"slug": "itaque-totam-voluptates-occaecati-autem-eum",
"enabled": true,
"is_cart_enabled": true,
"is_stock_enabled": true
}
]
meta
object