Finish order - celdotro/marketplace GitHub Wiki

About

Finishes an order

Class

celmarket\Orders\OrdersStatus

Method

finishOrder

API

  • method: orders
  • action: finishOrder

Parameters

  • orders_id = order's ID

Response

An object with the following attributes

  • success = 1 => operation was successfully executed

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Orders/25.finishOrder.php

Example - JSON

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