AppResellerOpportunities

Create or replace shipping address

Changed on

Create 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

post/assistedSales/v1/opportunities/{opportunityId}/shipping

Request

Path parameters

opportunityIdstring required

Opportunity ID

Request body

sameAsBillingAddressboolean

Whether customer requests to use billing address as shipping address. WARNING: Does not manage addresses; does not change shipping address to billing address, nor update shipping address if billing address changes.

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

sameAsBillingAddressboolean

Whether customer requests to use billing address as shipping address. WARNING: Does not manage addresses; does not change shipping address to billing address, nor update shipping address if billing address changes.

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 object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for 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