Subscriptions

Sets the subscription for an in progress subscription order

Changed on

This endpoint cannot be used for an in progress subscription order with subscription order Action equal to subscription order action Reactivate

Licenses Required

  • Vista.Ocapi
  • Vista.Subscriptions
put/ocapi/v1/orders/{orderId}/subscription

Request

Path parameters

orderIdstring required

The unique identifier of the in progress subscription order being modified

Headers

loyaltySessionTokenstring

Current Loyalty session token, represents a 'signed-in' member

Connect-Region-Codestring

Region Code

Request body

subscriptionBillingOptionIdstring required

Gets the unique identifier of the subscription billing option

discountIdstring nullable

Gets the unique identifier of the discount used, if applicable

voucherIdstring nullable

Gets the unique identifier of the order voucher used, if applicable

Response

Success

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property //// to the response with the status

    • warning

      added the new DiningLocationDelivery enum value to the ////// response property for the response status

    • warning

      added the new DiningLocationDelivery enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new PaymentCard enum value to the ////// response property for the response status

    • warning

      added the new Tab enum value to the /// response property for the response status

    • info

      the response property // became required for the status

    • info

      added the required property /////// to the response with the status

    • info

      added the required property /////// to the response with the status