| id |
Integer |
Unique identifier for the resource. |
[optional] |
| parentId |
Integer |
Parent order ID. |
[optional] |
| number |
String |
Order number. |
[optional] |
| orderKey |
String |
Order key. |
[optional] |
| createdVia |
String |
Shows where the order was created. |
[optional] |
| version |
String |
Version of WooCommerce which last updated the order. |
[optional] |
| status |
StatusEnum |
Order status. |
[optional] |
| currency |
CurrencyEnum |
Currency the order was created with, in ISO format. |
[optional] |
| dateCreated |
OffsetDateTime |
The date the order was created, in the site's timezone. |
[optional] |
| dateCreatedGmt |
OffsetDateTime |
The date the order was created, as GMT. |
[optional] |
| dateModified |
OffsetDateTime |
The date the order was last modified, in the site's timezone. |
[optional] |
| dateModifiedGmt |
OffsetDateTime |
The date the order was last modified, as GMT. |
[optional] |
| discountTotal |
String |
Total discount amount for the order. |
[optional] |
| discountTax |
String |
Total discount tax amount for the order. |
[optional] |
| shippingTotal |
String |
Total shipping amount for the order. |
[optional] |
| shippingTax |
String |
Total shipping tax amount for the order. |
[optional] |
| cartTax |
String |
Sum of line item taxes only. |
[optional] |
| total |
String |
Grand total. |
[optional] |
| totalTax |
String |
Sum of all taxes. |
[optional] |
| pricesIncludeTax |
Boolean |
True the prices included tax during checkout. |
[optional] |
| customerId |
Integer |
User ID who owns the order. 0 for guests. |
[optional] |
| customerIpAddress |
String |
Customer's IP address. |
[optional] |
| customerUserAgent |
String |
User agent of the customer. |
[optional] |
| customerNote |
String |
Note left by customer during checkout. |
[optional] |
| billing |
WooCommerceWcV3OrdersPostRequestBilling |
|
[optional] |
| shipping |
WooCommerceWcV3OrdersPostRequestShipping |
|
[optional] |
| paymentMethod |
String |
Payment method ID. |
[optional] |
| paymentMethodTitle |
String |
Payment method title. |
[optional] |
| transactionId |
String |
Unique transaction ID. |
[optional] |
| datePaid |
OffsetDateTime |
The date the order was paid, in the site's timezone. |
[optional] |
| datePaidGmt |
OffsetDateTime |
The date the order was paid, as GMT. |
[optional] |
| dateCompleted |
OffsetDateTime |
The date the order was completed, in the site's timezone. |
[optional] |
| dateCompletedGmt |
OffsetDateTime |
The date the order was completed, as GMT. |
[optional] |
| cartHash |
String |
MD5 hash of cart items to ensure orders are not modified. |
[optional] |
| metaData |
List<WooCommerceShopCouponMetaDataInner> |
Meta data. |
[optional] |
| lineItems |
List<WooCommerceShopOrderLineItemsInner> |
Line items data. |
[optional] |
| taxLines |
List<WooCommerceShopOrderRefundTaxLinesInner> |
Tax lines data. |
[optional] |
| shippingLines |
List<WooCommerceShopOrderRefundShippingLinesInner> |
Shipping lines data. |
[optional] |
| feeLines |
List<WooCommerceShopOrderRefundFeeLinesInner> |
Fee lines data. |
[optional] |
| couponLines |
List<WooCommerceShopOrderCouponLinesInner> |
Coupons line data. |
[optional] |
| refunds |
List<WooCommerceShopOrderRefundsInner> |
List of refunds. |
[optional] |
| paymentUrl |
String |
Order payment URL. |
[optional] |
| setPaid |
Boolean |
Define if the order is paid. It will set the status to processing and reduce stock items. |
[optional] |
| isEditable |
Boolean |
Whether an order can be edited. |
[optional] |
| needsPayment |
Boolean |
Whether an order needs payment, based on status and order total. |
[optional] |
| needsProcessing |
Boolean |
Whether an order needs processing before it can be completed. |
[optional] |
| manualUpdate |
Boolean |
Set the action as manual so that the order note registers as "added by user". |
[optional] |