Retrieve a list of product types. The product types can be filtered by fields such as q
or value
. The product types can also be sorted or paginated.
Request samples
curl --location --request GET 'https://api.medusa-commerce.com/admin/product-types'
Responses
application/json {
"count": 0,
"offset": 0,
"limit": 0,
"product_types": [
{
"id": "ptyp_01G8X9A7ESKAJXG2H0E6F1MW7A",
"value": "Clothing",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {
"car": "white"
}
}
]
}
Modified at 2023-10-08 12:50:29