PATCH
/
customers
/
authorization
/
{id}
curl --request PATCH \
  --url https://api.sulu.sh/v0/customers/authorization/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "pending",
  "customerId": "<string>"
}'
{
  "id": "<string>",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for the authorization session.

Body

application/json

Response

200
application/json
Authorization session updated successfully

The response is of type object.