put

/carts/{cartId}/shipping-address

Sets the shipping address of the cart identified by {cartId}. If a shipping address is not set, it will default to the billing address.

Request Parameters

1 Path Parameter

Request Body

1 Example
Schema
object
example: {"salutation":"Mrs","gender":"FEMALE","title":"","firstName":"Astrid","middleName":"Agnes","lastName":"Alster","street":"Alsterwasserweg","houseNumber":"2","street2":"Erdgeschoss","doorCode":"0185","addressExtension":"Hinterhof","postalCode":"20999","dependentLocality":"Seevetal","city":"Alsterwasser","country":"DE","state":"Hamburg","email":"a.alsterh@example.com","phone":"(800) 555-0102","mobile":"(800) 555-0103"}
country
string

A two letter country code according to ISO 3166-1. Only officially assigned country codes.

required
lastName
string

The last name of the customer.

2 validations
doorCode
string

The door code of the customer address.

gender
string

The customer’s grammatical gender. Can be FEMALE, MALE, or UNDEFINED.

city
string

The city of the customer address.

2 validations + required
postalCode
string

The zip code of the customer address.

2 validations
mobile
string

The mobile phone number of the customer.

2 validations
houseNumber
string

The house number of the customer address.

2 validations
dependentLocality
string

Additional locality information such as a village or suburb name, giving a more specific location.

2 validations
title
string

The customer’s academic title, e.g. professor, or PhD.

2 validations
firstName
string

The first name of the customer.

2 validations
phone
string

The landline phone number of the customer.

2 validations
street
string

The street of the customer address.

2 validations + required
middleName
string

The middle name of the customer.

2 validations
state
string

The state of the customer address.

2 validations
street2
string

Additional street field of the customer address.

2 validations
salutation
string

The customer’s salutation, e.g. Mr or Mrs.

2 validations
email
string

The email address of the customer.

2 validations + required
addressExtension
string

The address extension of the customer address, e.g. PO box.

2 validations

Responses

1 Example

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
cartId
$$.env
1 variable not set
host