Orders

The order object contains information such as their orderStatus, lineItems, etc.

{
  id: "00000000-0000-0000-0000-000000000000",
  remoteId: "2191357149242",
  orderStatus: "Active",
  lineItems: [
    {
      quantity: 1,
      productId: "4463254208570",
      price: "1000.00",
      unitCost: "",
      currency: "USD",
      variantId: "31586061353018",
      title: "T-Shirt",
      sku: "shirt-01"
    }
  ],
  orderNumber: "1001",
  paymentStatus: "Paid",
  customer: {
    customerId: "3046096732218",
    firstName: "Chase",
    lastName: "Red",
    phone: "",
    email: "[email protected]"
  },
  currency: "USD",
  totalPrice: "1000.00",
  totalDiscount: "0.00",
  totalShipping: "0.00",
  totalTax: "0.00",
  fulfillmentStatus: "unfulfilled",
  remoteCreatedAt: "2023-11-19T17:00:17.000Z",
  remoteUpdatedAt: "2023-11-19T17:00:17.000Z",
  remoteDeleted: false,
  createdAt: "2024-02-22T11:17:53.264Z",
  updatedAt: "2024-02-22T13:54:03.445Z"
}

Properties


idString

A string field that represents the unique identifier of the order.


remoteIdString

The ID of the object in the third-party application.


orderNumberString

A string field that represents the order number assigned to the order.


orderStatusString

A string field that represents the current status of the order.


fulfillmentStatusString

A string field that represents the fulfillment status of the order.


totalShippingString

A number field that represents the total cost of shipping for the order.


totalDiscountString

A string field that represents the total discount applied to the order.


totalTaxString

A string field that represents the total tax applied to the order.


totalPriceString

A string field that represents the total price of the order.


currencyString

A string field that represents the currency used for the order.


lineItemsObject[]

An array of objects that represent the individual line items in the order.


paymentStatusString

A string field that represents the payment status of the order.


billingAddressObject

An object that represents the billing address of the customer who placed the order.


shippingAddressObject

An object that represents the shipping address of the customer who placed the order.


customerObject

An object that represents the customer who placed the order.


remoteCreatedAtDateTime

The exact date and time when the record was first added or created in the third-party application.


remoteUpdatedAtDateTime

The latest date and time when any modifications or updates were made to the record's details in the third-party application.


remoteDeletedBoolean

Flag to indicate that the record has been deleted in the third-party application.


createdAtDateTime

Date and time the record has been synced into the data cache.


updatedAtDateTime

Date and time the record has been updated in the data cache.


Order Line Item Object Properties


productIdString

A unique identifier for the product.


variantIdString

A unique identifier for the product variant.


titleString

The title of the product or variant.


priceString

The price of the line item.


unitCostString

The unit cost of the line item.


currencyString

The currency used for the line item price and unit cost.


skuString

The SKU (stock keeping unit) of the line item.


quantityNumber

The quantity of the line item.


Shipping / Billing Address Object Properties


address1String

The first line of the street address.


address2String

The second line of the street address.


cityString

The city or locality.


postalCodeString

The postal or ZIP code.


regionString

The region or state.


countryCodeString

The two-letter country code.


firstNameString

The first name of the recipient.


lastNameString

The last name of the recipient.


phoneString

The phone number of the recipient.


Order Customer Object Properties


customerIdString

A unique identifier for a customer.


firstNameString

The first name of the customer.


lastNameString

The last name of the customer.


emailString

The email address of the customer.


phoneString

The phone number of the customer.