ShopEazydevelopers
API referenceStorefront APIMember review

Approve a membership

Credentials
  • Store key
Scopes
members:manage
Key type
Secret store key only. Keep it on your server.
POST
/v1/store/members/{uid}/approve

Idempotent. note becomes the member's decisionNote, which the shopper sees on GET /v1/store/me.

Old path, deprecated, sunset 1 Feb 2027: POST /v1/members/{uid}/approve.

Authorization

storeKey members:manage
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:manage

Path Parameters

uid*string

The shopper's user id within the store's tenant.

Request Body

application/json
  1. body
note?string

Shown to the shopper as decisionNote.

Response Body

The member after the decision.

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.shopeazy.co/v1/store/members/<uid>/approve' \  -H 'Authorization: Bearer sez_sk_...' \  -H 'Content-Type: application/json' \  -d '{  "note": "Welcome to the plant club."}'
Example Response
{  "data": {    "uid": "string",    "status": "pending",    "name": "string",    "email": "string",    "phone": "string",    "applicationNote": "string",    "appliedAt": 0,    "decidedAt": 0,    "decisionNote": "string",    "verification": {      "firstName": "string",      "lastName": "string",      "dateOfBirth": "string",      "idType": "sa_id",      "idNumber": "string",      "address": {        "addressLine": "string",        "localArea": "string",        "city": "string",        "province": "string",        "postalCode": "string",        "country": "string"      },      "over18": true,      "submittedAt": 0,      "selfieUrl": "string",      "idDocUrl": "string"    }  }}