UpdateOrder

Usage
Update an order information
Basic URI
/DesktopModules/RazorCart/Services/v1/Orders/{id}
Parameters
int id               The order Id
Data
order               The order object
AUTH
Bearer JWT
Required Scope(s)
orders, edit
 
Request
PUT https://domain.com/DesktopModules/RazorCart/Services/v1/Orders/122 HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json

{"ShipAddress1":"2903 Duck Creek Road","ShipCity":"San Francisco","ShipState":"CA","ShipZipcode":"94143","ShipCountry":"US"}
 
Response
{
  "OrderID" : 122,
  "CustomerID" : 2,
  "OrderDate" : "2017-02-01T19:36:00",
  "PayHistID" : 0,
  "ShippingTotal" : 3.90,
  "TaxTotal" : 2.98,
  "HandlingCharge" : 2.00,
  "ShipFirstName" : "Lisa",
  "ShipLastName" : "Troy",
  "ShipAddress1" : "2903 Duck Creek Roa",
  "ShipAddress2" : null,
  "ShipCity" : "San Francisco",
  "ShipState" : "CA",
  "ShipZipcode" : "94143",
  "ShipCountry" : "US",
  "Status" : "Shipped",
  "ShipMethod" : "FEDEX_EXPRESS_SAVER",
  "AffiliateId" : null,
  "CouponId" : 0,
  "Discount" : 0.0,
  "MemberDiscount" : 0.0,
  "TrackingNumber" : null,
  "PortalID" : 0,
  "Surcharge" : 0.10,
  "SpecialInstructions" : null,
  "ShipDate" : "2017-02-03T15:00:00",
  "ShipCarrier" : "Fedex",
  "ResidentialStatus" : null,
  "AuctionID" : 0,
  "SubTotal" : 3.99,
  "GrandTotal" : 34.84,
  "RecalcTax" : false,
  "RecalcShipping" : false,
  "StoreID" : 1,
  "PayTotal" : 0.0,
  "CouponCode" : null
}

Add Feedback