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 ​
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{"language":"en", "country":"US"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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
{
"order": {
"note": "Please deliver after 6 PM",
"sourceIdentifier": "WEB123456",
"shopCurrency": "USD",
"totalPrice": "110.25",
"totalDiscounts": "10.25",
"paymentGatewayNames": [
"PayPal",
"Credit Card"
],
"type": "1",
"closedTime": "2023-05-20T14:45:30-05:00",
"fulfillmentStatus": "fulfilled",
"paymentType": "online",
"refunds": [
{
"totalRefundShippingPrice": "5.99",
"totalRefundPrice": "29.99",
"refundLineItems": [
{
"totalTax": "1.50",
"quantity": "1",
"lineItem": {
"quantity": "2",
"productId": "123456",
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "12",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "1",
"alreadyRightsNum": "1",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1"
},
"lineItemId": "789",
"subtotal": "19.99",
"rightsReason": "Description of Other Reasons",
"id": "201",
"rightsReasonType": "1"
}
],
"refundId": "12345",
"processedTime": "2023-05-20T10:00:00-05:00",
"status": "1"
}
],
"totalTaxSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"lineItems": [
{
"priceSet": {
"shopMoney": {
"amount": "29.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "29.99",
"currencyCode": "USD"
}
},
"variantTitle": "Red",
"quantity": "2",
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"code": "EXPRESS",
"discountedPrice": "7.99",
"price": "9.99",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"productId": "123456",
"discountAllocations": {
"amount": "2.50",
"discountApplicationIndex": "1",
"amountSet": {
"shopMoney": {
"amount": "2.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "2.50",
"currencyCode": "USD"
}
}
},
"refundableQuantity": "1",
"title": "Wireless Headphones",
"fulfillableQuantity": "3",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"locationId": "456",
"alreadyRightsNum": "1",
"giftCard": "false",
"alreadyFulfillNum": "2",
"totalDiscount": "3.50",
"id": "987654",
"variantId": "789012",
"grams": "250",
"sku": "ABC123-X",
"currentQuantity": "1",
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"totalDiscountSet": {
"shopMoney": {
"amount": "5.00",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "5.00",
"currencyCode": "USD"
}
}
}
],
"totalTax": "8.50",
"fulfillments": [
{
"lineItems": [
{
"fulfillmentOrderId": "456",
"quantity": "2",
"productId": "1001",
"lineItemId": "789",
"id": "101",
"shopId": "123",
"variantId": "2002"
}
],
"updatedTime": "2023-05-15T14:20:00-05:00",
"orderId": "54321",
"fulfillTime": "2023-05-15T14:20:00-05:00",
"createdTime": "2023-05-15T10:30:00-05:00",
"fulfillId": "98765",
"status": "success"
}
],
"convertRate": "1.25",
"totalPriceSet": {
"shopMoney": {
"amount": "110.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "110.25",
"currencyCode": "USD"
}
},
"createdTime": "2023-05-10T09:15:00-05:00",
"currency": "USD",
"totalDiscountsSet": {
"shopMoney": {
"amount": "10.25",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "10.25",
"currencyCode": "USD"
}
},
"id": "54321",
"cancelReason": "customer",
"subtotalPrice": "85.50",
"email": "customer@example.com",
"paymentTerms": [
{
"amount": "100.00",
"paymentTermsName": "分期付款",
"paymentId": "1",
"channelTrxNo": "TRX123456",
"currency": "CNY"
}
],
"subtotalPriceSet": {
"shopMoney": {
"amount": "85.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "85.50",
"currencyCode": "USD"
}
},
"app": "shopify",
"updatedTime": "2023-05-15T16:30:00-05:00",
"discountCodes": [
{
"amount": "25.00",
"code": "SUMMER20",
"type": "1"
}
],
"shippingLines": [
{
"priceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountedPrice": "7.99",
"price": "9.99",
"id": "456",
"source": "shopify",
"title": "Express Shipping",
"discountedPriceSet": {
"shopMoney": {
"amount": "7.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "7.99",
"currencyCode": "USD"
}
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
]
}
],
"totalShippingPriceSet": {
"shopMoney": {
"amount": "9.99",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "9.99",
"currencyCode": "USD"
}
},
"discountApplications": [
{
"code": "SAVE20",
"targetType": "lineItem",
"id": "da_12345",
"title": "Summer Sale",
"value": "15"
}
],
"totalShippingPrice": "9.99",
"paidTime": "2023-05-15T10:30:00-05:00",
"userId": "12345",
"i18n": "{\"language\":\"en\", \"country\":\"US\"}",
"tags": "urgent, gift",
"processedTime": "2023-05-15T14:30:00-05:00",
"phone": "+1234567890",
"cancelledTime": "2023-05-15T10:30:00-05:00",
"financialStatus": "paid",
"totalWeight": "500",
"shippingAddress": {
"zip": "10001",
"country": "USA",
"lastName": "Smith",
"address2": "Apt 3B",
"city": "New York",
"address1": "456 Oak Street",
"provinceCode": "CA",
"latitude": "40.7128",
"firstName": "John",
"province": "California",
"phone": "+1234567890",
"countryCode": "US",
"name": "John Smith",
"company": "XYZ Corporation",
"longitude": "-74.0060"
},
"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",
"company": "ABC Company",
"longitude": "-75.6868"
},
"taxLines": [
{
"priceSet": {
"shopMoney": {
"amount": "8.50",
"currencyCode": "USD"
},
"presentmentMoney": {
"amount": "8.50",
"currencyCode": "USD"
}
},
"rate": "10",
"price": "8.50",
"title": "VAT"
}
],
"customer": {
"updatedTime": "2023-05-12T16:45:20-05:00",
"lastName": "Smith",
"note": "VIP customer with multiple purchases",
"addresses": [
{
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"company": "Weimob",
"countryName": "China"
}
],
"taxExempt": "false",
"totalSpent": "542.75",
"taxExemptions": [
"VAT_EXEMPT"
],
"tags": "loyal,repeat-customer",
"firstName": "John",
"ordersCount": "100",
"phone": "+1234567890",
"createdTime": "2023-01-15T10:30:00-05:00",
"id": "12345",
"email": "customer@example.com",
"verifiedEmail": "true",
"defaultAddress": {
"zip": "200000",
"country": "China",
"lastName": "Doe",
"address2": "Block A",
"city": "Shanghai",
"address1": "No.1 Road",
"provinceCode": "SH",
"firstName": "John",
"isDefault": "true",
"province": "Shanghai",
"phone": "13800138000",
"countryCode": "CN",
"customerId": "123456",
"company": "Weimob",
"countryName": "China",
"id": "123456"
}
}
}
}
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.
Order Object
The order object.
Properties
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 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 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 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 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 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