Subscriptions

Update delivery method

Changed on

Update the delivery method for a subscription contract.

post/customers/{customerId}/subscriptions/{subscriptionId}/delivery-method

Request

Path parameters

customerIdstring required

Customer Id

subscriptionIdstring required

Subscription Id

Request body

localDeliveryOptionsunknown
shippingOptionCodestring required
shippingOptionType'SubscriptionShippingOption' | 'SubscriptionLocalDeliveryOption' | 'SubscriptionPickupOption'

The option's __typename from the same response. Codes repeat across types; without it the first option with that code is used.

draftIdstring required

Response

Updated delivery method

DeliveryMethodstring
DeliveryPriceAmountnumber
FormattedDeliveryPricestring
FormattedSubscriptionTotalstring

Changes