Change Order Shipping Address This API allows editing of an order’s shipping address, as long as the order has not already been shipped.
Version 2.0 Call https://integration.shopatron.com/api/v2/order/action/changeShippingAddress/ Supported Formats JSON HTTP Method POST Schema https://integration.shopatron.com/api/v2/schema/order/action/changeShippingAddress.json
The .json address above can be used to access the schema within Postman. An example use of the Change Shipping Address API follows below, or view the schema or the sample Postman Collection .
Example The example case will make the following address change:
Order ID 543210 Set shipping address to 77887788 As can be seen, the shipping address is a single unique string, not an object specifying each line of the address individually. The address must have been created already, so that the ID has an existing address to point to.
Required Parameters There are only two required parameters for the Change Shipping Address action, and no optional parameters. These necessary properties are:
Parameter Type Description orderID integer A unique identifier for the order. The minimum value is “1”. addressID string A unique identifier for the address, usually an integer. The minimum length is 1.
The Full Request This is the entire request that will edit a shipping address.
{
"orderID": 543210,
"addressID": 77887788
} The returned response follows the same structure as the Get Order API, providing information about the order that was edited.