Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Create Order

Aam Surganda edited this page Mar 29, 2018 · 1 revision

General

  • List of [Order] available status
"submitted"    // Order is submitted, not dispatched yet, No cancel penalty
"confirmed"    // Rider assigned and ready for dispatch
"processed"    // Rider dispatched and order processing
"cancelled"    // Order cancelled by Vendor or any other reason
"completed"    // Order completed

POST /order

Endpoint ini untuk membuat data order baru.

  • Example
https://api.porter/v1/public/order
{
    "data": {
        "id": 190,
        "order_number": "200000081",
        "order_type": "standard",
        "standard_type": "regular",
        "cost_delivery": 32243,
        "order_status": "submitted",
        "created_at": "2018-03-29T11:17:01+07:00"
    },
    "status": "success",
    "total": 1
}

Clone this wiki locally