Skip to main content
PUT
Update shipping address for subscription contract

Headers

X-API-Key
string

Query Parameters

contractId
integer<int64>
required

Subscription contract ID

api_key
string

API Key (Deprecated - Use Header X-API-Key instead)

Body

application/json

New shipping address details

address1
string

Primary street address

Example:

"123 Main St"

address2
string

Secondary address line (apt, suite, etc.)

Example:

"Apt 4B"

city
string

City name

Example:

"New York"

company
string

Company name

Example:

"Acme Inc"

country
string

Country name

Example:

"United States"

countryCode
string

ISO country code

Example:

"US"

firstName
string

Recipient first name

Example:

"John"

lastName
string

Recipient last name

Example:

"Doe"

phone
string

Contact phone number

Example:

"+1-555-123-4567"

province
string

State or province name

Example:

"New York"

provinceCode
string

State/province code

Example:

"NY"

zip
string

Postal/ZIP code

Example:

"10001"

Response

Shipping address successfully updated

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