Skip to main content
PUT
Update delivery price for a subscription contract

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

contractId
integer<int64>
required

The unique identifier of the subscription contract

deliveryPrice
number<double>
required

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.

Required range: 0 <= x <= 99999.99
api_key
string

Deprecated API Key parameter; use the X-API-Key header instead

Response

Successfully updated delivery price and returned the updated subscription contract

billingAttempts
object
billingPolicy
object
createdAt
object
customAttributes
object[]
customer
object
customerPaymentMethod
object
deliveryMethod
object
deliveryPolicy
object
deliveryPrice
object
discounts
object
get__typename
string
id
string
lastPaymentStatus
enum<string>
Available options:
SUCCEEDED,
FAILED,
$UNKNOWN
lines
object
nextBillingDate
object
note
string
originOrder
object
status
enum<string>
Available options:
ACTIVE,
PAUSED,
CANCELLED,
EXPIRED,
FAILED,
$UNKNOWN
updatedAt
object