POST /v1/commerce/products/{productID}/sync-whatsapp-catalog
POST
/v1/commerce/products/{productID}/sync-whatsapp-catalogAuthorization
bearerAuthbearerAuthrequiredor
apiKeyAuthapiKeyAuthrequiredPath parameters
productIDstringrequiredRequest body
requiredapplication/jsoncatalog_idstringrequiredchannel_idstringrequiredResponses
202Accepted
statusstringrequiredtask_idstringdefaultError
errorErrorBodyrequiredShow propertiesHide properties
codestringrequireddetailsErrorDetail[] | nullShow propertiesHide properties
Array of
ErrorDetailcodestringfieldstringlocationstringmessagestringrequiredmessagestringrequiredrequest_idstringRequest
curl -X POST "/v1/commerce/products/string/sync-whatsapp-catalog" \
-H "Content-Type: application/json" \
-d '{
"catalog_id": "string",
"channel_id": "string"
}'const response = await fetch("/v1/commerce/products/string/sync-whatsapp-catalog", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"catalog_id": "string",
"channel_id": "string"
})
});import requests
response = requests.post(
"/v1/commerce/products/string/sync-whatsapp-catalog",
headers={
"Content-Type": "application/json"
},
json={
"catalog_id": "string",
"channel_id": "string"
},
)Response
{
"status": "string",
"task_id": "string"
}{
"error": {
"code": "string",
"details": [
{
"code": "string",
"field": "string",
"location": "string",
"message": "string"
}
],
"message": "string",
"request_id": "string"
}
}