Skip to main content

The Order object

Props

id
integer
Unique ID of order, generated by Mangrove
order_status
string
Status of the order (e.g., COMPLETE, PENDING)
customer
string
Name of the customer placing the order
reference
string
Order reference number (e.g., A1234567890)
deal_date
string
Date when the deal was made
expiry_date
string|null
Expiry date of the order, or null if not set
currency
string
Currency code for the order (e.g., USD)
order_terms
string
Payment terms for the order (e.g., Pay on delivery)
delivery_method
string
Method of delivery (e.g., RETIREMENT)
deliveries
object[]
Array of delivery objects associated with the order
created_at
string
Timestamp when the order was created
updated_at
string
Timestamp when the order was last updated