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 Shopify DeliveryMethodDefinition ID. When provided, automatically fetches and applies the delivery method's title, code, presentment title, and price. Can be numeric ID or full GraphQL ID (gid://shopify/DeliveryMethodDefinition/123).

Response

Delivery method successfully updated