Set the custom payment day for a subscription
PUT /api/subscriptions/{id}/payment-day
PUT
/api/subscriptions/{id}/payment-day
Sets the day of week (0=Sunday..6=Saturday) the subscription should bill on. This takes priority over the delivery configuration when deriving the billing date from the delivery date. Pass null to clear the override and fall back to the delivery configuration. Only applies to delivery-enabled accounts.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
string
Request Body
Section titled “Request Body ”object
payment_day_of_week
required
number
Responses
Section titled “ Responses ”object
data
required
object
number
required
string
id
required
string
status
required
string
created_at
string
updated_at
string
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
shipping_amount
required
number
tax_amount
required
number
delivery_instructions
string
delivery_address
object
address1
string
city
string
country
string
country_code
string
zip
string
lines
required
Array<object>
object
shopify_contract_id
number
billing_interval
required
string
billing_interval_count
required
number
next_billing_date
string
payment_day_of_week
number
next_delivery_date
string
next_production_date
string
delivery_slot_valid
required
boolean
cancelled_at
string
cancellation_reason
string
cancellation_reason_id
string
paused_at
string
payment_method_brand
string
payment_method_last4
string
current_billing_cycle
required
number
shopify_origin_order_id
string
delivery_interval
required
string
delivery_interval_count
required
number
migration_source_ref
string
note
string
custom_attributes
object
pause_reason
string
pause_reason_id
string
discounts
Array<object>
object
id
string
status
string
created_at
string
updated_at
string
is_active
boolean
discount_code
string
title
string
value
number
shopify_discount_id
string
currency_code
string
target_type
string
recurring_cycle_limit
number
applied_at
string
exhausted_at
string
removed_at
string
is_shipping_discount
boolean
discount_label
string
last_order
string
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
current_dunning_episode
string
has_shipping_discount
required
boolean
total_revenue
required
number
profile
One of:
string
object
id
string
timezone
string
address1
string
address2
string
city
string
region
string
country
string
postal_code
string
created_at
string
updated_at
string
full_address
string
email
string
external_id
string
first_name
string
last_name
string
full_name
string
phone_number
string
shopify_customer_id
string
delivery_day
One of:
string
string
object
id
string
created_at
string
updated_at
string
is_active
boolean
courier_lead_time_days
number
day_of_week
number
day_name
string
packing_day_of_week
number
billing_day_of_week
number
delivery_configuration_id
string
packing_day_name
string
billing_day_name
string
delivery_slot
entities
One of:
string
Array<object>
object
id
string
name
string
created_at
string
updated_at
string
is_active
boolean
account_id
string
profile_id
string
image_url
string
wizard_id
string
entity_type
string
attributes
string