Cancel

View as Markdown
Cancels a subscription and any subsequent shipments.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

subscription_idstringRequired
Unique Subscription ID

Request

This endpoint expects an object.
cancel_reasonstringOptional

Pipe-delimited cancel reason code and cancel reason details

Response

200
customerstring
merchantstring
productstring
paymentstring
shipping_addressstring
offerstring
subscription_typestring
componentslist of objects
extra_dataobject
public_idstring
product_attributeany
quantityintegerDefaults to 0
priceany
frequency_daysintegerDefaults to 0
reminder_daysintegerDefaults to 0
everyintegerDefaults to 0
every_periodintegerDefaults to 0
start_datestring
cancelledstring
cancel_reasonstring
cancel_reason_codeintegerDefaults to 0
iterationany
sequenceany
session_idstring
merchant_order_idstring
customer_repany
clubany
createdstring
updatedstring
livebooleanDefaults to true

Errors

400
Bad Request Error