These docs are for v1.38.0. Click to read the latest docs for v1.39.0.

v1.36.0 (Deprecated)

New Endpoints

  • stores/STORE_KEY/orders/ORDER_NUMBER/refund
  • Used for Order Full Refund/Cancellation
  • HTTP POST
{ 
   "processAsStoreCredit": false,
   "totalRefundAmount": 24.92,
   "refundOrigin": 1,
   "refundReason": "General - Cancellation",
   "message": "Do not want",
   "visitorSessionId": "this-is-my-guid-7",
   "inventoryChanges": true,
   "refundProducts": [ 
      { 
         "skuId":4052604,
         "addToInventoryQuantity":1,
         "productName":"Prismatic Vista",
         "price":24.92,
         "quantity":1
      }
   ]
}