List Product Types
Retrieve a list of product types. The product types can be filtered by fields such as id
. The product types can also be sorted or paginated.
Headers
Publishable API Key created in the Medusa Admin.
Query Parameters
Comma-separated fields that should be included in the returned data.
if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields.
without prefix it will replace the entire default fields.
The number of items to skip when retrieving a list.
Limit the number of items returned in the list.
The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with -
.
Join query parameters with an AND condition. Each object's content is the same type as the expected query parameters.
Join query parameters with an OR condition. Each object's content is the same type as the expected query parameters.
Query to search the product type's searchable fields.
Filter by a product type's ID.
Filter by a product type's value.
Filter by the type's creation date.
Filter by the type's update date.
Whether to include deleted records in the result.
Response
OK
The paginated list of product types.