Subscription order endpoints

GET List subscription orders

https://submarine.discolabs.com/api/v1/customers/{{ customer_id }}/subscriptions/{{ subscription_id }}/subscription_orders.json

Fetch a list of the subscription orders for the given subscription.

ParameterNameRequiredTypeDescription
Pathcustomer_idYesintegerID of the currently logged in customer.
Pathsubscription_idYesintegerID of the subscription to retrieve orders for.

PATCH Update existing subscription order

https://submarine.discolabs.com/api/v1/customers/{{ customer_id }}/subscriptions/{{ subscription_id }}/subscription_orders/{{ id }}.json

Update an existing subscription order.

ParameterNameRequiredTypeDescription
Pathcustomer_idYesintegerID of the currently logged in customer.
Pathsubscription_idYesintegerID of the subscription the subscription order to be updated belongs to.
PathidYesintegerID of the subscription order to update.

POST Skip subscription order

https://submarine.discolabs.com/api/v1/customers/{customer_id}/subscriptions/{subscription_id}/subscription_orders/{subscription_order_id}/skip

Skip an order in the subscription schedule.

ParameterNameRequiredType
Pathcustomer_idYesinteger
Pathsubscription_idYesinteger
Pathsubscription_order_idYesinteger

POST Unskip subscription order

https://submarine.discolabs.com/api/v1/customers/{customer_id}/subscriptions/{subscription_id}/subscription_orders/{subscription_order_id}/unskip

Unskip a skipped order in the subscription schedule.