Order entity

KeyTypeDescription
idintegerUnique identifier for the order.
shopifyIdintegerUnique identifier of the order in Shopify.
scheduledAtstring (ISO 8601 date-time)Date and time when the order was scheduled.
statusstringStatus of the order (e.g., "SUCCESS").
currencyCodestringCurrency code in ISO 4217 format (e.g., "USD").
shippingPriceCurrencyCodestringCurrency code for the shipping price (e.g., "USD").
totalLineItemsPricestringTotal price of the line items (e.g., "100.00").
totalDiscountAmountstringTotal discount amount applied to the order (e.g., "0.00").
subtotalPricestringSubtotal price for the order (e.g., "100.00").
totalShippingPricestringTotal shipping price (e.g., "200.00").
totalTaxesstringTotal taxes applied to the order (e.g., "0.00").
totalPricestringTotal price for the order (e.g., "300.00").
notenull \string
customAttributesarrayCustom attributes associated with the order (currently empty).

discountCodes

KeyTypeDescription
discountCodesarrayArray of discount codes applied to the order (currently empty).

lineItems

KeyTypeDescription
lineItems[].namestringName of the line item (e.g., "Test Product - Month B").
lineItems[].variantImagestring \null
lineItems[].skustringSKU of the product.
lineItems[].priceintegerPrice of the line item (in cents).
lineItems[].quantityintegerQuantity of the item in the order.
lineItems[].propertiesarrayAdditional properties of the line item (currently empty).
lineItems[].requiresShippingbooleanIndicates if the item requires shipping.
lineItems[].taxablebooleanIndicates if the item is taxable.

skippedLineItems

KeyTypeDescription
skippedLineItemsarrayArray of skipped line items in the order (currently empty).

shippingAddress

KeyTypeDescription
shippingAddress.namestringFull name of the customer (e.g., "Matt brownlee").
shippingAddress.phonestring \null
shippingAddress.companystring \null
shippingAddress.address1stringPrimary address line.
shippingAddress.address2string \null
shippingAddress.zipstringZIP or postal code.
shippingAddress.citystringCity name.
shippingAddress.provinceCodestringProvince or state code (e.g., "ID").
shippingAddress.countryCodestringISO 3166 country code (e.g., "US").

chargeOffsetDays

KeyTypeDescription
chargeOffsetDaysnull \integer

shippingLines

KeyTypeDescription
shippingLinesnull \object

customer

KeyTypeDescription
customer.shopifyIdintegerShopify customer ID.
customer.firstNamestringCustomer’s first name.
customer.lastNamestringCustomer’s last name.
customer.emailstringCustomer’s email address.
customer.phonestring \null

subscriptions

KeyTypeDescription
subscription.idintegerUnique identifier for the subscription.
subscription.deliveryPriceintegerCost of delivery for the subscription (in cents).
subscription.pausedAtnull | string (ISO 8601 date-time)Date and time when the subscription was paused, if applicable.
subscription.cancelledAtnull | string (ISO 8601 date-time)Date and time when the subscription was canceled, if applicable.
subscription.cancellationReasonnull | stringReason for cancellation, if provided.
subscription.cancellationCommentnull | stringAdditional comments related to the cancellation.
subscription.hasCustomPlanbooleanIndicates whether the subscription has a custom plan.
subscription.billingPolicy.intervalstringBilling interval (e.g., "MONTH").
subscription.billingPolicy.intervalCountintegerNumber of intervals between billing cycles.
subscription.billingPolicy.minCyclesint | nullMinimum number of billing cycles.
subscription.billingPolicy.maxCyclesint | nullMaximum number of billing cycles.
subscription.billingPolicy.anchorsnull | objectThe anchors object can take the following format:
For monthday type:
{"type": "MONTHDAY", "day": 2, "month": null}
For yearday type:
{"type": "YEARDAY", "day": 1, "month": 1}
subscription.deliveryPolicy.intervalstringDelivery interval (e.g., "MONTH").
subscription.deliveryPolicy.intervalCountintegerNumber of intervals between deliveries.
subscription.isPrepaidbooleanIndicates if the subscription is prepaid.
subscription.nextOrderDatestring (ISO 8601 date-time)Date of the next order in the subscription.
subscription.nextOrderDateEpochintegerEpoch timestamp of the next order in the subscription.
subscription.discountsarrayArray of discounts applied to the subscription (currently empty).
subscription.hasBundlebooleanIndicates if the subscription contains a bundled item.
subscription.willAutoResumebooleanIndicates if the subscription will automatically resume.
subscription.notenull | stringAdditional notes related to the subscription.
subscription.customAttributesarrayCustom attributes related to the subscription (currently empty).
subscription.lineItemsarrayArray of line items associated with the subscription.

metaData

KeyTypeDescription
metaData.myshopifyDomainstringThe domain name of the Shopify store.