v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Update shipping method

This endpoint allows you to modify the details of an existing shipping method. You can update the delivery price, the title of the delivery method, and the unique code associated with the delivery method.

put/2023-10/subscription/{subscriptionId}/shippingMethod

Path parameters

subscriptionIdinteger required

Request body

deliveryPriceinteger required

The cost associated with this shipping method. This value should be updated if there are any changes in the shipping rates.

deliveryMethodTitlestring

The name or title of the shipping method.

deliveryMethodCodestring

A unique identifier or code for the shipping method. This code is used internally to distinguish between different shipping methods or used via shipping apps and should be updated carefully to avoid conflicts with other methods.

Response

200

object required