POST
/
v1
/
order

Body

id
string

This is the ID of the order to be created.

name
string

This is the name of the order.

number
string

This is the number of the order.

source
string
required

This is the source of the order.

customerID
string

This is the ID of the customer who placed the order.

items
array

This is the list of items in the order.

totalAmount
string

This is the total amount of the order.

paymentStatus
string

This is the payment status of the order.

shippingStatus
string

This is the shipping status of the order.

metadata
object

This is additional metadata related to the order.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.