v1
latestOpenAPI 3.0.12026-07-242871595.3 MBSUBSCRIPTIONS
Update a subscription
Updates a subscription based on the subscriptionId. Merchants can create subscriptions that associate customers with specific plans, including details such as customer billing information, card-on-file, scheduled payment amount, start date, and payment intervals.
put/v1/subscriptions/{subscriptionId}
Path parameters
subscriptionIdstring required
Universally unique identifier (UUID) of a subscription in a plan.
Headers
X-Clover-Merchant-Idstring required
Clover merchant identifier (mId).
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <application>/<version>
Request body
Example request
{
"collectionMethod": "CHARGE_AUTOMATICALLY",
"note": "note",
"amount": 6,
"endDate": "2000-01-23T04:56:07.000Z",
"tipAmount": 0,
"softDescriptor": {
"merchantContactInfo": "merchantContactInfo",
"city": "city",
"street": "street",
"countryCode": "countryCode",
"postalCode": "postalCode",
"dbaName": "dbaName",
"region": "region"
},
"active": true,
"startDate": "2000-01-23T04:56:07.000Z",
"level2": {
"vatTaxRate": 9,
"freightAmount": 2,
"pcOrderNumber": "pcOrderNumber",
"destinationCountryCode": "destinationCountryCode",
"discountAmount": 3,
"purchaseIdentifier": "purchaseIdentifier",
"shipFromPostalCode": "shipFromPostalCode",
"taxIndicator": "UNKNOWN",
"destinationPostalCode": "destinationPostalCode",
"merchantTaxId": "merchantTaxId",
"vatTaxAmount": 7,
"taxAmount": 2,
"dutyAmount": 4,
"productDescription": "productDescription"
},
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
]
}Response
Successful response. Subscription is updated.
Example response
{
"collectionMethod": "CHARGE_AUTOMATICALLY",
"note": "note",
"modifiedTime": "2000-01-23T04:56:07.000Z",
"amount": 5,
"tipAmount": 5,
"endDate": "2000-01-23T04:56:07.000Z",
"active": true,
"softDescriptor": {
"merchantContactInfo": "merchantContactInfo",
"city": "city",
"street": "street",
"countryCode": "countryCode",
"postalCode": "postalCode",
"dbaName": "dbaName",
"region": "region"
},
"lastRunDate": "2000-01-23T04:56:07.000Z",
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
],
"customerUuid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"merchantId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"createdTime": "2000-01-23T04:56:07.000Z",
"id": "id",
"deletedTime": "2000-01-23T04:56:07.000Z",
"plan": {
"note": "note",
"modifiedTime": "2000-01-23T04:56:07.000Z",
"amount": 6,
"tipAmount": 0,
"active": true,
"uuid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"taxRateUuids": [
"taxRateUuids",
"taxRateUuids"
],
"productUuid": "productUuid",
"merchantId": "merchantId",
"intervalCount": 1,
"name": "name",
"createdTime": "2000-01-23T04:56:07.000Z",
"interval": "DAY",
"id": "id",
"deletedTime": "2000-01-23T04:56:07.000Z"
},
"startDate": "2000-01-23T04:56:07.000Z",
"object": "object",
"level2": {
"vatTaxRate": 9,
"freightAmount": 2,
"pcOrderNumber": "pcOrderNumber",
"destinationCountryCode": "destinationCountryCode",
"discountAmount": 3,
"purchaseIdentifier": "purchaseIdentifier",
"shipFromPostalCode": "shipFromPostalCode",
"taxIndicator": "UNKNOWN",
"destinationPostalCode": "destinationPostalCode",
"merchantTaxId": "merchantTaxId",
"vatTaxAmount": 7,
"taxAmount": 2,
"dutyAmount": 4,
"productDescription": "productDescription"
}
}