---
title: "Get an order"
method: GET
path: "/orders/{orderId}"
---

# Get an order

`GET /orders/{orderId}`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/orders/{orderId}`
- Auth: API key in header `X-Publisher-Token`

To get an order, you use publisher token and order id. Orders expire after 24 hours unless the payment is captured.

## Path parameters

- `orderId` string, required

## Headers

- `Content-Type` string

## Response `200`

200

- object
  - `success` boolean
  - `order` object
    - `id` integer
    - `customerId` integer
    - `customer` object
      - `locale` string
      - `email` string
    - `publisherId` integer
    - `offerId` string
    - `offer` object
      - `title` string
      - `description` unknown
      - `price` number
      - `currency` string
    - `totalPrice` number
    - `priceBreakdown` object
      - `offerPrice` number
      - `discountAmount` number
      - `discountedPrice` number
      - `taxValue` number
      - `customerServiceFee` integer
      - `paymentMethodFee` number
    - `taxRate` number
    - `taxBreakdown` unknown
    - `currency` string
    - `country` string
    - `paymentMethodId` integer
    - `expirationDate` integer
    - `billingAddress` object
      - `billingStreetName` string
      - `billingStreetNumber` string
      - `billingPostalCode` string
    - `couponId` integer
    - `discount` object
      - `applied` boolean
      - `type` string
      - `periods` integer
    - `requiredPaymentDetails` boolean
    - `buyAsAGift` boolean
    - `deliveryDetails` unknown
  - `message` string

---

[API](https://skmtc.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
