PaidGoods
API referenceCustomer operations

Suspend or restore a customer account

POST
/v1/stores/{storeId}/customers/{customerId}/lifecycle

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
customerId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/customers/string/lifecycle" \  -H "Content-Type: application/json" \  -d '{    "status": "active"  }'
{  "status": "active",  "reason": "string",  "suspendedAt": "string",  "deletionRequestedAt": "string",  "anonymisedAt": "string",  "retainedUntil": "string"}