Order placement API (0.1.0)
Download OpenAPI specification:Download
Beta - self-checkout / Associate App slice. Use this API to place orders for processing in the NewStore platform. A successful response means the order has been accepted; payment capture, receipt generation, and downstream processing complete asynchronously.
Place an order
Place an order for processing in the NewStore platform. A successful response means the order has been accepted; payment capture, receipt generation, and downstream processing complete asynchronously.
Authorizations:
header Parameters
| idempotency-key required | string (Idempotency-Key) [ 1 .. 256 ] characters Caller-provided key used to make order placement safe to retry. |
| x-newstore-request-id | string <= 255 characters Example: 2a0295b0-50a8-459c-82cd-5079d3f35bfb Optional caller-provided request correlation identifier. Generated by the service when omitted. |
Request Body schema: application/json
The order to place.
| external_id | string or null (External Id) [ 1 .. 64 ] characters .*\S.* Caller-supplied external identifier for correlation and external lookup. Must be unique per tenant when supplied. The order number is generated by the system. |
| checkout_id | string or null (Checkout Id) [ 1 .. 64 ] characters Associated checkout ID for reconciliation. |
required | object (Channel) Describes the origin of the order. |
required | object (Catalog) The catalogue and locale used to resolve the order's items. |
required | object (Pricing) Currency and tax treatment for all prices in the payload. |
required | Array of objects (Line Items) [ 1 .. 100 ] items |
required | Array of objects (Fulfillments) [ 1 .. 10 ] items |
required | object (Payment) The payments attached to an order. |
Responses
Request samples
- Payload
{- "external_id": "client-order-000123",
- "channel": {
- "name": "self_checkout",
- "type": "STORE",
- "store_id": "store-01",
- "associate_id": "associate-01"
}, - "catalog": {
- "name": "storefront-catalog-en",
- "locale": "en-US"
}, - "pricing": {
- "currency": "USD",
- "method": "TAX_INCLUDED"
}, - "line_items": [
- {
- "line_item_id": "item-1",
- "product_id": "SKU-123",
- "unit_external_id": "ext-item-1",
- "price": {
- "list_price": 1999,
- "price": 1999
}
}
], - "fulfillments": [
- {
- "line_item_ids": [
- "item-1"
], - "fulfillment_option": {
- "service_level_identifier": "IN_STORE_HANDOVER",
- "price": 0,
- "tax": 0
}
}
], - "payment": {
- "instruments": [
- {
- "payment_method": "card",
- "amount": 1999,
- "currency": "USD",
- "payment_provider": "newstore",
- "status": "CAPTURED",
- "processed_at": "2026-06-05T12:00:00Z",
- "card": {
- "origin": "terminal",
- "reference": "pi_3abc",
- "card_brand": "Visa",
- "card_last4": "4242"
}
}
]
}
}Response samples
- 201
- 400
- 401
- 409
- 429
- 500
- 503
- default
{- "id": "2a0295b0-50a8-459c-82cd-5079d3f35bfb",
- "order_number": "ORD0000123456",
- "external_id": "client-order-000123",
- "items": [
- {
- "product_id": "SKU-123",
- "external_item_id": "ext-item-1",
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}
]
}