Skip to main content
Gives a product its picture, replacing any it had. Send it as a multipart form with the file in the field image. A product on sale is queued for the WhatsApp catalogue again, where the picture shows in product cards; square, and at least 500 × 500 px, looks best.
Needs the catalogue.products:write scope.

Path parameters

Form fields

Request

Response

200 OK — the product, with has_image true.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.