---
title: "List salesorders"
method: GET
path: "/sales-orders"
tags: ["SalesOrders"]
---

# List salesorders

`GET /sales-orders`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/sales-orders`
- Auth: HTTP bearer

## Query parameters

- `search` string
- `page` integer
- `pageSize` integer
- `includeDrafts` boolean
- `open` boolean

## Response `200`

OK

- SalesOrderSearchResponse
  - `content` SalesOrderListItem[]
    - `id` integer
    - `storeid` integer
    - `order_no` integer, nullable
    - `customer_id` integer, nullable
    - `status` 'pending' | 'processing' | 'completed' | 'cancelled'
    - `open` boolean
    - `note` string
    - `draft` boolean
    - `customer` CustomerLink, nullable: The representation of a customer.
      - `id` integer: A unique customer ID
      - `storeid` integer: ID for the store for which the customer is associated
      - `name` string, nullable: The name of the customer.
      - `customerno` string, nullable: The customer-number associated with the customer.
      - `tags` CustomerTag[], nullable: Tags associated with the customer.
        - `title` string, required: The title of the tag
        - `id` integer, nullable: The id of the tag
        - `handle` string, nullable: Unique handle for the produttag. Will be set automatically if not set. This value cannot be changed once set.
        - `color` string, nullable: The color used when displaying the tag in the app
      - `deleted_at` string, nullable: Timestamp for when the last time the customer is deleted.
      - `loyalty_member_since` string, nullable: Datetime of when the customer joined the loyalty club. If null, the customer is not part of the loyalty club
      - `store` object: Name of partner store that customer is registered in. requires scope 'customerlookup'
        - `id` integer: Store id
        - `title` string: Store title
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `missing_quantity` integer, nullable
    - `pospayment_id` integer, nullable
    - `payment` POSPaymentLink, nullable: The representation of a POS sale
      - `id` integer, nullable: A global unique payment id
      - `paymentno` integer, nullable: a sequential autoincremented payment no
      - `date` string, nullable: The date of the payment
      - `sum` number, double, nullable: The sum of the payment materials
  - `meta` PaginationMeta
    - `next_cursor` string, nullable
    - `prev_cursor` string, nullable
    - `current_page` integer
    - `current_page_url` string
    - `from` integer, nullable
    - `last_page` integer
    - `path` string
    - `per_page` integer
    - `to` integer, nullable
    - `total` integer
    - `links` PaginationLink[]
      - `url` string, nullable
      - `label` string
      - `active` boolean
  - `links` PaginationLinks
    - `first` string, nullable
    - `last` string, nullable
    - `prev` string, nullable
    - `next` string, nullable

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
