Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Latest commit

 

History

History
69 lines (50 loc) · 1.54 KB

File metadata and controls

69 lines (50 loc) · 1.54 KB
title Get Order
api GET /orders/{id}
description Retrieve a specific order from your store by its ID
authMethod key

Overview

The get order endpoint allows you to retrieve detailed information about a specific order in your store using its unique identifier. This endpoint returns the most recent order matching the provided ID.

Authentication

This endpoint requires a valid JWT token in the x-auth-token header. You can find your token in the Developers section:

x-auth-token: your_jwt_token

Path Parameters

The unique identifier (cms_id) of the order you want to retrieve

Response

The response includes the following fields:

The unique identifier (cms_id) of the order The total number of items in the order The total price of the order in decimal format (e.g., "99.99") Indicates if the order has been paid The timestamp when the order was created
{
  "id": "order_12345",
  "number_of_items": 3,
  "total_price": "99.99",
  "paid": true,
  "created_at": "2024-03-20T10:30:00Z"
}
{
  "message": "Order not found"
}