---
title: "Return all orders for the account"
method: GET
path: "/api/order/all"
tags: ["Order"]
---

# Return all orders for the account

`GET /api/order/all`

## Query parameters

- `queryOptions.page` integer
- `queryOptions.pageSize` integer

## Headers

- `x-auth-key` string, required
- `x-auth-secret` string, required

## Response `200`

OK

- ListResultOrderDetailsApiModel
  - `TotalCount` integer
  - `Count` integer
  - `Result` OrderDetailsApiModel[]
    - `Id` integer — Order id
    - `Referral` string — Represent the referral for this order
    - `ProductId` integer — Product id
    - `Note` string — Customer note to seller
    - `Name` string — Product alias
    - `Description` string — Product description
    - `CurrencyId` integer — Foreign key Currency
    - `Currency` CurrencyDetailsApiModel
      - `Id` integer — Entity id
      - `Name` string — Name of the country
      - `Value` string — Currency short alpha code
      - `Code` string — Currency short numeric code
      - `Symbol` string — Currency symbol
    - `ShippingAmount` number, double — Cost for shipping the product
    - `ShippingDescription` string — Client instructions for shipping
    - `AccessToken` string — Product short link
    - `WhatHappensNextDescription` string — What happens next description
    - `AfterPaymentDescription` string — After payment description
    - `DiscountAmount` number, double — Discount amount
    - `CouponCode` string — Coupon to apply in order to get the discount
    - `TaxAmount` number, double — Tax amount
    - `SubTotalAmount` number, double — Sub total amount
    - `TotalAmount` number, double — Total amount
    - `TotalWithShipping` number, double — Total amount with shipping
    - `Status` 'PendingPayment' | 'Processing' | 'Shipped' | 'Completed' | 'OnHold' | 'Cancelled' | 'Refunded' | 'Failed' — Order status
    - `OrderShippingDetails` OrderShippingDetailsApiModel
      - `Name` string — Client name
      - `Email` string — Client email
      - `Address` string — Client street and number
      - `CountryId` integer — Client country id
      - `PhoneNumber` string — Client phone number
    - `OrderBillingDetails` OrderBillingDetailsApiModel
      - `Name` string — Client name
      - `Email` string — Client email
      - `Address` string — Client street and number
      - `CountryId` integer — Client country id
      - `PhoneNumber` string — Client phone number
  - `IsFaulted` boolean
  - `ErrorMessages` IErrorInfo[]
    - `Group` string
    - `Code` string
    - `FaultMessage` string
    - `UserVisibleMessage` string

---

[API](https://skmtc.dev/envoice/apis/api-v1-0-0.md) · [All operations](https://skmtc.dev/envoice/apis/api-v1-0-0/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envoice/api-v1-0-0/revisions/e20a9e338d8f/schema)
