| Name | Type | Description | Notes |
|---|---|---|---|
| affiliates | Array<OrderAffiliate> | Affiliates if any were associated with the order. The first one in the array sent the order and each subsequent affiliate is the recruiter that earns a downline commission. | [optional] |
| auto_order | OrderAutoOrder | [optional] | |
| billing | OrderBilling | [optional] | |
| buysafe | OrderBuysafe | [optional] | |
| channel_partner | OrderChannelPartner | [optional] | |
| checkout | OrderCheckout | [optional] | |
| coupons | Array<OrderCoupon> | Coupons | [optional] |
| creation_dts | String | Date/time that the order was created | [optional] |
| currency_code | String | Currency code that the customer used if different than the merchant's base currency code | [optional] |
| current_stage | String | Current stage that the order is in. | [optional] |
| current_stage_histories | Array<OrderCurrentStageHistory> | History of the changes to the current_stage field | [optional] |
| customer_profile | Customer | [optional] | |
| digital_order | OrderDigitalOrder | [optional] | |
| edi | OrderEdi | [optional] | |
| exchange_rate | Float | Exchange rate at the time the order was placed if currency code is different than the base currency | [optional] |
| fraud_score | OrderFraudScore | [optional] | |
| gift | OrderGift | [optional] | |
| gift_certificate | OrderGiftCertificate | [optional] | |
| internal | OrderInternal | [optional] | |
| items | Array<OrderItem> | Items | [optional] |
| language_iso_code | String | Three letter ISO-639 language code used by the customer during the checkout if different than the default language | [optional] |
| linked_shipment | OrderLinkedShipment | [optional] | |
| marketing | OrderMarketing | [optional] | |
| merchant_id | String | UltraCart merchant ID owning this order | [optional] |
| order_id | String | Order ID | [optional] |
| payment | OrderPayment | [optional] | |
| point_of_sale | OrderPointOfSale | [optional] | |
| properties | Array<OrderProperty> | Properties, available only through update, not through insert due to the nature of how properties are handled internally | [optional] |
| quote | OrderQuote | [optional] | |
| refund_dts | String | If the order was refunded, the date/time that the last refund occurred | [optional] |
| refund_reason | String | Refund reason code. This can only be written during a refund operation otherwise this field is read only. | [optional] |
| reject_dts | String | If the order was rejected, the date/time that the rejection occurred | [optional] |
| reject_reason | String | Reject reason code. This can only be written during a reject operation otherwise this field is read only. | [optional] |
| salesforce | OrderSalesforce | [optional] | |
| shipping | OrderShipping | [optional] | |
| summary | OrderSummary | [optional] | |
| tags | Array<OrderTag> | tags, available only through update, not through insert due to the nature of how tags are handled internally | [optional] |
| taxes | OrderTaxes | [optional] | |
| utms | Array<OrderUtm> | UTM clicks. The zero index is the most recent (last) UTM click | [optional] |
require 'ultracart_api'
instance = UltracartClient::Order.new(
affiliates: null,
auto_order: null,
billing: null,
buysafe: null,
channel_partner: null,
checkout: null,
coupons: null,
creation_dts: null,
currency_code: null,
current_stage: null,
current_stage_histories: null,
customer_profile: null,
digital_order: null,
edi: null,
exchange_rate: null,
fraud_score: null,
gift: null,
gift_certificate: null,
internal: null,
items: null,
language_iso_code: null,
linked_shipment: null,
marketing: null,
merchant_id: null,
order_id: null,
payment: null,
point_of_sale: null,
properties: null,
quote: null,
refund_dts: null,
refund_reason: null,
reject_dts: null,
reject_reason: null,
salesforce: null,
shipping: null,
summary: null,
tags: null,
taxes: null,
utms: null
)