Skip to content

Set billing address

POST
/store/v1/carts/{cartId}/billing-address
curl --request POST \
--url https://your-store.example.com/store/v1/carts/example/billing-address \
--header 'Content-Type: application/json' \
--data '{ "name": "Marie Dupont", "company": "Acme Inc.", "line1": "12 Rue de Rivoli", "line2": "Apartment 3", "city": "Paris", "postalCode": "75001", "region": "Île-de-France", "country": "FR", "phone": "+33 1 2345 6789" }'
cartId
required
string
Media type application/json
object
name
required

Full name of the recipient

string
>= 1 characters <= 255 characters
Example
Marie Dupont
company
Any of:
string
>= 1 characters <= 255 characters
line1
required

Street address (first line)

string
>= 1 characters <= 512 characters
Example
12 Rue de Rivoli
line2
Any of:
string
>= 1 characters <= 512 characters
city
required

City name

string
>= 1 characters <= 255 characters
Example
Paris
postalCode
required

Postal code

string
>= 1 characters <= 32 characters
Example
75001
region
Any of:
string
>= 1 characters <= 255 characters
country
required

Country code (ISO 3166-1 alpha-2, two uppercase letters)

string
/^[A-Za-z]{2}$/
Example
FR
phone
Any of:
string
>= 1 characters <= 64 characters