Skip to content

Update delivery instructions for a subscription

PUT
/api/subscriptions/{id}/delivery-instructions

Updates the delivery_instructions on the subscription. When update_all_active is true, the same instructions are applied to every active subscription on the same profile and the response is the bulk-update result instead of the single subscription.

id
string
object
delivery_instructions
required
string
nullable <= 1000 characters
update_all_active
boolean

Updated subscription. When update_all_active=true, returns a bulk-update result object instead.

object
data
required
object
number
required
string
id
required
string
status
required
string
Allowed values: ACTIVE PAUSED CANCELLED EXPIRED PAYMENT_FAILED
created_at
string
nullable
updated_at
string
nullable
is_active
required
boolean
account_id
required
string
can_cancel
required
boolean
profile_id
required
string
currency_code
required
string
subtotal
required
number
discount_amount
required
number
total
required
number
delivery_slot_id
string
nullable
shipping_amount
required
number
tax_amount
required
number
delivery_instructions
string
nullable
delivery_address
object
address1
string
city
string
country
string
country_code
string
zip
string
address2
One of:
string
phone
One of:
string
first_name
One of:
string
last_name
One of:
string
company
One of:
string
province
One of:
string
province_code
One of:
string
lines
required
Array<object>
object
shopify_contract_id
number
nullable
billing_interval
required
string
billing_interval_count
required
number
next_billing_date
string
nullable
payment_day_of_week
number
nullable
next_delivery_date
string
nullable
next_production_date
string
nullable
delivery_slot_valid
required
boolean
cancelled_at
string
nullable
cancellation_reason
string
nullable
cancellation_reason_id
string
nullable
paused_at
string
nullable
payment_method_brand
string
nullable
payment_method_last4
string
nullable
current_billing_cycle
required
number
shopify_origin_order_id
string
nullable
delivery_interval
required
string
delivery_interval_count
required
number
migration_source_ref
string
nullable
note
string
nullable
custom_attributes
object
pause_reason
string
nullable
pause_reason_id
string
nullable
discounts
Array<object>
object
id
string
status
string
Allowed values: ACTIVE EXHAUSTED REMOVED
created_at
string
nullable
updated_at
string
nullable
is_active
boolean
discount_code
string
nullable
title
string
value
number
nullable
shopify_discount_id
string
currency_code
string
nullable
target_type
string
Allowed values: ORDER SHIPPING_LINE LINE_ITEM
value_type
One of:
string
nullable
recurring_cycle_limit
number
nullable
applied_at
string
nullable
exhausted_at
string
nullable
removed_at
string
nullable
is_shipping_discount
boolean
discount_label
string
last_order
string
nullable
can_pause
required
boolean
can_resume
required
boolean
can_reactivate
required
boolean
is_in_dunning
required
boolean
can_retry_payment
required
boolean
frequency_label
required
string
entity_label
string
nullable
current_dunning_episode
string
nullable
has_shipping_discount
required
boolean
total_revenue
required
number
profile
One of:
string
delivery_day
One of:
string
delivery_slot
One of:
string
entities
One of:
string