Reset the sandbox
POST/v1/test/reset
Deletes every member and every order in your sandbox brand, so a test run starts from zero. Your program, locations, rewards, keys and webhook endpoints stay.
Warning A reset can't be undone. Everyone on your team who shares the sandbox brand loses their test members too.
After a reset you can reuse your test external_id and external_order_id values.
Permissions: Sandbox secret key.
Guide
SandboxRequest headers#
Idempotency-KeystringAny string up to 255 characters; use a UUID v4. Kept 24 hours per key (or member) and endpoint. Same key and body replays the first response withIdempotent-Replayed: true.Max Length 255
Response fields#
Returns 200 with object
deleted_membersintegerdeleted_ordersinteger
Error descriptions#
404Not found
not_found
Called on production.
Any endpoint can also return the common errors.