Connect inbox whatsapp
POST
/ admin/ v1/ stores/ {store_id}/ inbox/ channels/ whatsapp- Idempotency-Key supported
Connects the store's own WhatsApp number with what Meta's Embedded Signup handed the browser. Every WhatsApp message of the store goes out on it from then on. , by a person.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
codestringrequiredaccepts_commerce_policybooleanrequiredThe store sells nothing WhatsApp's Commerce Policy forbids.
waba_idstring · or nullphone_number_idstring · or null
Returns
201 Connected.
Errors
- 409Not set up here (
not_set_up), not shared with snizu (not_granted), connected to another store (connected_elsewhere), or Meta refused (meta_refused). - 422
validation_failedThe Commerce Policy wasn't confirmed.