Update shipping address for subscription contract
Changes the delivery shipping address for a subscription contract. This allows customers to update where their subscription orders are delivered.
Full behavior, validation rules, and side effects
Key Features:
- Full Address Update: Change complete shipping address in one call
- Address Validation: System validates address format and country codes
- Immediate Effect: New address applies to the next delivery
- Activity Logging: All address changes are logged for audit trail
- International Support: Supports addresses in all countries
Required Address Fields:
- firstName: Recipient’s first name
- lastName: Recipient’s last name
- address1: Street address line 1
- city: City name
- countryCode: ISO 3166-1 alpha-2 country code (e.g., US, CA, GB)
- zip: Postal/ZIP code
Optional Address Fields:
- address2: Apartment, suite, unit number
- company: Company name (for business addresses)
- phone: Contact phone number
- provinceCode: State/province code (e.g., CA, NY, ON)
Common Use Cases:
- Customer Moved: Update address after relocation
- Temporary Address: Ship to vacation home or temporary location
- Gift Recipient: Change recipient for gift subscriptions
- Correct Typos: Fix address errors from initial signup
- Business to Home: Switch between business and residential addresses
- Seasonal Address: Update for snowbird/seasonal residents
Country and Province Codes:
- countryCode: Use ISO 3166-1 alpha-2 codes
- Examples: US (United States), CA (Canada), GB (United Kingdom), AU (Australia)
- provinceCode: Use ISO 3166-2 subdivision codes
- US Examples: CA (California), NY (New York), TX (Texas)
- Canada Examples: ON (Ontario), BC (British Columbia), QC (Quebec)
Address Validation:
- Format Validation: System checks required fields are present
- Country Validation: Verifies country code is valid
- Province Validation: Checks province code matches country
- Postal Code: Validates postal code format for country
Important Notes:
- Shipping Rate Recalculation: New address may have different shipping costs
- Delivery Method: System automatically selects appropriate delivery method
- Next Order Only: Only affects future orders, not orders already placed
- Address Book: Consider updating customer’s default address separately
- PO Boxes: Some delivery methods may not support PO Box addresses
Shipping Cost Impact:
- Changing address may change shipping costs for future deliveries
- International addresses typically have higher shipping costs
- Remote/rural areas may have additional delivery fees
- Consider notifying customer of cost changes
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Query Parameters
Subscription contract ID
API Key (Deprecated - Use Header X-API-Key instead)
Body
New shipping address details
Primary street address
"123 Main St"
Secondary address line (apt, suite, etc.)
"Apt 4B"
City name
"New York"
Recipient first name
"John"
Recipient last name
"Doe"
Contact phone number
"+1-555-123-4567"
State or province name
"New York"
Postal/ZIP code
"10001"
Country name
"United States"
ISO country code
"US"
State/province code
"NY"
Company name
"Acme Inc"
Response
Shipping address successfully updated
ACTIVE, PAUSED, CANCELLED, EXPIRED, FAILED, $UNKNOWN SUCCEEDED, FAILED, $UNKNOWN