Source Order

{
  canceledAt: "2023-01-18T17:50:56Z",
  cancelReason: "OTHER",
  currentTotalPrice: {
    amount: "0.0",
    currencyCode: "USD",
  },
  customer: {
    acceptsMarketing: true,
    address: {
      address1: "821 S Mitchell Ave",
      address2: null,
      city: "Arlington Heights",
      company: "My company",
      country: "United States",
      countryCode: "US",
      firstName: "John",
      formatted: [
        "Jhon Smith",
        "821 S Mitchell Ave",
        "Arlington Heights IL 60005",
        "United States",
      ],
      id: "gid://shopify/MailingAddress/7987314599247",
      lastName: "Smith",
      name: "John Smith",
      phone: "(847) 255-8785",
      province: "Illinois",
      provinceCode: "IL",
      shortId: "7987314599247",
      zip: "60005",
    },
    addresses: [
      {
        address1: "5938 Lakeview Dr",
        address2: "",
        city: "House Springs",
        company: null,
        country: "United States",
        countryCode: "US",
        firstName: "John",
        formatted: [
          "5938 Lakeview Dr",
          "House Springs MO 63051",
          "United States",
        ],
        id: "gid://shopify/MailingAddress/793425018213",
        lastName: "Smith",
        name: "John Smith",
        phone: "(636) 677-3743",
        province: "Missouri",
        provinceCode: "MO",
        shortId: "793425018213",
        zip: "63051",
      },
    ],
    defaultAddress: {
      address1: "821 S Mitchell Ave",
      address2: null,
      city: "Arlington Heights",
      company: "My company",
      country: "United States",
      countryCode: "US",
      firstName: "John",
      formatted: [
        "Jhon Smith",
        "821 S Mitchell Ave",
        "Arlington Heights IL 60005",
        "United States",
      ],
      id: "gid://shopify/MailingAddress/7987314599247",
      lastName: "Smith",
      name: "John Smith",
      phone: "(847) 255-8785",
      province: "Illinois",
      provinceCode: "IL",
      shortId: "7987314599247",
      zip: "60005",
    },
    displayName: "John Smith",
    editingAddress: {
      address1: "821 S Mitchell Ave",
      address2: null,
      city: "Arlington Heights",
      company: "My company",
      country: "United States",
      countryCode: "US",
      firstName: "John",
      formatted: [
        "Jhon Smith",
        "821 S Mitchell Ave",
        "Arlington Heights IL 60005",
        "United States",
      ],
      id: "gid://shopify/MailingAddress/7987314599247",
      lastName: "Smith",
      name: "John Smith",
      phone: "(847) 255-8785",
      province: "Illinois",
      provinceCode: "IL",
      shortId: "7987314599247",
      zip: "60005",
    },
    email: "johnsmith@email.com",
    firstName: "John",
    id: "gid://shopify/Customer/6378324295927",
    lastName: "Smith",
    metafield: {},
    orders: [
      {
        canceledAt: "2023-01-18T17:50:56Z",
        cancelReason: "OTHER",
        currentTotalPrice: {
          amount: "0.0",
          currencyCode: "USD",
        },
        customerUrl: "https://checkout.myshopify.com/account/orders/962868f74b4ab113186a82265e2bf6e8",
        email: "johnsmith@email.com",
        financialStatus: "PAID",
        fulfillmentStatus: "UNFULFILLED",
        id: "gid://shopify/Order/4904913928439",
        lineItems: [
          {
            customAttributes: [],
            discountedTotalPrice: null,
            quantity: 1,
            title: "short",
            variant: {
              id: "gid://shopify/ProductVariant/42813998842391",
              image: {
                altText: "",
                url: "https://cdn.shopify.com/s/files/1/0080/0115/9223/products/DSCA06331.jpg?v=1663781893",
              },
              price: {
                amount: "95.0",
                currencyCode: "USD",
              },
              product: {
                id: "gid://shopify/Product/764342535959",
                productType: "Cloth",
                title: "short",
              },
              selectedOptions: [
                {
                  name: "Size",
                  value: "XS",
                },
                {
                  name: "Color",
                  value: "Black",
                },
              ],
              sku: "628554005946",
              title: "XS / Black",
            },
          },
        ],
        metafield: {},
        name: "AA22868",
        orderNumber: 22868,
        originalTotalPrice: {
          amount: "134.47",
          currencyCode: "USD",
        },
        phone: null,
        processedAt: "2022-09-12T17:59:34Z",
        shippingAddress: {
          address1: "160 Lowber Rd",
          address2: "Unit 4",
          city: "West Newton",
          country: "United States",
          firstName: "John",
          lastName: "Smith",
          phone: "(724) 872-0154",
          province: "Pennsylvania",
          provinceCode: "PA",
          zip: "15089",
        },
        shortId: "4904913928439",
        statusUrl: "https://checkout.myshopify.com/8001159223/orders/962868f74b4ab113186a82265e2bf6e8/authenticate?key=a4beae7c7aadc4157691aa643a557d28",
        subtotalDiscount: {
          amount: 0,
          currencyCode: "USD",
        },
        subtotalPrice: {
          amount: "109.0",
          currencyCode: "USD",
        },
        successfulFulfillments: [],
        totalPrice: {
          amount: "134.47",
          currencyCode: "USD",
        },
        totalRefunded: {
          amount: "0.0",
          currencyCode: "USD",
        },
        totalShippingPrice: {
          amount: "10.0",
          currencyCode: "USD",
        },
        totalTax: {
          amount: "15.47",
          currencyCode: "USD",
        },
      },
    ],
    shortId: "6378324295927",
    tags: [],
  },
  customerUrl: "https://checkout.myshopify.com/account/orders/962868f74b4ab113186a82265e2bf6e8",
  email: "johnsmith@email.com",
  financialStatus: "PAID",
  fulfillmentStatus: "UNFULFILLED",
  id: "gid://shopify/Order/4904913928439",
  lineItems: [
    {
      customAttributes: [],
      discountedTotalPrice: {
        amount: "85.0",
        currencyCode: "USD",
      },
      quantity: 1,
      title: "short",
      variant: {
        id: "gid://shopify/ProductVariant/42813998842391",
        image: {
          altText: "",
          url: "https://cdn.shopify.com/s/files/1/0080/0115/9223/products/DSCA06331.jpg?v=1663781893",
        },
        price: {
          amount: "95.0",
          currencyCode: "USD",
        },
        product: {
          id: "gid://shopify/Product/764342535959",
          productType: "Cloth",
          title: "short",
        },
        selectedOptions: [
          {
            name: "Size",
            value: "XS",
          },
          {
            name: "Color",
            value: "Black",
          },
        ],
        sku: "628554005946",
        title: "XS / Black",
      },
    },
  ],
  metafield: {},
  name: "AA22868",
  orderNumber: 22868,
  originalTotalPrice: {
    amount: "134.47",
    currencyCode: "USD",
  },
  phone: null,
  processedAt: "2022-09-12T17:59:34Z",
  shippingAddress: {
    address1: "160 Lowber Rd",
    address2: "Unit 4",
    city: "West Newton",
    country: "United States",
    firstName: "John",
    lastName: "Smith",
    phone: "(724) 872-0154",
    province: "Pennsylvania",
    provinceCode: "PA",
    zip: "15089",
  },
  shortId: "4904913928439",
  statusUrl: "https://checkout.myshopify.com/8001159223/orders/962868f74b4ab113186a82265e2bf6e8/authenticate?key=a4beae7c7aadc4157691aa643a557d28",
  subtotalDiscount: {
    amount: 0,
    currencyCode: "USD",
  },
  subtotalPrice: {
    amount: "109.0",
    currencyCode: "USD",
  },
  successfulFulfillments: [],
  totalPrice: {
    amount: "134.47",
    currencyCode: "USD",
  },
  totalRefunded: {
    amount: "0.0",
    currencyCode: "USD",
  },
  totalShippingPrice: {
    amount: "10.0",
    currencyCode: "USD",
  },
  totalTax: {
    amount: "15.47",
    currencyCode: "USD",
  },
}

