Skip to main content
GET
/
vendor
/
product-types
/
{id}
Get product type
curl --request GET \
  --url https://api.example.com/vendor/product-types/{id} \
  --header 'Authorization: Bearer <token>'
{
  "product_type": {
    "id": "<string>",
    "value": "<string>",
    "metadata": {
      "car": "white"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the type

Query Parameters

fields
string

The comma-separated fields to include in the response

Response

200 - application/json

OK

product_type
Product Type · object

A product type object with its properties