post
https://www.pelcro.com/api/v1/sdk/address
Add an address for the authenticated customer.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Add an address for the authenticated customer. Returns the updated customer (the new address appears under data.addresses) plus a meta block. Requires a bearer token.
Example: A customer adds a shipping address during checkout; send country and line1 (plus name, city, state, and postal code).
Authentication requiredSend a bearer token as
Authorization: Bearer <token>. Defaultstypetoshippingwhen omitted. See Authentication.
Conditional Requirements
| Condition | Required Fields |
|---|---|
| Always | country, line1 |
AvaTax address validation enabled, and country is US or CA | postal_code |

