Skip to main content
PUT
/
v1
/
customers
/
{Customer}
/
subscriptions
/
{Subscription}
Modify Customer Subscriptions Price
curl --request PUT \
  --url https://api.ecrypt.com/v1/customers/{Customer}/subscriptions/{Subscription} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "amount": {
    "total": 499999999.995,
    "tax": 499999999.995,
    "surcharge": 499999999.995,
    "subtotal": 499999999.995
  }
}
'
{
  "requestId": "000000000000000000000",
  "errors": [
    {
      "type": "<string>",
      "message": "<unknown>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Authorization by x-api-key inside request's header

Path Parameters

Customer
string
default:00000000-0000-0000-0000-000000000000
required

Customer is the Ecrypt customer identifier.

Example: 00000000-0000-0000-0000-000000000000

Required string length: 8 - 64
Pattern: ^[0-9A-Za-z-]*$
Subscription
string
default:00000000-0000-0000-0000-000000000000
required

Subscription is the Ecrypt Subscription identifier.

Example: 00000000-0000-0000-0000-000000000000

Required string length: 8 - 64
Pattern: ^[0-9A-Za-z-]*$

Body

amount
object

Response

OK