| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The draft order's ID | |
| status | StatusEnum | The status of the draft order | |
| displayId | String | The draft order's display ID | |
| cartId | String | The ID of the cart associated with the draft order. | |
| cart | Object | A cart object. Available if the relation `cart` is expanded. | [optional] |
| orderId | String | The ID of the order associated with the draft order. | |
| order | Object | An order object. Available if the relation `order` is expanded. | [optional] |
| canceledAt | OffsetDateTime | The date the draft order was canceled at. | |
| completedAt | OffsetDateTime | The date the draft order was completed at. | |
| noNotificationOrder | Boolean | Whether to send the customer notifications regarding order updates. | |
| idempotencyKey | String | Randomly generated key used to continue the completion of the cart associated with the draft order in case of failure. | |
| createdAt | OffsetDateTime | The date with timezone at which the resource was created. | |
| updatedAt | OffsetDateTime | The date with timezone at which the resource was updated. | |
| metadata | Object | An optional key-value map with additional details |
| Name | Value |
|---|---|
| OPEN | "open" |
| COMPLETED | "completed" |