ShopEazydevelopers
API referenceStorefront APIShopper

Sign the shopper out

Credentials, one of
  • Store key and Shopper session
  • Store key
Scopes
members:write
DELETE
/v1/store/shopper/session

Revokes the shopper's refresh tokens. Best-effort; a missing or already-invalid session is not an error. Clear your cookie either way.

Old path, deprecated, sunset 1 Feb 2027: DELETE /v1/shopper/session.

Authorization

headerAuthorizationBearer <sez_pub_... (publishable) or sez_sk_... (secret)>

A per-store key from the console. Publishable keys are browser-safe; secret keys are server-only.

Scope: members:write

headerX-Shopper-Session<token>

A 14-day shopper session from POST /v1/store/shopper/session. Preferred on a server.

Response Body

Signed out.

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.shopeazy.co/v1/store/shopper/session' \  -H 'Authorization: Bearer sez_pub_...'
Example Response
{  "data": {    "ok": true  }}