Orders
An Order is created via the checkout endpoint within the Carts API.
The Order Object
The Order object is a representation of an order in Moltin.
Attribute | Type | Description |
|
| The unique identifier for this order |
|
| Represents the type of object being returned. |
|
|
|
|
|
|
|
|
|
|
| The customer object associated with this order |
|
| The customer's name |
|
| The customer's email |
|
| The shipping address object |
|
| The first name of the address holder |
|
| The last name of the address holder |
|
| The phone number of the address holder |
|
| The company name |
|
| First line of the address |
|
| Second line of the address |
|
| City |
|
| Postcode or Zip Code of the address |
|
| County or State of the address |
|
| Country |
| string | Any instructions with the shipping address |
| object | The billing address object |
| string | The first name of the billing address holder |
| string | The last name of the billing address holder |
| string | The billing company name |
| string | First line of the billing address |
| string | Second line of the billing address |
|
| City |
|
| Postcode or Zip Code of the billing address |
|
| Country |
|
| Any instructions with the shipping address |
|
| A collection of URLs related to this resource |
|
| Additional information calculated for this order |
|
| A collection of fields related to the totals and currency of this order |
|
| Tax inclusive totals |
|
| The raw total of this order (inc tax) |
|
| The currency set for this order |
|
| The tax inclusive formatted total based on the currency |
|
| Tax exclusive totals |
|
| The raw total of this cart (ex tax) |
|
| The currency set for this order |
|
| The tax exclusive formatted total based on the currency |
|
| Timestamps for this order |
|
| The creation date of this order |
|
| The last updated date of this order |
|
| A collection of relationships related to this resource |
|
| The order items object |
|
| An array of order items |
|
| Represents the type of object being returned. |
|
| The unique identifier for this order item |
|
| The customer object |
|
| The customer object associated with this order |
|
| Represents the type of object being returned. |
|
| The unique identifier for this customer |
Payments
Once an order is created, it is marked unpaid. See Paying for an order for how you can mark this order as paid.
Last updated