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/2026-04/subscription/{subscriptionId}/shippingMethod

Request

  • Base URL
    https://api.loopsubscriptions.com/admin
  • URL
    https://api.loopsubscriptions.com/admin/2026-04/subscription/{subscriptionId}/shippingMethod
  • Auth
    API key in header X-Loop-Token

Path parameters

subscriptionIdinteger required

ID of the subscription for which shipping method needs to be updated

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

Shipping method for the given subscription is updated

successboolean
messagestring
dataunknown
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Subscription shipping method updated successfully",
  "code": "SUCCESS"
}

Changes

No recorded changes to this operation across all 1 revision of this API.