v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Orders

Get order transaction by orderIds

To get POS order_transactions of POS orders.

get/orders/transactions

Query parameters

orderIds[]string[] required

Order Ids

[
  "61e531144cb9e5eafe1eb0c1"
]

Response

OK

Example response

{
  "items": [
    {
      "invoice_date": "2022-01-17T09:04:37.314Z",
      "invoice_cancelled_at": "2022-01-19T09:04:37.314Z",
      "created_at": "2022-01-17T09:04:36.877Z",
      "payments": [
        {
          "id": "58d25b9d01cda3475300002d",
          "instructions_translations": {
            "en": "pay cash",
            "zh-hant": "現金付款"
          },
          "name_translations": {
            "en": "Cash",
            "zh-hant": "現金"
          },
          "type": "paypal",
          "amount": {
            "cents": 999999999,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "NT$999,999,999",
            "dollars": 999999999
          }
        }
      ],
      "invoice_number": [
        "VT02500329"
      ],
      "agent": {
        "id": "61ee85739fdc3f16a1b9aa07",
        "email": "cindy@shopline.com",
        "name": "Cindy",
        "phone": "0987654321",
        "is_working": true,
        "channel_ids": [
          "61ee85739fdc3f16a1b9aa07",
          "61ee85739fdc3f16a1b9aa08"
        ]
      },
      "order_number": [
        "20220117090427990"
      ],
      "note": "Note"
    }
  ]
}