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_idstringrequiredThe form's ID, like
suf_01k8qs5s….
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
emailstringrequiredfirst_namestring · or nullphonestring · or nullsms_consentbooleanTheir own unticked box for texts.
whatsapp_consentbooleanTheir own unticked box for WhatsApp.
websitestring · or nullLeave this empty: it catches bots.
localestring · or null
Returns
200 What to show.
Errors
- 404
not_foundIt isn't showing. - 422
validation_failedInvalid address. - 429
rate_limitedToo many tries.