Create Order
This endpoint creates a new order.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
This is the ID of the order to be created.
This is the name of the order.
This is the number of the order.
This is the source of the order.
This is the ID of the customer who placed the order.
This is the list of items in the order.
The total amount of the order
This is the payment status of the order. Options: “unpaid”, “pending”, “paid”, “partially_paid”, “failed”
The preferred payment method for this order.
This is the shipping status of the order.
This is additional metadata related to the order.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
The created order object
Notes
- Orders are created with
paymentStatus: "unpaid"by default - To pay for an order after creation, use the Pay Order endpoint
- All monetary amounts should be specified in USDC
- StateSet Commerce Network uses native USDC - no bridging required