Delete a subscription

Sets the status of the subscription and Template basket to Deleted. Deleted subscriptions will not be available in the API. Any registered recurring payments with a PSP will be cleared.

Request
query Parameters
subscriptionId
required
integer <int32>

The internal id of the subscription to delete. Note that this id should be removed from future references.

updatedBy
required
integer <int32>

Account internal id of current user.

Responses
200

Success

400

Bad Request

Key: SubscriptionMissing. Gets raised when the recurring order is invalid.

Key: SubscriptionNotEditable. Gets raised when the basket is not editable or already paid for. Or if the subscription is deleted.

500

Internal Server Error

post/ShoppingService.svc/rest/DeleteSubscription