Skip to main content
PUT
Update subscription delivery method

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

contractId
integer<int64>
required

Subscription contract ID to update

Required range: x >= 1
delivery-method-title
string
required

Display name of the delivery method. This is what customers see. Ignored if delivery-method-id is provided.

Maximum string length: 255
delivery-method-code
string
required

Internal code for the delivery method. Often same as title. Used for system identification. Ignored if delivery-method-id is provided.

Maximum string length: 255
delivery-method-presentment-title
string
required

Localized version of the title for multi-language stores. Often same as title for single-language stores. Ignored if delivery-method-id is provided.

Maximum string length: 255
delivery-method-id
string

Optional DeliveryMethodDefinition ID (numeric or full GraphQL ID), or a full Market option ID such as gid://shopify/DeliveryFlatRateOptionDefinition/123. Market-driven shops apply a current eligible quote for the selected option. Omit for a custom title/code edit that preserves the current delivery price and enables manual price override.

Response

Delivery method successfully updated