Skip to content

Submit form

POST/store/v1/signup-forms/{form_id}/submissions
  • Idempotency-Key supported

Signs someone up. The answer is the same whether or not the address was known.

Path parameters

  • form_idstringrequired

    The form's ID, like suf_01k8qs5s….

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

  • emailstringrequired
  • first_namestring · or null
  • phonestring · or null
  • sms_consentboolean

    Their own unticked box for texts.

  • whatsapp_consentboolean

    Their own unticked box for WhatsApp.

  • websitestring · or null

    Leave this empty: it catches bots.

  • localestring · or null

Returns

200 What to show.

Errors

  • 404not_foundIt isn't showing.
  • 422validation_failedInvalid address.
  • 429rate_limitedToo many tries.