Skip to content
On this page

Orders

On this page, you can see all endpoints related to the Seller's orders

Dataset

FieldDescription
idThe unique identifier of the order.
referenceThe order reference.
lead_idThe lead id of the order.
customer_nameThe customer name.
customer_phoneThe customer phone.
customer_cityThe customer city.
customer_areaThe customer area.
customer_country.nameThe customer country name.
customer_country.iso_codeThe customer country iso code.
customer_addressThe customer address.
shipped_atThe shipping datetime.
delivered_atThe delivery datetime.
returned_atThe return datetime.
statusThe current status of order, it can be: new, assigned(order sent to shipping company), shipped, delivered, return, cancel, out_of_stock, pending(shipped), return_on_process.
actionThe order action.
products[].nameThe order's product name.
products[].skuThe order's product sku.
products[].priceThe order's product price.
products[].quantityThe order's product quantity.
from_toThe from/to countries.
tracking_statusThe tracking status.
tracking_numberThe tracking number.
currencyThe price currency.
totalThe total amount.
total_usdThe total USD amount.
total_weightThe total weight.
shipping_feesThe shipping fees.
delivery_feesThe delivery fees.
created_atThe creation datetime.
last_updateThe last update datetime.
pay_modeThe Order pay mode, it can be : Cod, Pre paid.
historyThe history of order status.

Get All orders

Retrieve a list of all orders.

Endpoint

/seller/orders
1

Method GET

Query Parameters

  • sku : Filter orders by their sku items.
  • customer_phone : Filter orders by customer phone.
  • customer_name : Filter orders by customer name.

Request Example

/seller/orders?sku=ABC123&...
1

Response

json
{
  "status": "success",
  "data": [
    {
      "id": "...",
      "reference": "...",
      "lead_id": "...",
      "customer_name": "...",
      "customer_phone": "...",
      "customer_city": "...",
      "customer_area": "... ",
      "customer_country": {
          "name": "...",
          "iso_code": "..."
      },
      "customer_address": "...",
      "shipped_at": "...",
      "delivered_at": "...",
      "returned_at": "...",
      "status": "...",
      "action": "...",
      "products": [
          {
              "name": "...",
              "sku": "...",
              "price": "...",
              "quantity": "..."
          },
          ...
      ],
      "from_to": "...",
      "tracking_status": "...",
      "tracking_number": "...",
      "currency": "...",
      "total": "...",
      "total_usd": "...",
      "total_weight": "...",
      "shipping_fees": "...",
      "delivery_fees": "...",
      "created_at": "...",
      "last_update": "...",
      "pay_mode":"...",
      "history" : [
        {
          "id": ...,
          "status": "...",
          "created_at": ...
        },
        ...
      ]
    },
    ...
  ],
  "meta": {
    "pagination": {...}
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

Show order

Retrieve a order.

Endpoint

/seller/orders/{id}
1

Method GET

Parameters

NameTypeDescriptionRequired
idstringThe unique identifier of the order to retrieve.Yes

Response

json
{
  "status": "success",
  "data": {
    "id": "...",
    "reference": "...",
    "lead_id": "...",
    "customer_name": "...",
    "customer_phone": "...",
    "customer_city": "...",
    "customer_area": "... ",
    "customer_country": {
        "name": "...",
        "iso_code": "..."
    },
    "customer_address": "...",
    "shipped_at": "...",
    "delivered_at": "...",
    "returned_at": "...",
    "status": "...",
    "action": "...",
    "products": [
        {
            "name": "...",
            "sku": "...",
            "price": "...",
            "quantity": "..."
        },
        ...
    ],
    "from_to": "...",
    "tracking_status": "...",
    "tracking_number": "...",
    "currency": "...",
    "total": "...",
    "total_usd": "...",
    "total_weight": "...",
    "shipping_fees": "...",
    "delivery_fees": "...",
    "created_at": "...",
    "last_update": "...",
    "pay_mode":"...",
    "history" : [
      {
        "id": ...,
        "status": "...",
        "created_at": ...
      },
      ...
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

Create order

Create one order.

Endpoint

/seller/orders
1

Method POST

Parameters

NameTypeDescriptionRequired
full_namestringThe customer full nameYes
phonestringThe customer phone numberYes
countrystringThe country ISO code 2 of customerYes
addressstringThe customer addressYes
citystringThe customer cityYes
areastringThe customer areaYes
items[].skustringThe unique code of order's product.Yes
items[].pricefloatThe product priceYes
items[].quantityintegerThe quantity of productYes

Response

201 Created

json
{
  "status": "success",
  "data": {
    "id": "...",
    "reference": "...",
    "lead_id": "...",
    "customer_name": "...",
    "customer_phone": "...",
    "customer_city": "...",
    "customer_area": "... ",
    "customer_country": {
        "name": "...",
        "iso_code": "..."
    },
    "customer_address": "...",
    "shipped_at": "...",
    "delivered_at": "...",
    "returned_at": "...",
    "status": "...",
    "action": "...",
    "products": [
        {
            "name": "...",
            "sku": "...",
            "price": "...",
            "quantity": "..."
        },
        ...
    ],
    "from_to": "...",
    "tracking_status": "...",
    "tracking_number": "...",
    "currency": "...",
    "total": "...",
    "total_usd": "...",
    "total_weight": "...",
    "shipping_fees": "...",
    "delivery_fees": "...",
    "created_at": "...",
    "last_update": "...",
    "pay_mode":"...",
    "history" : [
      {
        "id": ...,
        "status": "...",
        "created_at": ...
      },
      ...
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

Get notified on a order status update

To obtain the latest order status update, kindly navigate to your account settings, access the API developer section, and input your designated webhook callback URL. Ensure that the action is executed using the POST method. Should you encounter any issues or require further assistance, please don't hesitate to reach out to us at [email protected].

Json format

json
{
    "id": "...",
    "reference": "...",
    "lead_id": "...",
    "customer_name": "...",
    "customer_phone": "...",
    "customer_city": "...",
    "customer_area": "... ",
    "customer_country": {
        "name": "...",
        "iso_code": "..."
    },
    "customer_address": "...",
    "shipped_at": "...",
    "delivered_at": "...",
    "returned_at": "...",
    "status": "...",
    "action": "...",
    "products": [
        {
            "name": "...",
            "sku": "...",
            "price": "...",
            "quantity": "..."
        },
        ...
    ],
    "from_to": "...",
    "tracking_status": "...",
    "tracking_number": "...",
    "currency": "...",
    "total": "...",
    "total_usd": "...",
    "total_weight": "...",
    "shipping_fees": "...",
    "delivery_fees": "...",
    "created_at": "...",
    "last_update": "...",
    "pay_mode":"...",
    "history": [
      {
        "id": ...,
        "status": "...",
        "created_at": ...
      },
      ...
     ],
  }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48