PUT orders/{orderNumber}/update-shipping-method/{shippingMethodId}

Update the shipping method for an order that is not despatched

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderNumber The order number you wish to change the shipping method for integer Required
shippingMethodId The ID of the shipping method you want to assign to the order integer Required

Body Parameters

None.

Response Information

Resource Description

Update the shipping method for an order that is not despatched

OverrideOrderShippingMethodResponse
NameDescriptionTypeAdditional information
OrderNumber The StoreFeeder order number integer None.
ShippingMethodId The ID of the shipping method assigned to the order. integer None.
Success Whether the action was successful boolean None.
Error Any errors that were received Success will always be false if an error is returned. string None.

Response Formats

application/json, text/json

Sample:
{
  "OrderNumber": 1,
  "ShippingMethodId": 2,
  "Success": true,
  "Error": "sample string 4"
}

application/xml, text/xml

Sample:
<OverrideOrderShippingMethodResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <Error>sample string 4</Error>
  <OrderNumber>1</OrderNumber>
  <ShippingMethodId>2</ShippingMethodId>
</OverrideOrderShippingMethodResponse>