Skip to content

About Order

Access scope

Multiple access scopes needed — refer to each endpoint for access scope requirements.

Order Management is a core component of the Genstore trading system, enabling end-to-end order lifecycle management. Through standardized order processing workflows, it provides merchants with efficient and reliable order management capabilities, ensuring transaction security and business continuity.

Core Features

  • Basic Order Operations: Create order, modify order, cancel order, delete order.
  • Order Status Management: Confirm order, close order, reopen order.
  • Order Information Query: Get order details, list orders, count orders.

Use Cases

  • Omnichannel Order Operations: Merchants can centrally manage orders from different channels, achieving unified order processing and status synchronization to improve operational efficiency.
  • Order Fulfillment Management: Operations teams can monitor order status in real-time, assign processing tasks, and track exceptional orders to ensure timely delivery and customer satisfaction.
  • Transaction Data Analytics: Data analysis teams can access comprehensive order data to perform transaction trend analysis and customer behavior insights, supporting business decision-making.
  • Customer Service Coordination: Customer service teams can quickly retrieve order details, process after-sales requests, and document service interactions to deliver professional customer service experience.

Endpoints

EVENT orders/update: Order update

EVENT orders/create: Order create

EVENT orders/paid: Order paid

EVENT orders/fulfilled: Order fulfilled

EVENT orders/cancelled: Order cancelled

EVENT orders/partiallyFulfilled: Order partially fulfilled

Order Object

The order object.

Properties

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
bash
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order update

Occurs whenever an order is updated.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/update 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00\""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order create

Occurs whenever an order is created.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/create 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created.Enumeration: pending - to be paid; partiallyPaid - partial; paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00\""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order paid

Occurs whenever an order is paid.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/paid 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00\""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order fulfilled

Occurs whenever an order is fulfilled.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/fulfilled 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00\""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order cancelled

This webhook is triggered whenever an order is cancelled, allowing you to receive real-time updates and take appropriate actions or track cancellations.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/cancelled 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a shop.
- Hide child properties
billingAddressobjectrequired
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that do not require a payment method.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledTimestringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedTimestringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createTimestringrequired
The autogenerated date and time (ISO 8601 format) when the order was created.The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the shop currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the shop currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a shop owner can attach to the order.
orderIdnumberrequired
The order's position in the shop's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the shop currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the shop currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the shop currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the shop currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the shop currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the shop currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updateTimestringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "closedTime": "2008-01-10T11:00:00-05:00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "fulfillments": [
      {
        "createTime": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "updateTime": "2022-01-01T11:00:00-01:00\"",
        "fulfillId": "255858046",
        "status": "failure"
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "updateTime": "2012-08-24T14:02:15-04:00",
    "tags": "imported, vip",
    "createTime": "2008-01-10T11:00:00-05:00",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "cancelledTime": "null",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "updateTime": "2012-08-24T14:01:46-04:00",
      "tags": "loyal",
      "firstName": "John",
      "createTime": "2013-06-27T08:48:27-04:00",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}

EVENT Order partially fulfilled

An event is triggered when an order is partially fulfilled.

Access scope

Requires ANY of the following access scopes: read_orders write_orders

Topic

EVENT orders/partiallyFulfilled 

Event Data

