API Reference
patch

/subscriptions/v1/card/{subscriptionId}

Update a subscription identified by its subscriptionId. All the body fields are optional, they must be sent if they are meant to be changed.

Request Parameters

1 Path Parameter
2 Headers

Request Body

1 Example
Schema
object
planName
string
example: Premium
periodicity
string
Allowed Values: daily, weekly, biweekly, monthly, quarterly, halfYearly, yearly, custom
example: monthly
contactDetails
object
firstName
string
1 validation + required
lastName
string
1 validation + required
email
string
1 validation + required
amount
object
$schema: http://json-schema.org/draft-04/schema#
id: Amount
currency
string
2 validations
subtotalIva
number
1 validation + required
subtotalIva0
number
1 validation + required
iva
number
1 validation + required
ice
number
1 validation
extraTaxes
object
startDate
string

Note: Use future date

format: date
language
string
Allowed Values: es, en
metadata
object
key0
string
1 validation
key1
string
1 validation
key2
string
1 validation

Responses

No Content

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
subscriptionId
$$.env
No $$.env variables are being used in this request.