Retrieve a product by its ID. You can expand the product’s relations or select the fields that should be returned.
You can retrieve the content of the product translated to a specific locale either by passing the locale query parameter or by setting the x-medusa-locale header to the desired locale code in BCP 47 format. If you don’t pass a locale, and your store has a default locale, the default locale will be used.
With localization, the product’s content like title and description will be in the specified locale if a translation is available, and fallback to the original content otherwise. Learn more in the Localization section.
Publishable API Key created in the Medusa Admin.
The locale in BCP 47 format to retrieve localized content.
"en-US"
The product's ID.
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 ID of the region the product is being viewed from. This is required if you're retrieving product variant prices with taxes.
The country code the product is being viewed from. This is required if you're retrieving product variant prices with taxes.
The lower-case ISO 3166-2 province code the product is being viewed from. This is useful to narrow down the tax context when calculating product variant prices with taxes.
"us-ca"
The ID of the customer's cart. If set, the cart's region and shipping address's country code and province are used instead of the region_id, country_code, and province properties.
The locale in BCP 47 format to retrieve localized content.
"en-US"
OK
The product's details.
The product's details.