Orders
Create Order
This endpoint creates a new order.
POST
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.
This is the total amount of the order in USDC.
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 with all details including payment information.
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