Product Tags API Routes
GET /store/product-tags#
List Product Tags
Retrieve a list of product tags. The product tags can be filtered by fields such as id. The product tags can also be sorted or paginated.
Authentication: none.
Header parameters
x-publishable-api-keystringx-medusa-localestringOptionalExample:
en-USQuery parameters
fieldsstringOptional+ 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.offsetnumberOptionallimitnumberOptionalorderstringOptional-.$andobject[]Optional$orobject[]OptionalqstringOptionalidstring | string[]Optionalvaluestring | string[]Optionalcreated_atobjectOptionalupdated_atobjectOptionalwith_deletedbooleanOptionallocalestringOptionalExample:
en-USexternal_idstring | string[]OptionalRequest examples
Responses
200 OK
limitnumberoffsetnumbercountnumberproduct_tagsobject[]The list of product tags.
product_tagsobject[]estimate_countnumberOptional400, 401, 404, 409, 422, 500: an error response is returned.
GET /store/product-tags/{id}#
Get a Product Tag
Retrieve a product tag by its ID. You can expand the product tag's relations or select the fields that should be returned.
Authentication: none.
Path parameters
idstringHeader parameters
x-publishable-api-keystringx-medusa-localestringOptionalExample:
en-USQuery parameters
fieldsstringOptional+ 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.localestringOptionalExample:
en-USRequest examples
Responses
200 OK
product_tagobjectThe tag's details.
product_tagobject400, 401, 404, 409, 422, 500: an error response is returned.