shopping-cartOrders

Orders

Experimental

Create order

post

Creates a new order with line items. Requires 'Idempotency-Key' header.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

AWS Cognito JWT token. Include as 'Authorization: Bearer {token}' header.

x-api-keystringRequired

API Gateway API key. Include as 'x-api-key: {key}' header.

Header parameters
Idempotency-Keystring · uuidRequired

Unique identifier for idempotency. If the same request is retried with the same key, the original response is returned.

Example: 550e8400-e29b-41d4-a716-446655440000
Body

Request payload for creating a new order.

requesterIdinteger · int64 · min: 1 · max: 99999999Required

Customer number placing the order.

userIdinteger · int64 · min: 1 · max: 99999999Required

User ID of the person creating the order.

facilityIdinteger · int64 · min: 1 · max: 99999999Required

Facility ID from customer profile.

shippingAddressIdinteger · int64 · min: 1 · max: 99999999Required

Shipping address ID from customer profile.

billingAddressIdinteger · int64 · min: 1 · max: 99999999Required

Billing address ID from customer profile.

shippingMethodstring · min: 1Required

Shipping method for the order.

useShippingAccountbooleanOptional

Indicates whether to use the customer's shipping account.

notesstring · max: 200 · nullableOptional

Special instructions or notes for the order.

Responses
chevron-right
200

Order created.

application/json
post
/orders
Experimental

Get order

get

Gets current status and details for an order.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

AWS Cognito JWT token. Include as 'Authorization: Bearer {token}' header.

x-api-keystringRequired

API Gateway API key. Include as 'x-api-key: {key}' header.

Path parameters
orderIdinteger · int64Required
Responses
chevron-right
200

Order details.

application/json
get
/orders/{orderId}

Last updated