orderobject
The order is a customer's request to purchase one or more products from a store.
- Hide child properties
billingAddressobjectrequired
The billing address associated with the payment method. This is an optional field and is not available for orders that do not require payment.
+ Show child properties
cancelReasonstringrequired
The reason why the order was canceled.
cancelledAtstringrequired
The date and time when the order was canceled. Returns null if the order isn't canceled.
closedAtstringrequired
The date and time (ISO 8601 format) when the order was closed. Returns null if the order isn't closed.
createdAtstringrequired
The automatically generated date and time (in ISO 8601 format) when the order was created. The value for this property cannot be changed.
currencystringrequired
The three-letter code (ISO 4217 format) for the store currency.
currentTotalDiscountsstringrequired
The current total discounts on the order in the store currency. The value of this field reflects order edits, returns, and refunds.
currentTotalPricestringrequired
The current total price of the order in the store currency. The value of this field reflects order edits, returns, and refunds.
currentSubtotalPricestringrequired
The sum of the prices for all line items after discounts and returns in the store currency.
currentTotalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the store currency, excluding refunded and removed tax lines.
customerobjectrequired
Information about the customer.
+ Show child properties
discountCodesarrayrequired
A list of discounts applied to the order.
+ Show child properties
emailstringrequired
The customer's email address.
financialStatusstringrequired
The status of payments associated with the order. Can only be set when the order is created. Enumeration: pending - to be paid; partiallyPaid - partial; paid paid - paid.
fulfillmentsarrayrequired
An array of fulfillments associated with the order.
+ Show child properties
fulfillmentStatusstringrequired
The order's status in terms of fulfilled line items. Enumeration: null - not fulfilled; partial - partial fulfilled; fulfilled - fulfilled; canceled - fulfillment canceled.
lineItemsarrayrequired
A list of line item objects, each containing information about an item in the order.
+ Show child properties
notestringrequired
An optional note that a store owner can attach to the order.
orderIdnumberrequired
The order's position in the store's count of orders.
paymentTermsobjectrequired
The terms and conditions under which a payment should be processed.
+ Show child properties
paymentGatewayNamesarrayrequired
The list of payment gateways used for the order.
phonestringrequired
The customer's phone number for receiving SMS notifications.
presentmentCurrencystringrequired
The presentment currency that was used to display prices to the customer.
shippingAddressobjectrequired
The mailing address to where the order will be shipped. This address is optional and will not be available on orders that do not require shipping.
+ Show child properties
sourceNamestringrequired
The source of the checkout.
sourceIdentifierstringrequired
The ID of the order placed on the originating platform.
subtotalPricestringrequired
The price of the order in the store currency after discounts but before shipping, duties, taxes, and tips.
tagsstringrequired
Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each tag is limited to 40 characters in length.
taxesIncludedbooleanrequired
Whether taxes are included in the order subtotal.
dutiesIncludedbooleanrequired
Whether duties are included in the order subtotal.
totalDiscountsstringrequired
The total discounts applied to the price of the order in the store currency.
totalLineItemsPricestringrequired
The sum of all line item prices in the store currency.
totalOutstandingstringrequired
The total outstanding amount of the order in the store currency.
totalPricestringrequired
The sum of all line item prices, discounts, shipping, taxes, and tips in the store currency. Must be positive.
totalTaxstringrequired
The sum of the prices for all tax lines applied to the order in the store currency, including refunded and removed tax lines.
totalWeightnumberrequired
The sum of all line item weights in grams. The sum is not adjusted as items are removed from the order.
updatedAtstringrequired
The date and time (ISO 8601 format) when the order was last modified.
json
{
  "order": {
    "note": "Customer changed their mind.",
    "sourceIdentifier": "ORDERID-123",
    "totalOutstanding": "5.00",
    "currentTotalDiscounts": "10.00",
    "orderId": "1001",
    "totalPrice": "409.94",
    "totalDiscounts": "0.00",
    "paymentGatewayNames": [
      "GEN_PAYMENTS",
      "CASH_ON_DELIVERY"
    ],
    "currentTotalTax": "10.00",
    "fulfillmentStatus": "partial",
    "currentTotalPrice": "10.00",
    "currentSubtotalPrice": "10.00",
    "lineItems": [
      {
        "variantTitle": "Pink",
        "quantity": "1",
        "productId": "7513594",
        "taxable": "true",
        "title": "IPod Nano",
        "fulfillableQuantity": "1",
        "fulfillmentStatus": "fulfilled",
        "requiresShipping": "true",
        "price": "199.99",
        "alreadyRightsNum": "1",
        "giftCard": "false",
        "alreadyFulfillNum": "1",
        "totalDiscount": "5.00",
        "id": "669751112",
        "variantId": "4264112",
        "grams": "500",
        "sku": "IPOD-342-N",
        "currentQuantity": "1"
      }
    ],
    "totalTax": "11.94",
    "createdAt": "2008-01-10T11:00:00-05:00",
    "fulfillments": [
      {
        "createdAt": "2022-01-01T11:00:00-01:00",
        "orderId": "3183479",
        "fulfillId": "255858046",
        "status": "failure",
        "updatedAt": "2022-01-01T11:00:00-01:00\""
      }
    ],
    "presentmentCurrency": "CAD",
    "dutiesIncluded": "false",
    "currency": "USD",
    "cancelReason": "customer",
    "closedAt": "2008-01-10T11:00:00-05:00",
    "subtotalPrice": "398.00",
    "email": "bob.norman@mail.example.com",
    "paymentTerms": {
      "amount": "70",
      "paymentId": "PI0020241010151755",
      "channelTrxNo": "0SX593062F1597043",
      "currency": "CAD"
    },
    "updatedAt": "2012-08-24T14:02:15-04:00",
    "taxesIncluded": "false",
    "discountCodes": [
      {
        "amount": "30.00",
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "cancelledAt": "null",
    "tags": "imported, vip",
    "phone": "+557734881234",
    "totalLineItemsPrice": "398.00",
    "financialStatus": "paid",
    "totalWeight": "300",
    "shippingAddress": {
      "zip": "K2P0V6",
      "country": "Canada",
      "lastName": "Bobsen",
      "address2": "Amoebobacterieae",
      "city": "Ottawa",
      "address1": "123 Amoebobacterieae St",
      "provinceCode": "ON",
      "latitude": "45.41634",
      "firstName": "Bob",
      "province": "Ontario",
      "phone": "555-625-1199",
      "countryCode": "CA",
      "name": "Bob Bobsen",
      "longitude": "-75.6868"
    },
    "billingAddress": {
      "zip": "T0E 0M0",
      "country": "Canada",
      "lastName": "Gorski",
      "address2": "Apartment 5",
      "city": "Drayton Valley",
      "address1": "2259 Park Ct",
      "provinceCode": "AB",
      "latitude": "45.41634",
      "firstName": "Christopher",
      "province": "Alberta",
      "phone": "(555)555-5555",
      "countryCode": "CA",
      "name": "Christopher Gorski",
      "longitude": "-75.6868"
    },
    "sourceName": "instagram",
    "customer": {
      "lastName": "Norman",
      "note": "A note about the customer.",
      "taxExempt": "true",
      "taxExemptions": [
        "CA_STATUS_CARD_EXEMPTION",
        "CA_BC_RESELLER_EXEMPTION"
      ],
      "tags": "loyal",
      "createdAt": "2013-06-27T08:48:27-04:00",
      "firstName": "John",
      "phone": "16135551111",
      "currency": "JPY",
      "id": "207119551",
      "email": "bob.norman@mail.example.com",
      "updatedAt": "2012-08-24T14:01:46-04:00",
      "verifiedEmail": "true",
      "defaultAddress": ""
    }
  }
}