Skip to main content
GET
/
vendor
/
product-types
List product types
curl --request GET \
  --url https://api.example.com/vendor/product-types \
  --header 'Authorization: Bearer <token>'
{
  "product_types": [
    {
      "id": "<string>",
      "value": "<string>",
      "metadata": {
        "car": "white"
      }
    }
  ],
  "count": 123,
  "offset": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

fields
string

The comma-separated fields to include in the response

offset
number

The number of items to skip before starting to collect the result set.

limit
number

The number of items to return.

q
string

Search query to filter product types by value (case-insensitive).

Response

200 - application/json

OK

product_types
Product Type · object[]
count
integer

The total number of items available

offset
integer

The number of items skipped before these items

limit
integer

The number of items per page