Skip to content

Cancel product change

/me/cancel_product_change

Target audience: Developers

Release version: 3.9.0

Cancel subscription downgrade/change

Introduction

This endpoint lets you cancel a registered product downgrade- or change request.

Prerequisites and Constraints

  • Target user_product should have a registered downgrade- or change request.

URI

Environment URI
Stage https://payway-api.stage.adeprimo.se/external/api/v1/me/cancel_product_change
Production https://backend.worldoftulo.com/external/api/v1/me/cancel_product_change

Requirements

Identity Scope
Yes /external/me/w

Parameters

Field Required Description
id Required id of the user product which to cancel a registered downgrade/change request for

Curl Example

curl --request PUT \
  --url https://payway-api.stage.adeprimo.se/external/api/v1/me/cancel_product_change \
  --header 'accept: application/json' \
  --header 'authorization: Bearer token' \
  --header 'content-type: application/json' \
  --data '{
    "id": "50f3ac249f6aef294d000007"
}'

Response

Field Description
id id of the user_product

Example Response

HTTP 200
{
    "id": "50f3ac249f6aef294d000007"
}

Errors

This API uses the common error conventions of the Payway API

See common error responses