Create or replace shipping address
Changed onCreate or replace a shipping address for physical goods that require one on an opportunity. There is one shipping address per opportunity.
Required: Accept-Language header with Locale format. For example: en-US
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Opportunity ID
Request body
Example request
{
"sameAsBillingAddress": false,
"deliveryAddress": {
"name": "John Smith",
"city": "Greenbow",
"addressLine1": "Main Street 446",
"countryCode": "US",
"subdivisionCode": "AL",
"postalCode": "50505"
}
}Response
Shipping address created or replaced successfully
Example response
{
"sameAsBillingAddress": false,
"deliveryAddress": {
"name": "John Smith",
"city": "Greenbow",
"addressLine1": "Main Street 446",
"countryCode": "US",
"subdivisionCode": "AL",
"postalCode": "50505"
}
}Changes
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking