Skip to content

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-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • namestringrequired
  • emailstringrequired
  • bodystringrequired

    Up to 5,000 characters.

  • phonestring · or null
  • order_numberstring · or null

    The order the message is about, as the shopper typed it.

  • page_pathstring · or null

    The storefront page it was sent from (a path).

  • localestring · or null

    The storefront language (BCP 47).

  • websitestring · or null

    Leave empty: a hidden field only bots fill.

Returns

204 Sent.

Errors

  • 422validation_failedA missing or invalid field, named.
  • 429rate_limitedToo many messages; try again later.