List Product Types
GET
/store/product-types
Product Types
value
or q
. The product types can also be sorted or paginated.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.medusa-commerce.com/store/product-types'
Response Response Example
200 - Example 1
{
"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"
}
}
]
}
Request
Query Params
limit
integer
optional
offset
integer
optional
order
string
optional
discount_condition_id
string
optional
value
array[string]
optional
id
array[string]
optional
q
string
optional
lt
array[string]
optional
Example:
["",""]
gt
array[string]
optional
Example:
["",""]
lte
array[string]
optional
Example:
["",""]
gte
array[string]
optional
Example:
["",""]
Responses
Modified at 2023-11-27 13:05:07