Get Orders
Upcoming Breaking Changes
Sept.18, 2024 訂單資料更新 - 訂單封存 (Order Data Update - Order Archiving)
Function
To get detailed information of couple orders sorted by time
利用時間範圍選取與排序獲取數筆訂單資料
URL
GET <<api_domain>>/v1/orders
Request parameters
Parameter | Type | Description | Example |
---|---|---|---|
updated_after | DateTime | Filter orders by those updated after specific time. 取得 updated_at 大於指定時間的訂單(包含指定時間) - * should use UTC time Note: 當 order_delivery 資料更新時,並不會更新 order 本身的 updated_at,因此用這個參數會撈不出例如過去一小時送貨狀態有更新的訂單 (此情境建議訂閱 order_delivery/update webhook) | ruby updated_after=2018-01-01 00:00:00 |
updated_before | DateTime | Filter orders by those updated before specific time. 取得 updated_at 小於指定時間的訂單(包含指定時間) - * should use UTC time | ruby updated_before=2018-01-01 00:00:00 |
created_after | DateTime | Filter orders by those created after specific time. 取得 created_at 大於指定時間的訂單(包含指定時間) - * should use UTC time | ruby created_after=2018-01-01 00:00:00 |
created_before | DateTime | Filter orders by those created before specific time. 取得 created_at 小於指定時間的訂單(包含指定時間) - * should use UTC time | ruby created_before=2018-01-01 00:00:00 |
order_ids | Array | Order IDs 指定Order IDs | order_ids[]=5f450eace388093f603a3b95 |
per_page | Integer | Numbers of Orders per Page 每頁顯示 n 筆資料 (Default: 24) - *If there're many orders, it's suggested to set per_page number to 50 如果訂單眾多,建議per_page至多設定50 | ruby per_page=20 |
page | Integer | Page Number 頁數 (Default: 1) | ruby page=1 |
sort_by | String | Setting sort by created time 設定創建時間排序 (Default: desc )- asc: asending 升冪 desc: descending 降冪 | ruby sort_by=desc sort_by=asc |
Response fields
Field | Type | Description | Example |
---|---|---|---|
items | Get Order | Order Information 訂單資訊 | Please check the link on the left |
pagination | Pagination | Pagination 頁面資訊 | Please check the link on the left |
error | Object | Error Orders notfound -> orders not exist gone -> orders archived | Please check the below example |
Response Example
JSON sample
{
"items": [
{
"id": "5f450eace388093f603a3b95",
"order_number": "20200825131420941",
"status": "pending",
"order_remarks": "",
"order_payment": {
"payment_method_id": "5f360b7ee388097ed68f1491",
"payment_type": "two_checkout",
"name_translations": {
"en": "Credit Card",
"zh-hant": "信用卡"
},
"status": "pending",
"payment_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"paid_at": null,
"updated_at": "2020-08-25T13:14:21.121+00:00",
"created_at": "2020-08-25T13:14:20.616+00:00",
"payment_data": {},
"last_four_digits": ""
},
"order_delivery": {
"delivery_option_id": "5eaf957fe3880941178912fa",
"platform": "custom",
"status": "pending",
"delivery_status": "pending",
"name_translations": {
"en": "",
"zh-hant": "郵寄"
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"shipped_at": null,
"arrived_at": null,
"collected_at": null,
"returned_at": null,
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"store_closed_at": null,
"storeclosed_upload_at": null
},
"delivery_address": {
"country_code": "SG",
"country": "Singapore",
"city": null,
"state": null,
"postcode": null,
"address_1": null,
"address_2": null,
"recipient_name": "Grant Fong",
"recipient_phone": "93863839",
"remarks": null
},
"delivery_data": {
"hk_sfplus_home_region": null,
"location_code": null,
"location_name": null,
"name_translations": null,
"store_address": null,
"url": null,
"tracking_number": "",
"scheduled_delivery_date": null,
"time_slot_key": null,
"time_slot_translations": {}
},
"customer_id": "5f450eaa01afcd3b6e5c5b74",
"customer_name": "Grant Fong",
"customer_email": "[email protected]",
"customer_phone": "93863839",
"customer_info": {},
"currency_iso": "TWD",
"subtotal": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"order_discount": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"user_credit": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total_tax_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"invoice": {
"tax_id": "",
"mailing_address": "",
"invoice_type": "",
"buyer_name": "",
"carrier_type": "",
"carrier_number": "",
"n_p_o_b_a_n": "",
"invoice_tax_type": "",
"invoice_number": "",
"invoice_status": "",
"invoice_date": null,
"invoice_cancelled_at": null
},
"subtotal_items": [
{
"id": "5f450eace388093f603a3b98",
"item_type": "Product",
"item_data": {
"cart_item_id": "5f450e7ee388093f603a3b82",
"promotion_id": null,
"parent_item_ids": [],
"triggering_item_id": "",
"order_promotion_items": {
"order_discounted_price": "5f450eace388093f603a3b94"
},
"order_discounted_price": {
"cents": 13.0,
"currency_iso": "TWD"
},
"has_exclude_promotion_tag": false,
"variation_data": {
"_id": "5f3f8653e388096adcb65c4d",
"barcode_type": "Code 128",
"cost": {
"cents": 5.0,
"currency_iso": "TWD"
},
"created_at": "2020-08-21T08:31:15.929Z",
"feed_variations": null,
"fields": [
{
"name_translations": {
"en": "green",
"zh-hant": ""
}
},
{
"name_translations": {
"en": "c1",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"green",
"c1"
],
"zh-hant": [
"",
""
]
},
"gtin": null,
"key": "5f3f8653001e1200133a84a7",
"location_id": null,
"max_order_quantity": 10,
"media_id": null,
"member_price": {
"cents": 0.0,
"currency_iso": "TWD"
},
"mpn": null,
"price": {
"cents": 30.0,
"currency_iso": "TWD"
},
"price_sale": {
"cents": 13.0,
"currency_iso": "TWD"
},
"quantity": 1,
"root_product_variation_id": null,
"sku": "2dd235",
"stock_ids": null,
"unlimited_quantity": null,
"updated_at": "2020-08-25T03:14:47.888Z",
"variant_option_ids": [
"5f3f8653e388096adcb65c51",
"5f3f8653e388096adcb65c52"
],
"wapos_id": null,
"weight": 23.0,
"media_hash": {}
}
},
"item_id": "5f3a5188e38809a2d1388bdd",
"item_variation_id": "5f3f8653e388096adcb65c4d",
"item_variation_key": "5f3f8653001e1200133a84a7",
"item_price": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"price": {
"cents": 30000,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$30,000",
"dollars": 30000.0
},
"cost": {
"cents": 609,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$609",
"dollars": 609.0
},
"ref_data": null,
"media": {
"images": {
"favicon_small": {
"width": 16.0,
"height": 16.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon_small.png?1597657477"
},
"favicon": {
"width": 32.0,
"height": 32.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon.png?1597657477"
},
"favicon_large": {
"width": 64.0,
"height": 64.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon_large.png?1597657477"
},
"transparent_thumb": {
"width": 200.0,
"height": 200.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_thumb.png?1597657477"
},
"transparent_large": {
"width": 500.0,
"height": 156.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_large.png?1597657477"
},
"transparent_xlarge": {
"width": 1000.0,
"height": 313.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_xlarge.png?1597657477"
},
"original": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"thumb": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"source": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"transparent_medium": {
"width": 250.0,
"height": 78.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_medium.png?1597657477"
}
},
"_id": "5f3a5185e38809a2d1388bda",
"alt_translations": {}
},
"title_translations": {
"en": "Shopline.co",
"zh-hant": "商線科技"
},
"fields_translations": {
"en": [
"green",
"c1"
],
"zh-hant": [
"",
""
]
},
"sku": "2dd235",
"is_preorder": false,
"quantity": 1,
"total": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"order_discounted_price": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"discounted_price": null,
"created_by": "openapi"
}
],
"promotion_items": [
{
"id": "5f450eace388093f603a3b94",
"discountable_amount": null,
"discounted_amount": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"subtotal_after": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"promotion": {
"_id": "5f438530e38809448f8e88ab",
"addon_product_id": null,
"banner_media_ids": [],
"codes": [],
"created_at": "2020-08-24T09:15:28.894+00:00",
"description_translations": {},
"discount_amount": {
"cents": 23,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$23",
"dollars": 23.0
},
"discount_on": "order",
"discount_percentage": null,
"discount_type": "amount",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"end_at": null,
"extended_promotion_id": null,
"for_affiliate_campaign": false,
"is_accumulated": false,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "5e8c5b7a2c389a006ad21050",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": false,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"start_at": "2020-08-24T09:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "Test 3",
"zh-hant": "Test 3"
},
"updated_at": "2020-08-24T09:15:28.894+00:00",
"use_count": 2,
"user_max_use_count": 0,
"id": "5f438530e38809448f8e88ab"
},
"updated_at": "2020-08-25T13:14:20.531+00:00",
"created_at": "2020-08-25T13:14:20.526+00:00"
}
],
"custom_data": [],
"custom_discount_items": [],
"affiliate_data": {},
"ref_order_id": "",
"ref_customer_id": "",
"channel": {},
"parent_order_id": "",
"child_order_ids": [],
"split_at": null,
"confirmed_at": null,
"created_by": "shop",
"updated_at": "2020-08-25T13:14:33.151+00:00",
"created_at": "2020-08-25T13:14:20.384+00:00",
"skip_fulfillment": false,
"utm_data": {},
"ga_tracked": true,
"order_comments": [],
"order_notes": []
},
{
"id": "5f43f05de388093f603a3ac0",
"order_number": "20200824165245716",
"status": "pending",
"order_remarks": "",
"order_payment": {
"payment_method_id": "5f351e78e388099b08d1a3f7",
"payment_type": "two_checkout",
"name_translations": {
"en": "Credit Card (via 2Checkout)",
"zh-hant": "信用卡 (經由2Checkout)"
},
"status": "completed",
"payment_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"paid_at": "2020-08-24T16:53:56.925+00:00",
"updated_at": "2020-08-24T16:53:56.925+00:00",
"created_at": "2020-08-24T16:52:45.705+00:00",
"payment_data": {
"create_payment": {
"subCode": "",
"subMsg": "",
"resp": {
"orderId": "20200825005246830990241370000",
"appOrderId": "20200824165245716",
"chOrderId": "99920200824165245716",
"amount": "500.0",
"payData": {
"merchantCode": "250405304072",
"riskLevel": "0",
"channelPayUrl": "https://test-portal-xpay.yy.com/channel/TwoCheckout/Card/999/YlRzdXdjVjZHQTdTS2dyQXJWQmEzWWRrUmloM0JWeXd0dkxUVGZ1QTZhUk9UZlREY05HMHVtZkxzL0dRK3lSTFluc055RkFoZHVaL3ZUZkpNemdack96NGdJL1RZZ1JrRE40RFFnenZjWG5jaFRmRUd2eGNaYm5ISCs1VllZNkk=",
"riskResult": {
"enable": "true",
"result": {
"checkSuccess": "true",
"pass": "true",
"expectRiskLevel": "80",
"riskLevel": "0",
"detail": "{\"appId\":\"shopline_recharge\",\"assocAcctType\":255.0,\"persona_risk_mask\":\"0\",\"phone\":\"\",\"risk_level\":0.0,\"termType\":0.0,\"timestamp\":1.598287967238E12,\"traceId\":\"1297939924594503680\",\"uid\":\"5edddd9201afcd24a0f86606\"}"
}
},
"publicKey": "77620313-EAA5-4EB9-B484-E108C8F87ADE"
},
"attach": "",
"statusCode": "PAYING",
"statusMsg": "2checkout paying.",
"chDealTime": "",
"chDealId": "",
"paymentOrderId": "20200825005246830990241370000",
"merchantOrderId": "20200824165245716"
},
"success": "true",
"code": "10000",
"msg": "成功"
},
"notify_response": {
"appId": "999",
"signType": "RSA2",
"timestamp": "20200825005356",
"sign": "UhYsUizoDb7kM5L0XUGBNNkmJKhpCfVnlLxLhvMFV44msY9qWXy34ZGotmZfMzFyxCFeK2pgSN6T5MyCkk7+ofcj4BKWHw8RkkFp51bFjtARvD1Bsj8uHNA7TTeC1ZGNJRzDNydnyHMYgdCHiVgxWxX+fohnN6zQZh5S4bvM7hw=",
"bizContent": "{\"paymentOrderId\":\"20200825005246830990241370000\",\"merchantOrderId\":\"20200824165245716\",\"orderId\":\"20200825005246830990241370000\",\"appOrderId\":\"20200824165245716\",\"chOrderId\":\"99920200824165245716\",\"amount\":500.00,\"currency\":\"TWD\",\"payData\":{\"merchantCode\":\"250405304072\",\"riskLevel\":0.0,\"channelPayUrl\":\"https://test-portal-xpay.yy.com/channel/TwoCheckout/Card/999/YlRzdXdjVjZHQTdTS2dyQXJWQmEzWWRrUmloM0JWeXd0dkxUVGZ1QTZhUk9UZlREY05HMHVtZkxzL0dRK3lSTFluc055RkFoZHVaL3ZUZkpNemdack96NGdJL1RZZ1JrRE40RFFnenZjWG5jaFRmRUd2eGNaYm5ISCs1VllZNkk=\",\"publicKey\":\"77620313-EAA5-4EB9-B484-E108C8F87ADE\",\"payTokenData\":{\"last4\":\"1111\",\"bin\":\"4111\",\"card_type\":\"visa\"},\"chId\":\"TwoCheckout\",\"payMethod\":\"Card\",\"userId\":\"5edddd9201afcd24a0f86606\"},\"statusCode\":\"SUCCESS\",\"statusMsg\":\"pay success.\",\"chDealTime\":\"20200825005328\",\"chDealId\":\"131004268\",\"orderType\":\"\",\"prodId\":\"5f3a5188e38809a2d1388bdd\"}",
"controller": "order_payments",
"action": "notify",
"payment_gateway": "two_checkout",
"id": "5f43f05de388093f603a3ac6"
}
},
"last_four_digits": ""
},
"order_delivery": {
"delivery_option_id": "5eaf957fe3880941178912fa",
"platform": "custom",
"status": "pending",
"delivery_status": "pending",
"name_translations": {
"en": "",
"zh-hant": "郵寄"
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"shipped_at": null,
"arrived_at": null,
"collected_at": null,
"returned_at": null,
"remark": null,
"request_accepted_at": null,
"request_authorized_at": null,
"request_submitted_at": null,
"requested_fmt_at": null,
"require_expired_upload": false,
"require_storeclosed_upload": false,
"return_order_id": null,
"store_closed_at": null,
"storeclosed_upload_at": null
},
"delivery_address": {
"country_code": "HK",
"country": "Hong Kong",
"city": null,
"state": null,
"postcode": null,
"address_1": null,
"address_2": null,
"recipient_name": "Customer 1",
"recipient_phone": "99912345",
"remarks": null
},
"delivery_data": {
"hk_sfplus_home_region": null,
"location_code": null,
"location_name": null,
"name_translations": null,
"store_address": null,
"url": null,
"tracking_number": "",
"scheduled_delivery_date": null,
"time_slot_key": null,
"time_slot_translations": {}
},
"customer_id": "5edddd9201afcd24a0f86606",
"customer_name": "Customer 1",
"customer_email": "[email protected]",
"customer_phone": "99912345",
"customer_info": {},
"currency_iso": "TWD",
"subtotal": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"order_discount": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"user_credit": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total_tax_fee": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"total": {
"cents": 500,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$500",
"dollars": 500.0
},
"invoice": {
"tax_id": "",
"mailing_address": "",
"invoice_type": "",
"buyer_name": "",
"carrier_type": "",
"carrier_number": "",
"n_p_o_b_a_n": "",
"invoice_tax_type": "",
"invoice_number": "",
"invoice_status": "",
"invoice_date": null,
"invoice_cancelled_at": null
},
"subtotal_items": [
{
"id": "5f43f05de388093f603a3ac3",
"item_type": "Product",
"item_data": {
"cart_item_id": "5f43eb28e38809b5cbcc630a",
"promotion_id": null,
"parent_item_ids": [],
"triggering_item_id": "",
"order_promotion_items": {
"order_discounted_price": "5f43f05de388093f603a3abf"
},
"order_discounted_price": {
"cents": 13.0,
"currency_iso": "TWD"
},
"has_exclude_promotion_tag": false,
"variation_data": {
"_id": "5f3f8653e388096adcb65c4d",
"barcode_type": "Code 128",
"cost": {
"cents": 5.0,
"currency_iso": "TWD"
},
"created_at": "2020-08-21T08:31:15.929Z",
"feed_variations": null,
"fields": [
{
"name_translations": {
"en": "green",
"zh-hant": ""
}
},
{
"name_translations": {
"en": "c1",
"zh-hant": ""
}
}
],
"fields_translations": {
"en": [
"green",
"c1"
],
"zh-hant": [
"",
""
]
},
"gtin": null,
"key": "5f3f8653001e1200133a84a7",
"location_id": null,
"max_order_quantity": 10,
"media_id": null,
"member_price": {
"cents": 0.0,
"currency_iso": "TWD"
},
"mpn": null,
"price": {
"cents": 24.0,
"currency_iso": "TWD"
},
"price_sale": {
"cents": 13.0,
"currency_iso": "TWD"
},
"quantity": 1,
"root_product_variation_id": null,
"sku": "2dd235",
"stock_ids": null,
"unlimited_quantity": null,
"updated_at": "2020-08-24T07:59:36.764Z",
"variant_option_ids": [
"5f3f8653e388096adcb65c51",
"5f3f8653e388096adcb65c52"
],
"wapos_id": null,
"weight": 23.0,
"media_hash": {}
}
},
"item_id": "5f3a5188e38809a2d1388bdd",
"item_variation_id": "5f3f8653e388096adcb65c4d",
"item_variation_key": "5f3f8653001e1200133a84a7",
"item_price": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"price": {
"cents": 1000,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$1,000",
"dollars": 1000.0
},
"cost": {
"cents": 609,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$609",
"dollars": 609.0
},
"ref_data": null,
"media": {
"images": {
"favicon_small": {
"width": 16.0,
"height": 16.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon_small.png?1597657477"
},
"favicon": {
"width": 32.0,
"height": 32.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon.png?1597657477"
},
"favicon_large": {
"width": 64.0,
"height": 64.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/favicon_large.png?1597657477"
},
"transparent_thumb": {
"width": 200.0,
"height": 200.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_thumb.png?1597657477"
},
"transparent_large": {
"width": 500.0,
"height": 156.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_large.png?1597657477"
},
"transparent_xlarge": {
"width": 1000.0,
"height": 313.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_xlarge.png?1597657477"
},
"original": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"thumb": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"source": {
"width": 1600.0,
"height": 500.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5f3a5185e38809a2d1388bda/original.png?1597657477"
},
"transparent_medium": {
"width": 250.0,
"height": 78.0,
"url": "https://img-shoplineapp-com.s3.amazonaws.com/media/second_clips/5f3a5185e38809a2d1388bda/transparent_medium.png?1597657477"
}
},
"_id": "5f3a5185e38809a2d1388bda",
"alt_translations": {}
},
"title_translations": {
"en": "Shopline.co",
"zh-hant": "商線科技"
},
"fields_translations": {
"en": [
"green",
"c1"
],
"zh-hant": [
"",
""
]
},
"sku": "2dd235",
"is_preorder": false,
"quantity": 1,
"total": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"order_discounted_price": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"discounted_price": null,
"created_by": "openapi"
}
],
"promotion_items": [
{
"id": "5f43f05de388093f603a3abf",
"discountable_amount": null,
"discounted_amount": {
"cents": 13,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$13",
"dollars": 13.0
},
"subtotal_after": {
"cents": 0,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "",
"dollars": 0.0
},
"promotion": {
"_id": "5f438530e38809448f8e88ab",
"addon_product_id": null,
"banner_media_ids": [],
"codes": [],
"created_at": "2020-08-24T09:15:28.894+00:00",
"description_translations": {},
"discount_amount": {
"cents": 23,
"currency_symbol": "NT$",
"currency_iso": "TWD",
"label": "NT$23",
"dollars": 23.0
},
"discount_on": "order",
"discount_percentage": null,
"discount_type": "amount",
"discountable_category_ids": [],
"discountable_product_ids": [],
"discountable_quantity": null,
"discounted_point": null,
"discounted_price": null,
"end_at": null,
"extended_promotion_id": null,
"for_affiliate_campaign": false,
"is_accumulated": false,
"max_use_count": null,
"membership_tier_id": null,
"merchant_id": "5e8c5b7a2c389a006ad21050",
"min_price_type": "after_discount",
"multiple_code": false,
"requires_membership": false,
"seo_description_translations": {},
"seo_keywords": null,
"seo_title_translations": {},
"start_at": "2020-08-24T09:00:00.000+00:00",
"status": "active",
"term_translations": {},
"title_translations": {
"en": "Test 3",
"zh-hant": "Test 3"
},
"updated_at": "2020-08-24T09:15:28.894+00:00",
"use_count": 2,
"user_max_use_count": 0,
"id": "5f438530e38809448f8e88ab"
},
"updated_at": "2020-08-24T16:52:45.616+00:00",
"created_at": "2020-08-24T16:52:45.610+00:00"
}
],
"custom_data": [],
"custom_discount_items": [],
"affiliate_data": {},
"ref_order_id": "",
"ref_customer_id": "",
"channel": {},
"parent_order_id": "",
"child_order_ids": [],
"split_at": null,
"confirmed_at": null,
"created_by": "shop",
"updated_at": "2020-08-24T16:53:07.591+00:00",
"created_at": "2020-08-24T16:52:45.499+00:00",
"skip_fulfillment": false,
"utm_data": {},
"ga_tracked": true,
"order_comments": [],
"order_notes": []
}
],
"pagination": {
"current_page": 1,
"per_page": 2,
"total_pages": 84,
"total_count": 168
},
"error": {
"notfound": ["5f43f05de388093f603a3abff", "5f43f05de388093f603a3abffe"],
"gone": ["5f43f05de388093f603a3abfg", "5f43f05de388093f603a3abfh"]
}
}
Updated 2 months ago