Creates or replaces the shipping address.
curl "https://{shortCode}.api.commercecloud.salesforce.com/checkout/orders/v1/organizations/{organizationId}/orders/{orderNo}/shipments/{shipmentId}/shipping-address?siteId=SiteGenesis" \
-X PUT \
-H "content-type: application/json" \
-d '{
"address1": "100 Presidential Way",
"address2": "100 Presidential Way 2",
"city": "Woburn",
"lastName": "Smith",
"title": "Prof. Dr.",
"countryCode": "US",
"phone": "+1 123 456789",
"companyName": "DWRE",
"secondName": "Daniel",
"salutation": "Mr.",
"stateCode": "MA",
"postalCode": "01801",
"firstName": "John",
"jobTitle": "Director",
"c_district": "South End",
"c_floor": 2,
"c_note": "Engineering"
}'
Region-specific merchant identifier.
fd4gt8
An identifier for the organization the request is being made by.
f_ecom_zzxy_prd
The order number.
00000410
ID of the shipment.
me
The identifer of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites
SiteGenesis
{
"address1": "100 Presidential Way",
"address2": "100 Presidential Way 2",
"city": "Woburn",
"lastName": "Smith",
"title": "Prof. Dr.",
"countryCode": "US",
"phone": "+1 123 456789",
"companyName": "DWRE",
"secondName": "Daniel",
"salutation": "Mr.",
"stateCode": "MA",
"postalCode": "01801",
"firstName": "John",
"jobTitle": "Director",
"c_district": "South End",
"c_floor": 2,
"c_note": "Engineering"
}
This type supports additional properties passed along with the defined properties of this API. To indicate that the properties were defined and expected to be handled as additional properties, they are expected to be prefixed with a c_
. The type will reject any property that does not fit this pattern, only allowing additional properties beginning with the known prefix.
c_faxNumber
The first address line.
45 Main Rd.
A two letter uppercase country code conforming to the ISO 3166-1 alpha-2 standard.
US
The suffix.
Sr
The job title.
Software Engineer
The last name.
Mustermann
The full name.
Max Mustermann
The company name.
Salesforce
The title.
Dr
The first name.
Max
The state code.
MA
The post office box.
PO BOX 109
The second name.
The salutation.
Mr
The phone number.
6175555555
The city.
Burlington
The suite.
The second address line.
Apartment 204
The postal code.
05408
The operation was successful, no content is returned.