Properties

string

The reason for the order's cancellation. Returns null if the order wasn't canceled.

date

The date and time when the order was canceled. Returns null if the order wasn't canceled.

nyla_price

The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed.

object

The customer associated with the order.

string

The unique URL that the customer can use to access the order.

string

The customer's email address.

string

The financial status of the order.

string

The fulfillment status for the order.

string

A globally-unique identifier from Shopify (the GraphQL long-form format).

array

List of the order’s line items.

object

string

Unique identifier for the order that appears on the order. For example, #1000 or _Store1001.

number

A unique numeric identifier for the order for use by shop owner and customer.

nyla_price

The total price of the order before any applied edits.

string

The customer's phone number for receiving SMS notifications.

date

The date and time when the order was imported. This value can be set to dates in the past when importing from other systems. If no value is provided, it will be auto-generated based on current date and time.

object

The address to where the order will be shipped.

string

A globally-unique identifier from Shopify (the Admin number-only format).

string

The unique URL for the order's status page.

nyla_price

The subtotal discount of the order.

nyla_price

Price of the order before shipping and taxes.

array

List of the order’s successful fulfillments.

nyla_price

The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive).

nyla_price

The total amount that has been refunded.

nyla_price

The total cost of shipping.

nyla_price

The total cost of taxes.