curl --location --request GET 'https://api.stateset.com/api/v1/orders/1' \
--header 'Authorization: Bearer <token>'
{
"id": "string",
"name": "string",
"number": "string",
"source": "string",
"state": "string",
"customerID": "string",
"items": [],
"totalAmount": "string",
"paymentStatus": "string",
"shippingStatus": "string",
"createdAt": "string",
"updatedAt": "string",
"metadata": {}
}
Get Order
This endpoint gets an order.
GET
/
api
/
v1
/
orders
/
{id}
curl --location --request GET 'https://api.stateset.com/api/v1/orders/1' \
--header 'Authorization: Bearer <token>'
{
"id": "string",
"name": "string",
"number": "string",
"source": "string",
"state": "string",
"customerID": "string",
"items": [],
"totalAmount": "string",
"paymentStatus": "string",
"shippingStatus": "string",
"createdAt": "string",
"updatedAt": "string",
"metadata": {}
}
Legacy contract: confirm deployment before use. This page does not establish a
provisioned public service. Check the dated host report and obtain
a supported host and API version. New integrations should begin with the
API directory or local commerce walkthrough.
Path parameters
Response
Errors
Succeeds with200. Failures return 400, 401, 403, 404 or 429 with an error body, per the platform status-code contract.
curl --location --request GET 'https://api.stateset.com/api/v1/orders/1' \
--header 'Authorization: Bearer <token>'
Orders
Orders describes the general data about the orders in StateSet Commerce Network.The order object
Attributes
| Name | Type | Description |
|---|---|---|
| id | Text | Unique identifier for the order |
| name | Text | Name of the order |
| number | Text | Number of the order |
| state | Text | State of the order |
| customerID | Text | Customer ID of the order |
| items | Array | List of items in the order |
| totalAmount | Text | Total amount of the order |
| paymentStatus | Text | Payment status of the order |
| shippingStatus | Text | Shipping status of the order |
| createdAt | DateTime | Creation timestamp of the order |
| updatedAt | DateTime | Last updated timestamp of the order |
| metadata | Object | Additional metadata related to the order |
{
"id": "string",
"name": "string",
"number": "string",
"source": "string",
"state": "string",
"customerID": "string",
"items": [],
"totalAmount": "string",
"paymentStatus": "string",
"shippingStatus": "string",
"createdAt": "string",
"updatedAt": "string",
"metadata": {}
}
Last modified on September 21, 2026