Returns a single Product resource by its identifier.
Requires a valid API key in the X-API-KEY header.
Indicates the preferred natural language and locale for localized content.
- omitted / null: content in the tenant's default culture.
- culture-code (e.g.
en-US,es): content localized in the specified culture. *and q-factor weighting are currently not supported.
Comma-separated list of root-resource property names to include in the response. See /Products/$metadata for the available properties. Selecting properties of embedded resources is not supported.
Example: $select=prod_description,prod_tags
Comma-separated list of embedded collections to include (e.g. Variants). By default, embedded collections are not included. Only embedded collections (not embedded resources) are supported.
Example: $expand=Variants
200 OK — EntityRepresentation with the Product resource.
- 400 Bad Request — Invalid OData expression (returns
ValidationFailureRepresentation). - 401 Unauthorized — Missing or invalid API key. Returned by the API gateway as
{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }. - 404 Not Found — Product with the given identifier does not exist.
- 500 Internal Server Error — Unexpected technical error.
Request:
GET /Products(456)?$select=prod_description,prod_tags&$expand=Variants HTTP/1.1
X-API-KEY: your-api-key-here
Accept-Language: en-USResponse:
HTTP/1.1 200 OK
Content-Type: application/jsonGET
curl -i -X GET \
'https://api2.saleslayer.com/catalog/Products({productIdentifier})?%24select=string&%24expand=string' \
-H 'Accept-Language: string' \
-H 'X-API-KEY: string'Response
{ "@readLink": "string", "@editLink": "string", "@etag": "string", "@navigationLinks": [ { … } ], "@associationLinks": [ { … } ], "@context": "string", "value": null }