Skip to main content
POST

Body

string
This is the ID of the order to be created.
string
This is the name of the order.
string
This is the number of the order.
string
required
This is the source of the order.
string
This is the ID of the customer who placed the order.
array
This is the list of items in the order.
object
The total amount of the order
string
This is the payment status of the order. Options: “unpaid”, “pending”, “paid”, “partially_paid”, “failed”
object
The preferred payment method for this order.
string
This is the shipping status of the order.
object
This is additional metadata related to the order.

Response

number
Indicates whether the call was successful. 1 if successful, 0 if not.
object
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