v2
latestOpenAPI 3.0.02026-07-3139594346.4 KBTesting
Create Testing Shopper Account
Create a Bolt shopper account for testing purposes. Available for sandbox use only and the created account will be recycled after a certain time.
post/v1/testing/shopper/create
Headers
X-Publishable-Keystring
The publicly viewable identifier used to identify a merchant division. This key is found in the Developer > API section of the Bolt Merchant Dashboard [RECOMMENDED].
Request body
Example request
{
"deactivate_in_days": 30,
"email_state": "verified",
"phone_state": "verified"
}Response
Testing Account Created
Example response
{
"email": "alan.watts@example.com",
"email_state": "verified",
"phone": "+12125550199",
"phone_state": "verified",
"migrated_merchant_owner_id": "addvfRR_bp_7",
"will_deactivate_at": "2023-06-01T23:16:07Z",
"oauth_code": "7GSjMRSHs6Ak7C_zvVW6P2IhZOHxMK7HZKW1fMX85ms.-DUXvwr1Yg-bfvqXUlMaz49fPn7OdiPa3TwVBlUI-wc"
}