The Lynked Public API is in development. Endpoints will appear here as they go live.

List orders

GET
/orders

Orders of the business from every channel (POS, seller app, online shop, this API), oldest first. See the Pagination guide.

Query parameters

  • limitinteger

    How many items one page holds at most.

    min 1 · max 100 · default 20

  • cursorstring

    next_cursor of the previous page; omit it for the first page. See the Pagination guide.

Responses

Success
  • 200 OKOrderPage

    One page of orders.

    2 fields
    • itemsarray of Order
      16 fields
      • idinteger

        The order id.

      • external_order_idstring | null

        The order id in your system (or in the POS the order came from).

        • in_progress: discounts are calculated; the order waits to be completed or canceled.
        • completed: rewards are applied.
        • canceled: the order was canceled before completion.

        One of "in_progress""completed""canceled"

      • channelstring

        Where the order came from. public_api for orders created through this API; other values name a POS or the seller app.

      • seller_idinteger

        The seller the order was made at. See List sellers.

      • location_idinteger

        The location of the seller.

      • customer_idinteger

        The customer the barcode belongs to.

      • is_staff_orderboolean

        true when the barcode was a staff barcode, so the staff discount applies.

      • currencyCurrency

        The business currency. Amounts in Rewards and Orders are in this currency.

        One of 123

      • totalnumber

        Order total before Lynked discounts.

      • discountnumber

        Lynked discount on the order as a whole (for example a value voucher). It is separate from the line discounts in items[].discount: it does not include them and is not split over the lines.

      • discount_reasonsarray of DiscountReason

        What makes up the order's discount. Line discounts have their own reasons in items[].discount_reasons.

        3 fields
        • What gave a discount. New values may be added; treat an unknown one as a generic discount.

          One of "voucher""stamp_voucher""stamp_voucher_extra""time_limited_voucher""product_discount_for_all""product_discount_group""multi_buy_discount""customer_condition""staff_member_discount""staff_rule_discount""staff_conditions""staff_supply_price_discount""staff_cash_discount""staff_percentage_scanned_by_seller""undefined"

        • amountnumber

          The amount of this discount.

        • descriptionstring

          A short text about the discount, as the dashboard shows it.

      • itemsarray of OrderItem
        10 fields
        • idinteger

          The line id in Lynked.

        • external_item_idstring | null

          The line id in your system. null for some orders that came from a POS.

        • skustring
        • categorystring

          Category path, levels separated by /.

        • product_namestring
        • quantitynumber
        • totalnumber

          Line total before Lynked discounts.

        • discountnumber

          Lynked discount on this line only (for example a stamp voucher or a product discount). The order's discount is separate and not included here.

        • discount_reasonsarray of DiscountReason

          What makes up this line's discount.

          3 fields
          • What gave a discount. New values may be added; treat an unknown one as a generic discount.

            One of "voucher""stamp_voucher""stamp_voucher_extra""time_limited_voucher""product_discount_for_all""product_discount_group""multi_buy_discount""customer_condition""staff_member_discount""staff_rule_discount""staff_conditions""staff_supply_price_discount""staff_cash_discount""staff_percentage_scanned_by_seller""undefined"

          • amountnumber

            The amount of this discount.

          • descriptionstring

            A short text about the discount, as the dashboard shows it.

        • rewardsarray of OrderReward

          Rewards this line gave the customer; empty until the order is completed.

          3 fields
          • What the reward is. New values may be added; treat an unknown one as a generic reward.

            One of "points""point_scale_by_option""point_by_pos_rule""stamp""stamp_by_pos_rule""first_check_in""voucher""bonus_voucher""stamp_voucher""time_limited_voucher""stamp_by_sku"

          • valuenumber

            How much of the reward was given — points, stamps, or the value of a voucher; see type.

          • descriptionstring

            A short text about the reward, as the dashboard shows it.

      • rewardsarray of OrderReward

        Rewards the order as a whole gave the customer; empty until the order is completed. Rewards of a line are in items[].rewards and are not repeated here.

        3 fields
        • What the reward is. New values may be added; treat an unknown one as a generic reward.

          One of "points""point_scale_by_option""point_by_pos_rule""stamp""stamp_by_pos_rule""first_check_in""voucher""bonus_voucher""stamp_voucher""time_limited_voucher""stamp_by_sku"

        • valuenumber

          How much of the reward was given — points, stamps, or the value of a voucher; see type.

        • descriptionstring

          A short text about the reward, as the dashboard shows it.

      • created_atstring · date-time
      • updated_atstring · date-time
    • next_cursorstring | null

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

Errors
  • 401 UnauthorizedError

    The API key is missing, invalid or revoked.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 403 ForbiddenError

    The Public API is disabled for this business.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 422 Unprocessable EntityValidationError

    The request is invalid; errors lists the problems per field.

    4 fields
    • messagestring

      All problems in one line.

    • errorsobject

      Request field path → its problems.

    • error_codestring

      undefined for validation errors for now; see Errors for the list of codes.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 429 Too Many RequestsRateLimitError

    More than 120 requests per minute for this business.

    Headers
    • Retry-Afterinteger

      Seconds to wait before the next request.

    4 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

    • retry_afterinteger

      Seconds to wait before the next request; the same value as the Retry-After header.

  • 500 Internal Server ErrorError

    Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the error_uid.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

Request
curl 'https://api.lynked.ie/api/public/v1/orders' \
  -H 'Authorization: Bearer lk_live_...'
Response 200 OK
HTTP/3 200 OK
Content-Type: application/json
Body
{
  "items": [
    {
      "id": 58213,
      "external_order_id": "WEB-1001",
      "status": "in_progress",
      "channel": "public_api",
      "seller_id": 311,
      "location_id": 27,
      "customer_id": 1042,
      "is_staff_order": true,
      "currency": 2,
      "total": 7.6,
      "discount": 5,
      "discount_reasons": [
        {
          "type": "voucher",
          "amount": 5,
          "description": "Value voucher discount applied €5"
        }
      ],
      "items": [
        {
          "id": 91234,
          "external_item_id": "line-1",
          "sku": "LATTE-12",
          "category": "Drinks/Coffee",
          "product_name": "Latte",
          "quantity": 2,
          "total": 7.6,
          "discount": 3.8,
          "discount_reasons": [
            {
              "type": "stamp_voucher",
              "amount": 3.8,
              "description": "Stamp Voucher(Coffee)"
            }
          ],
          "rewards": [
            {
              "type": "points",
              "value": 4,
              "description": "Points earned"
            },
            {
              "type": "stamp_by_pos_rule",
              "value": 2,
              "description": "Stamps for Coffee"
            }
          ]
        }
      ],
      "rewards": [
        {
          "type": "first_check_in",
          "value": 10,
          "description": "First check-in reward"
        }
      ],
      "created_at": "2026-11-30T10:00:00+00:00",
      "updated_at": "2026-11-30T10:05:00+00:00"
    }
  ],
  "next_cursor": "string"
}