Confirmare comanda - celdotro/marketplace GitHub Wiki

Despre

  • Confirma o comanda existenta

Clasa

celmarket\Orders\OrdersStatus

Metoda

confirmOrder

API

  • metoda: orders
  • actiune: confirmOrder

Parametri

  • order = id-ul comenzii

Raspuns

Un obiect cu urmatoarele atribute

  • success = 1 -> confirmarea a fost efectuata cu succes

Exemplu - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Orders/9.confirmOrder.php

Example - JSON

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