Get Unused Shopper Account Identifiers

POST {{api_base_url}}/v1/testing/shopper/create

Get a pair of random unused shopper account identifiers (email, phone) without creating an account - available for sandbox use only. This can be used to test the account creation API.

A shopper account email/phone can be in 3 states:

  • missing - the account does not have a email/phone
  • unverified - the account has an email/phone but the account owner has not used it to accept OTP (One-time password).
  • verified - the account has an email/phone and the account owner has used it to accept OTP.

By setting both email_state and phone_state to missing, we return an unused random email and phone number that can later be used to create an account.

Request Body

{"email_state"=>"missing", "phone_state"=>"missing"}

HEADERS

KeyDatatypeRequiredDescription
X-API-KeystringBolt Account API Key