Ordexs API v1 Get an API key

Money

List orders awaiting payment

GEThttps://api.ordexs.com/v1/cod_orders

Delivered orders the courier hasn't paid for yet, oldest first.

Query parameters

  • limitinteger

    How many objects to return, 1–100. Default 25.

    1–100

  • cursorstring

    The next_cursor from the previous page. Repeat the same filters with it.

    up to 512 characters

  • courierstring

    One courier (as in the balances), or none for orders delivered without one.

    up to 40 characters

Returns

200 OK · A page of orders. CodOrderList

  • objectstringRequired

    always "list"

  • has_morebooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to get the next page. null on the last page.

  • dataarray of objectsRequired
    9 child fields
    • objectstring

      always "cod_order"

    • order_idstring
    • order_numberstring or null
    • courierstring or null
    • tracking_codestring or null
    • customer_namestring or null
    • totalMoney

      An amount of money. amount is a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.

      2 child fields
      • amountstringRequired
      • currencystringRequired
    • payout_idstring or null
    • created_atstring

      ISO 8601 date-time, UTC

Errors

Every error has the same shape. This endpoint can answer with: