Updates the fixed delivery price for all future orders in a subscription contract. This allows manual override of calculated shipping rates with a custom delivery fee.
Key Features:
How Delivery Pricing Works:
Common Use Cases:
Impact on Orders:
Price Validation:
Side Effects:
Reverting to Calculated Rates: To restore dynamic shipping calculations:
Important Notes:
Authentication: Requires valid X-API-Key header
curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-contracts-update-delivery-price \
--header 'X-API-Key: <x-api-key>'{
"id": "gid://shopify/SubscriptionContract/123456789",
"status": "ACTIVE",
"nextBillingDate": "2024-04-01T00:00:00Z",
"customer": {
"id": "gid://shopify/Customer/987654321",
"email": "customer@example.com",
"displayName": "John Doe"
},
"deliveryPrice": {
"amount": "9.99",
"currencyCode": "USD"
},
"deliveryMethod": {
"__typename": "SubscriptionDeliveryMethodShipping",
"shippingOption": {
"title": "Standard Shipping",
"code": "STANDARD",
"presentmentTitle": "Standard Shipping (5-7 days)"
}
},
"lines": {
"edges": [
{
"node": {
"id": "gid://shopify/SubscriptionLine/111111",
"quantity": 1,
"variantId": "gid://shopify/ProductVariant/42549172011164",
"title": "Monthly Subscription Box",
"currentPrice": {
"amount": "39.99",
"currencyCode": "USD"
}
}
}
]
},
"totalPrice": {
"amount": "49.98",
"currencyCode": "USD"
}
}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.
API Key for authentication
The unique identifier of the subscription contract
New delivery price to be applied to the subscription contract. This is a fixed price that overrides any calculated shipping rates. Set to 0 for free delivery. Price must be in the shop's base currency.
0 <= x <= 99999.99Deprecated API Key parameter; use the X-API-Key header instead
Successfully updated delivery price and returned the updated subscription contract
ACTIVE, PAUSED, CANCELLED, EXPIRED, FAILED, $UNKNOWN Show child attributes
SUCCEEDED, FAILED, $UNKNOWN Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-contracts-update-delivery-price \
--header 'X-API-Key: <x-api-key>'{
"id": "gid://shopify/SubscriptionContract/123456789",
"status": "ACTIVE",
"nextBillingDate": "2024-04-01T00:00:00Z",
"customer": {
"id": "gid://shopify/Customer/987654321",
"email": "customer@example.com",
"displayName": "John Doe"
},
"deliveryPrice": {
"amount": "9.99",
"currencyCode": "USD"
},
"deliveryMethod": {
"__typename": "SubscriptionDeliveryMethodShipping",
"shippingOption": {
"title": "Standard Shipping",
"code": "STANDARD",
"presentmentTitle": "Standard Shipping (5-7 days)"
}
},
"lines": {
"edges": [
{
"node": {
"id": "gid://shopify/SubscriptionLine/111111",
"quantity": 1,
"variantId": "gid://shopify/ProductVariant/42549172011164",
"title": "Monthly Subscription Box",
"currentPrice": {
"amount": "39.99",
"currencyCode": "USD"
}
}
}
]
},
"totalPrice": {
"amount": "49.98",
"currencyCode": "USD"
}
}