Order cancellation - celdotro/marketplace GitHub Wiki

About

  • Order cancellation and reversal with a minus order

Class

celmarket\Orders\OrdersStatus

Method

stornareComanda

API

  • method: orders
  • action: stornareComanda

Parameters

  • orders_id = order's ID
  • reason = cancellation's reason

Response

An object with the following attributes

  • orders_id = minus order's ID

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Orders/18.stornareComanda.php

Example - JSON

{
  "request": {
   "orders_id": 1,
   "reason": "X" 
  },
  
  "response": {
    "orders_id": 1
  }
}
⚠️ **GitHub.com Fallback** ⚠️