| order_id | integer The order ID for the WP EasyCart. Leave blank if adding new or updating your order. |
| order_date | string <date-time> The order date and time in format YYYY-MM-DD HH:MM:SS |
object (OrderStatus) | |
| guest_key | string The unique key for an order to be viewed without having to log into the user account. |
| subscription_id | integer The subscription ID if this connects to a subscription order. |
| viewed | boolean The control if this order has been viewed |
| success_page_shown | boolean This helps prevent double calls of javascript on success page view. |
| weight | number The order status ID |
| promocode | string The coupon code, if used for this order |
| giftcard | string The gift card ID, if used for this order |
| order_notes_admin | string The admin order notes. |
| order_notes_customer | string The customer order notes. |
object (Totals) | |
object (TaxRates) | |
object (Shipping) | |
object (User) | |
object (Payment) | |
object (Gateway) | |
object (QuickbooksOrder) | |
object (Terms) |
{- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}| order_date | string <date-time> The order date and time in format YYYY-MM-DD HH:MM:SS |
object (OrderStatus) | |
| guest_key | string The unique key for an order to be viewed without having to log into the user account. |
| subscription_id | integer The subscription ID if this connects to a subscription order. |
| viewed | boolean The control if this order has been viewed |
| success_page_shown | boolean This helps prevent double calls of javascript on success page view. |
| weight | number The weight of the entire order, typically used for shipping rates. |
| promocode | string The coupon code, if used for this order |
| giftcard | string The gift card ID, if used for this order |
| order_notes_admin | string The admin order notes. |
| order_notes_customer | string The customer order notes. |
object (Totals) | |
object (TaxRates) | |
object (Shipping) | |
object (User) | |
object (Payment) | |
object (Gateway) | |
object (Quickbooks) | |
object (Terms) |
{- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "list_id": "string",
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string",
- "income_account_ref": "string",
- "cogs_account_ref": "string",
- "asset_account_ref": "string",
- "parent_name": "string",
- "parent_list_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}This allows you to get a list of orders
Successful operation
Unauthorized
[- {
- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}
]This allows you to add a new order
Submit any or all elements of an order to add a new order.
Successful operation
Unauthorized
{- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "list_id": "string",
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string",
- "income_account_ref": "string",
- "cogs_account_ref": "string",
- "asset_account_ref": "string",
- "parent_name": "string",
- "parent_list_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}{- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}This allows you to get an order from your store by Order ID
Successful operation
Unauthorized
{- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}This allows you to update an order by Order ID
Submit any or all elements of an order to update the order by ID.
Successful operation
Unauthorized
{- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "list_id": "string",
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string",
- "income_account_ref": "string",
- "cogs_account_ref": "string",
- "asset_account_ref": "string",
- "parent_name": "string",
- "parent_list_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}{- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}This allows you to delete an order from your store by Order ID
Successful operation
Unauthorized
{- "order_id": 0,
- "order_date": "2019-08-24T14:15:22Z",
- "order_status": {
- "status_id": 0,
- "order_status": "string",
- "is_approved": true,
- "is_archieved": true
}, - "guest_key": "string",
- "subscription_id": 0,
- "viewed": true,
- "success_page_shown": true,
- "weight": 0,
- "promocode": "string",
- "giftcard": "string",
- "order_notes_admin": "string",
- "order_notes_customer": "string",
- "totals": {
- "sub_total": 0,
- "tax": 0,
- "vat": 0,
- "gst": 0,
- "hst": 0,
- "pst": 0,
- "duty": 0,
- "shipping": 0,
- "tip": 0,
- "discount": 0,
- "refund": 0,
- "grand_total": 0
}, - "taxrates": {
- "vat_rate": 0,
- "gst_rate": 0,
- "hst_rate": 0,
- "pst_rate": 0
}, - "shipping": {
- "method": "string",
- "carrier": "string",
- "service_code": "string",
- "tracking_number": "string",
- "use_expedited_shipping": true,
- "fraktjakt_order_id": "string",
- "fraktjakt_shipment_id": "string"
}, - "user": {
- "user_id": 0,
- "email": "string",
- "email_other": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "user_level": "string",
- "vat_registration_number": "string",
- "billing_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "shipping_address": {
- "address_id": 0,
- "first_name": "string",
- "last_name": "string",
- "company_name": "string",
- "address_line_1": "string",
- "address_line_2": "string",
- "city": "string",
- "state": "string",
- "zip": "string",
- "country": "string",
- "phone": "string"
}, - "stripe_customer_id": "string",
- "exclude_tax": true,
- "exclude_shipping": true
}, - "payment": {
- "method": "string",
- "card_holder_name": "string",
- "last4": "string",
- "exp_month": 0,
- "exp_year": "string"
}, - "gateway": {
- "gateway": "string",
- "transaction_id": "string",
- "stripe_charge_id": "string",
- "nets_transaction_id": "string",
- "paypal_email_id": "string",
- "paypal_transaction_id": "string",
- "paypal_payer_id": "string"
}, - "quickbooks": {
- "edit_sequence": "string",
- "quickbooks_status": "string",
- "txn_id": "string",
- "payment_txn_id": "string",
- "credit_memo_txn_id": "string"
}, - "terms": {
- "agreed_to_terms": true,
- "order_ip_address": "string"
}
}