Orders

POST BASEURL/order

Headers

Name
Type
Description

Authorization

string

{
    "status": "ok"
}

payload, JSON

{
   "id":101905,
   "ordered_at":"2020-12-02 14:42:29.000000",
   "total_price":350,
   "subtotal_price":300,
   "total_tax":0,
   "taxes_included":0,
   "currency":"EGP",
   "country_code":"CA",
   "financial_status":"processing",
   "total_discounts":0,
   "phone":"01226699662",
   "customer_locale":null,
   "contact_email":"someone@example.com",
   "line_items":[
      {
         "product_id":324,
         "quantity":2,
         "price":50
      }
   ]
}

Last updated