Skip to main content
POST
/
v1
/
stores
/
{store}
/
subscription-plans
/
assignments
/
{assignment}
/
cancel
Cancel plan assignment
curl --request POST \
  --url https://api.confiopagos.com/v1/stores/{store}/subscription-plans/assignments/{assignment}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "Customer requested cancellation"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

store
string
required
Example:

"01G65Z755AFWAKHE12NY0CQ9FH"

assignment
string
required
Example:

"01JNRVWWHH68E76V3TMFFT6GHJ"

Body

application/json
reason
string
required

Optional reason for cancellation

Example:

"Customer requested cancellation"

Response

200 - application/json

Successfully canceled plan assignment.

The response is of type object.