List Product Types
GET
/store/product-typesRetrieve a list of product types. The product types can be filtered by fields such as value
or q
. The product types can also be sorted or paginated.
Request
Query Params
limit
integer
optional
Limit the number of product types returned.
offset
integer
optional
The number of product types to skip when retrieving the product types.
order
string
optional
A product-type field to sort-order the retrieved product types by.
discount_condition_id
string
optional
Filter by the ID of a discount condition. When provided, only types that the discount condition applies for will be retrieved.
value
array[string]
optional
Filter by type values.
id
array[string]
optional
Filter by IDs.
q
string
optional
term to search product type's value.
lt
array[string]
optional
filter by dates less than this date
Example:
["",""]
gt
array[string]
optional
filter by dates greater than this date
Example:
["",""]
lte
array[string]
optional
filter by dates less than or equal to this date
Example:
["",""]
gte
array[string]
optional
filter by dates greater than or equal to this date
Example:
["",""]
Request samples
Responses
OK(200)
Client Error or Multiple Errors(400)
User is not authorized. Must log in first(401)
Not Found Error(404)
Invalid State Error(409)
Invalid Request Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: a year ago