Send message
POST
/ store/ v1/ contact- Idempotency-Key supported
Sends the store a message from its contact form. The store's staff get it by email and in the admin's inbox; answers go to the email given.
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
namestringrequiredemailstringrequiredbodystringrequiredUp to 5,000 characters.
phonestring · or nullorder_numberstring · or nullThe order the message is about, as the shopper typed it.
page_pathstring · or nullThe storefront page it was sent from (a path).
localestring · or nullThe storefront language (BCP 47).
websitestring · or nullLeave empty: a hidden field only bots fill.
Returns
204 Sent.
Errors
- 422
validation_failedA missing or invalid field, named. - 429
rate_limitedToo many messages; try again later.