Skip to main content
GET
/
instances
/
{instanceId}
/
token
/
{token}
/
products
/
{productId}
Get product (ID)
curl --request GET \
  --url https://api.z-api.io/instances/{instanceId}/token/{token}/products/{productId} \
  --header 'Client-Token: <api-key>'

Overview

With this method you can get data for a specific product by its ID from the WhatsApp Business catalog.

Attributes

instanceId
string
required
Your instance ID. Available in the Z-API panel under Instances.
token
string
required
Your Z-API instance token.

Path

productId
string
required
Product ID

Response

200

{
  "cartEnabled": true,
  "catalogId": "999999999999999",
  "availability": "in stock",
  "id": "999999999999999",
  "retailerId": null,
  "description": "Product description",
  "price": "100000",
  "salePrice": "90000",
  "currency": "BRL",
  "name": "Mouse",
  "images": ["https://..."]
}

405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

415

If you receive a 415 error, make sure to add the “Content-Type” header to your request, which in most cases is “application/json”.