Skip to main content
PUT
/
api
/
external
/
v2
/
subscription-contracts-update-delivery-method
Update subscription delivery method
curl --request PUT \
  --url https://subscription-admin.appstle.com/api/external/v2/subscription-contracts-update-delivery-method \
  --header 'X-API-Key: <x-api-key>'

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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