Skip to main content
POST
Change an autoship profile's address

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
subscription_tokens
string[]
required

The member tokens of the profile, as the client last read them.

Minimum array length: 2
address_id
integer
required

A saved address of the authenticated customer.

Response

The profile after the change.

The autoship profile after a profile write, or null when skipping one item leaves fewer than two members together.

profile
object | null
required

The autoship profile this subscription belongs to: the subscriptions that renew as one order and also share a payment method, a plan cadence and a timezone, so they stay together after each shipment. Derived from the subscriptions on every read and never stored.

meta
object
required