Welcome to the Pancake Pos API! You can use our API to access Pancake Pos API endpoints that can get information about orders in our database.
COMMON CONFIGURATION
ENVIRONMENT
Production base url: https://pos.pages.fm/api/v1
ACCOUNT AUTHENTICATION
api_key
CREATE API KEY
Go website Setting -> Application On frame API KEY, click Create
Shop
Shop information
GET/shops?api_key=<api_key>HTTP/1.1
Response
{"shops":[{"avatar_url":"https://statics.pancake.vn/user-content-dev2.pancake.vn/2022/7/6/8678250807b2285e2752ac2cbbf43925f19a677c.jpeg","name":"Shop thời trang","pages":[{"id":"104438181227821","name":"Quần áo","platform":"facebook","settings":{"auto_create_order":true},"shop_id":20,}]}],"success":true}
Country code (for example, Vietnam country code is 84)
List of districts
GET/geo/districtsHTTP/1.1
Response
{"data":[{"id":"10101","name":"Quận Ba Đình","name_en":"ba dinh"},{"id":"10129","name":"Huyện Ba Vì","name_en":"ba vi"},{"id":"10155","name":"Quận Bắc Từ Liêm","name_en":"bac tu liem"},{"id":"10113","name":"Quận Cầu Giấy","name_en":"cau giay"},{"id":"10141","name":"Huyện Chương Mỹ","name_en":"chuong my"},...]}
HTTP Request
GET /geo/districts
Query Parameters
Parameter
Required
Type
Default
Description
province_id
true
string
Province id of districts you want to retrieve. Get province id in api GET /geo/provinces
List of communes
GET/geo/communesHTTP/1.1
Response
{"data":[{"id":"1010115","name":"Phường Cống Vị","name_en":"cong vi"},{"id":"1010109","name":"Phường Điện Biên","name_en":"dien bien"},{"id":"1010113","name":"Phường Đội Cấn","name_en":"doi can"},{"id":"1010119","name":"Phường Giảng Võ","name_en":"giang vo"},{"id":"1010111","name":"Phường Kim Mã","name_en":"kim ma"},...]}
HTTP Request
GET /geo/communes
Query Parameters
Parameter
Required
Type
Default
Description
district_id
true
string
District id of communes you want to retrieve. Get district id in api GET /geo/districts
{"data":[{"activated_combo_products":{"combo_product_id":430000823,"combo_product_info":{"combo_product_variations":[{"count":1,"product_id":"e258399e-792a-43f7-b379-da99712f82f1","variation_id":"74592bc7-e3d9-4734-82b0-246d79784602"}],"discount_amount":10000,"discount_by_percent":0,"name":"combo mẫu mã"},"quantity_combo_activated":1},"bill_full_name":"hoang anh ","bill_phone_number":"0999999999","page_id":"256469571178082","creator":{"avatar_url":null,"fb_id":"2042723249341651","id":"8fbe2a6f-b0b2-4227-a698-19d18c43f7c8","name":"Hoang Anh"},"id":1418,"inserted_at":"2020-05-12T04:51:42","updated_at":"2020-05-12T04:51:54","is_free_shipping":false,"received_at_shop":false,"partner_fee":28000,"customer_pay_fee":false,"items":[{"discount_each_product":0,"is_bonus_product":false,"is_discount_percent":false,"is_wholesale":false,"measure_group_id":860000034,"one_time_product":false,"quantity":1,"variation_id":"415040f4-ab63-465e-8699-e9ebfff4c6c7","product_id":"3487e126-b0d9-4dae-89a9-ee60bef2f4e9","variation_info":{"detail":null,"fields":null,"display_id":null,"name":"aaaaaa","product_display_id":null,"retail_price":100000,"weight":100,"measure_info":{"exchange_value":30,"measure_id":61}}}],"note":"","note_print":null,"returned_reason":1,"partner":{"cod":0,"custom_partner_id":null,"extend_code":"S58824.MB25.C3.500020713","extend_update":[],"is_returned":null,"order_number_vtp":null,"paid_at":null,"partner_id":1,"sort_code":null,"system_created":true,"total_fee":0,"updated_at":"2020-05-12T05:18:16"},"warehouse_id":"630744ef-4614-4a70-988c-52e6d78c953c","shipping_address":{"address":"aaaaa","commune_id":"2210941","country_code":null,"district_id":"22109","full_address":"aaaaa, Xã Bắc Lý, Huyện Hiệp Hòa, Bắc Giang","full_name":"hoang anh ","phone_number":"0999999999","post_code":null,"province_id":"221"},"shipping_fee":0,"shop_id":4,"status":0,"status_name":"new","tags":[{"id":2,"name":"Chờ cọc"},{"id":3,"name":"Nhập hàng"},{"id":13,"name":"Delay lấy hàng"}],"total_discount":0,"warehouse_info":{"district_id":"10111","full_address":"kakakaka, Phường Khương Trung, Quận Thanh Xuân, Hà Nội","name":"snappy","phone_number":"0999999999","province_id":"101"},"shopify_abandon_checkout_id":30120904851641,"link_confirm_order":"https://order.pke.gg/tracking?id=RyvKXPdNWkGlh2Wk8g70Juca8F03N8O"},...],"page_number":1,"page_size":100,"success":true,"total_entries":1418,"total_pages":15}
{"activated_combo_products":{"combo_product_id":430000823,"combo_product_info":{"combo_product_variations":[{"count":1,"product_id":"e258399e-792a-43f7-b379-da99712f82f1","variation_id":"74592bc7-e3d9-4734-82b0-246d79784602"}],"discount_amount":10000,"discount_by_percent":0,"name":"combo mẫu mã"},"quantity_combo_activated":1},"bill_full_name":"hoang anh ","bill_phone_number":"0999999999","page_id":"256469571178082","creator":{"avatar_url":null,"fb_id":"2042723249341651","id":"8fbe2a6f-b0b2-4227-a698-19d18c43f7c8","name":"Hoang Anh"},"id":1418,"inserted_at":"2020-05-12T04:51:42","updated_at":"2020-05-12T04:51:54","is_free_shipping":false,"received_at_shop":false,"partner_fee":28000,"fee_marketplace":4000,"customer_pay_fee":false,"items":[{"discount_each_product":0,"is_bonus_product":false,"is_discount_percent":false,"is_wholesale":false,"measure_group_id":860000034,"one_time_product":false,"quantity":1,"variation_id":"415040f4-ab63-465e-8699-e9ebfff4c6c7","product_id":"3487e126-b0d9-4dae-89a9-ee60bef2f4e9","variation_info":{"detail":null,"fields":null,"display_id":null,"name":"aaaaaa","product_display_id":null,"retail_price":100000,"weight":100,"measure_info":{"exchange_value":30,"measure_id":61}}}],"note":"","note_print":null,"returned_reason":1,"partner":{"cod":0,"custom_partner_id":null,"extend_code":"S58824.MB25.C3.500020713","extend_update":[],"is_returned":null,"order_number_vtp":null,"paid_at":null,"partner_id":1,"sort_code":null,"system_created":true,"total_fee":0,"updated_at":"2020-05-12T05:18:16"},"warehouse_id":"630744ef-4614-4a70-988c-52e6d78c953c","shipping_address":{"address":"aaaaa","commune_id":"2210941","country_code":null,"district_id":"22109","full_address":"aaaaa, Xã Bắc Lý, Huyện Hiệp Hòa, Bắc Giang","full_name":"hoang anh ","phone_number":"0999999999","post_code":null,"province_id":"221"},"shipping_fee":0,"shop_id":4,"status":0,"status_name":"new","tags":[{"id":2,"name":"Chờ cọc"},{"id":3,"name":"Nhập hàng"},{"id":13,"name":"Delay lấy hàng"}],"total_discount":0,"warehouse_info":{"district_id":"10111","full_address":"kakakaka, Phường Khương Trung, Quận Thanh Xuân, Hà Nội","name":"snappy","phone_number":"0999999999","province_id":"101"},"shopify_abandon_checkout_id":30120904851641,"link_confirm_order":"https://order.pke.gg/tracking?id=RyvKXPdNWkGlh2Wk8g70Juca8F03N8O"}
{"bill_full_name":"hoang anh ","bill_phone_number":"0999999999","is_free_shipping":false,"received_at_shop":false,"page_id":"256469571178082","account":4,"account_name":"facebook321","assigning_seller_id":"340644fc-314d-450e-a45f-33343678cab6","items":[{"discount_each_product":0,"is_bonus_product":false,"is_discount_percent":false,"is_wholesale":false,"one_time_product":false,"quantity":1,"variation_id":"415040f4-ab63-465e-8699-e9ebfff4c6c7","product_id":"3487e126-b0d9-4dae-89a9-ee60bef2f4e9","variation_info":{"detail":null,"fields":null,"display_id":null,"name":"aaaaaa","product_display_id":null,"retail_price":100000,"weight":100}}],"note":"","note_print":null,"returned_reason":1,"warehouse_id":"630744ef-4614-4a70-988c-52e6d78c953c","shipping_address":{"address":"aaaaa","commune_id":"2210941","country_code":null,"district_id":"22109","full_address":"aaaaa, Xã Bắc Lý, Huyện Hiệp Hòa, Bắc Giang","full_name":"hoang anh ","phone_number":"0999999999","post_code":null,"province_id":"221"},"shipping_fee":0,"shop_id":4,"total_discount":0,"warehouse_info":{"district_id":"10111","full_address":"kakakaka, Phường Khương Trung, Quận Thanh Xuân, Hà Nội","name":"snappy","phone_number":"0999999999","province_id":"101"},"custom_id":"Ma0001"}
{"bill_full_name":"hoang anh ","bill_phone_number":"0999999999","creator":{"avatar_url":null,"fb_id":"2042723249341651","id":"8fbe2a6f-b0b2-4227-a698-19d18c43f7c8","name":"Hoang Anh"},"account":4,"account_name":"facebook321","assigning_seller_id":"340644fc-314d-450e-a45f-33343678cab6","id":1418,"inserted_at":"2020-05-12T04:51:42","updated_at":"2020-05-12T04:51:54","is_free_shipping":false,"received_at_shop":false,"cod":110000,"discount":20000,"total_price":100000,"total_price_after_sub_discount":110000,"page_id":"256469571178082","charged_by_card":0,"charged_by_momo":0,"charged_by_qrpay":0,"transfer_money":0,"partner_fee":28000,"fee_marketplace":4000,"customer_pay_fee":false,"items":[{"discount_each_product":0,"is_bonus_product":false,"is_discount_percent":false,"is_wholesale":false,"one_time_product":false,"quantity":1,"variation_id":"415040f4-ab63-465e-8699-e9ebfff4c6c7","product_id":"3487e126-b0d9-4dae-89a9-ee60bef2f4e9","variation_info":{"detail":null,"fields":null,"display_id":null,"name":"aaaaaa","product_display_id":null,"retail_price":100000,"weight":100}}],"note":"","note_print":null,"returned_reason":1,"partner":{"cod":0,"custom_partner_id":null,"extend_code":"S58824.MB25.C3.500020713","extend_update":[],"is_returned":null,"order_number_vtp":null,"paid_at":null,"partner_id":1,"sort_code":null,"system_created":true,"total_fee":0,"updated_at":"2020-05-12T05:18:16"},"warehouse_id":"630744ef-4614-4a70-988c-52e6d78c953c","shipping_address":{"address":"aaaaa","commune_id":"2210941","country_code":null,"district_id":"22109","full_address":"aaaaa, Xã Bắc Lý, Huyện Hiệp Hòa, Bắc Giang","full_name":"hoang anh ","phone_number":"0999999999","post_code":null,"province_id":"221"},"shipping_fee":10000,"shop_id":4,"status":0,"status_name":"new","tags":[{"id":2,"name":"Chờ cọc"},{"id":3,"name":"Nhập hàng"},{"id":13,"name":"Delay lấy hàng"}],"warehouse_info":{"district_id":"10111","full_address":"kakakaka, Phường Khương Trung, Quận Thanh Xuân, Hà Nội","name":"snappy","phone_number":"0999999999","province_id":"101"},"arrange_shipment_marketplace":true,"pick_up_method":"pick_up","picking_shif_marketplace":"closest"}
{"advanced_platform_fee":{"affiliate_commission":1,"diff_shipping_fee":100,"marketplace_voucher":100,"payment_fee":7225,"platform_commission":100,"seller_transaction_fee":100,"service_fee":100,"sfp_service_fee":100},"printing_count":1,"updated_at":"2023-11-02T09:14:32.661282","money_to_collect":430000,"total_price":430000,"shop_customer_address_id":"d306bedc-9b35-4c7e-b3b1-26815c207dc9","customer":{"fb_id":null,"id":"691ce908-bc13-4282-a87a-7d3f7e64a5cf","name":"C Loan","page_id":null,},"status":9,"bill_phone_number":"0941902893","total_quantity":2,"time_assign_marketer":"2023-11-02T09:14:32","is_locked":false,"note_print":"Giao tận tay khách","creator_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","status_history":[{"avatar_url":null,"editor":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"editor_fb":"377936050731194","editor_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","old_status":null,"status":0,"updated_at":"2023-11-02T08:48:28"}],"duplicated_phone":true,"order_currency":"VND","note":"Giao tận tay khách","warehouse_info":{"address":"190 La Thành","affiliate_id":null,"commune_id":"1012957","custom_id":null,"district_id":"10129","ffm_id":null,"full_address":"190 La Thành, Xã Ba Trại, Huyện Ba Vì, Hà Nội","has_snappy_service":false,"name":"Kho mặc định","phone_number":"0366452565","province_id":"101"},"is_free_shipping":false,"tags":[61],"charged_by_vnpay":0,"charged_by_qrpay":0,"partner_fee":27000,"custom_id":"SOICUN-12049-10","last_editor":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"charged_by_momo":0,"bank_transfer_images":null,"partner":{"delivery_name":null,"delivery_tel":null,"extend_code":"LMP0224531356VNA","paid_at":null,"partner_id":57,"picked_up_at":null,"sort_code":"H-THL-1B","system_created":true,"total_fee":0,"updated_at":"2023-11-02T09:13:28"},"id":103973,"page_id":"104438181227821","inserted_at":"2023-11-02T08:48:29.136481","shop_id":20,"transfer_money":0,"lock_order_by_user":null,"received_at_shop":false,"assigning_care":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"assigning_seller_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","total_discount":0,"einvoices":[],"shop_customer_id":"1442ab20-ab99-4c16-ab17-c7ebd4158a00","charged_by_card":0,"time_assign_seller":"2023-11-02T08:48:28","sub_status_history":[],"items":[{"returned_count":0,"note":"sp dễ vỡ","id":37956,"inserted_at":"2023-11-02T09:13:23.245866","measure_group_id":58,"variation_info":{"name":"Áo thời trang Nam Pari","custom_id":"Nam Pari TX","shop_warranty_policy_id":null,"inserted_at":"2023-05-17T08:46:39","product_id":"Áo thời trang Nam Pari","detail":"mau: trang, size: X","weight":700,"images":["https://statics.pancake.vn/user-content-dev2.pancake.vn/2021/12/27/18c4500c320cb2e993b3ff4b3be81165df64d3ba.png"],"is_accessory":false,"measure_info":{"exchange_value":30,"measure_id":61},"barcode":"12392-4","price_at_counter":0,"retail_price":200000,},"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","assigning_seller_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","variation_id":"76887a5b-8a27-472c-a15a-661ea59434dd","quantity_by_combo_products":[],"discount_each_product":0,"is_bonus_product":false,"quantity":2}],"estimate_delivery_date":"2023-11-03T08:47:00","display_id":12049,"order_sources":"-1","charged_by_fundiin":0,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","surcharge":0,"returned_reason":null,"last_editor_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","is_linked_partner":true,"shipping_fee":30000,"call_laters":[],"last_update_status_at":"2023-11-02T09:13:28","discount_by_customer_level":null,"shop_partner_id":137,"viewing":[],"creator":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"bill_full_name":"C Loan","order_returned_ids":null,"activated_combo_products":[],"cost_surcharge":0,"marketer":{"avatar_url":"https://statics.pancake.vn/user-content-dev2.pancake.vn/2022/1/4/a913bfe540a71b2a2bdf45429f91074cdcfdb170.png","email":"thanglong96hust@gmail.com","fb_id":"1137015309792644","id":"316dcba2-e4ef-4787-b2d2-b02e83c8522c","name":"Lê Thăng Long","phone_number":null},"time_send_partner":"2023-11-02T09:13:28","charged_by_kredivo":0,"shipping_address":{"address":"Sn 18 ngách 91 ngõ 9 bãi muối","commnue_name":"Phường Cao Thắng","commune_id":"2250115","country_code":"84","district_id":"22501","district_name":"Thành phố Hạ Long","full_address":"Sn 18 ngách 91 ngõ 9 bãi muối, Phường Cao Thắng, Thành phố Hạ Long, Quảng Ninh","full_name":"C Loan","phone_number":"0941902893","post_code":null,"province_id":"225","province_name":"Quảng Ninh"},"discount":0,"pke_mkter":"316dcba2-e4ef-4787-b2d2-b02e83c8522c","histories":[{"bank_payments":{"new":{},"old":null},"editor_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","items":[{"new":{"discount_each_product":0,"is_discount_percent":false,"quantity":2,"variation_info":{"fields":[{"id":"56e0ac18-3bd0-47ac-91ba-0f4056326c1d","keyValue":"TRANG","name":"mau","value":"trang"}],"measure_info":{"exchange_value":2,"measure_id":1959},"name":"Áo thời trang Nam Pari","retail_price":200000,"weight":700}},"old":null,"variation_id":"76887a5b-8a27-472c-a15a-661ea59434dd"}],"total_quantity":{"new":2,"old":0},"updated_at":"2023-11-02T09:13:24"}],"duplicated_customer":true,"bill_email":"dfadf@gmail.com","customer_referral_code":null,"assigning_seller":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"tax":0,"time_assign_care":"2023-11-02T09:14:32","assigning_care_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","cod":430000,"customer_pay_fee":false,"cash":0,"is_from_ecommerce":null,"account":"104438181227821","note_image":null,"customer_needs":[],"shopify_abandon_checkout_id":30120904851641,"link_confirm_order":"https://order.pke.gg/tracking?id=RyvKXPdNWkGlh2Wk8g70Juca8F03N8O"}
{"data":[{"bill_full_name":"HUy","bill_phone_number":"0377666434","creator_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","custom_id":null,"discount":0,"discount_from_order_to_returned":0,"display_id":636,"id":1403,"inserted_at":"2024-04-25T08:34:50.000000","order":{"prepaid_by_point":{"money":0,"point":0},"surcharge":0,"money_to_collect":-80000,"system_id":14856,"shipping_address":{"address":"Ha nội","commnue_name":"Phường Nghĩa Đô","commune_id":"1011301","country_code":"84","district_id":"10113","district_name":"Quận Cầu Giấy","full_address":"Ha nội, Phường Nghĩa Đô, Quận Cầu Giấy, Hà Nội","full_name":"HUy","phone_number":"0377666434","post_code":null,"province_id":"101","province_name":"Hà Nội"},"total_discount":0,"status":0,"items":[{"added_to_cart_quantity":2,"discount_each_product":0,"exchange_count":0,"id":45373,"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","quantity":2,"return_quantity":0,"returned_count":0,"returning_quantity":0,"variation_id":"23f91ea1-5cb8-46a1-a8a6-e3819af9abad","variation_info":{"barcode":"12392-2","detail":"mau: xanh, size: X","display_id":"Nam Pari XX","exact_price":200000,"fields":[{"id":"283d9e1d-c254-4bad-8d69-19be477f2512","keyValue":"XANH","name":"mau","value":"xanh"},{"id":"968f5f28-d043-4937-911a-9334efede2f1","keyValue":"X","name":"size","value":"X"}],"last_imported_price":100000,"name":"Áo thời trang Nam Pari","product_display_id":"Áo thời trang Nam Pari","retail_price":200000,"weight":700}}],"cash":0,"account_name":"wa_c.us@6282288988901","charged_by_qrpay":0,"total_quantity":2,"account":"46","shipping_fee":20000,"time_assign_seller":"2024-04-25T08:34:47","id":"1485614856","total_price":400000,"inserted_at":"2024-04-25T08:32:53.064777","charged_by_momo":0,"prepaid":0,"bill_phone_number":"0377666434","fee_marketplace":0,"total_price_after_sub_discount":420000,"order_sources":"-1","assigning_seller_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","bill_full_name":"HUy","order_currency":"VND","shop_id":20,"updated_at":"2024-04-25T08:34:52.471988","return_fee":false,"order_link":"https://pos.pages.fm/shop/20/order?order_id=109503","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","cod":-80000,"is_exchange_order":false,"exchange_payment":500000,"items_length":1,"transfer_money":0,"estimate_delivery_date":null,"received_at_shop":false,"customer_pay_fee":false,"partner_fee":0,"charged_by_card":0,"status_name":"new",},"order_id":109503,"order_id_to_returned":109502,"order_to_returned":{"prepaid_by_point":{"money":0,"point":0},"surcharge":0,"money_to_collect":1020000,"system_id":14855,"shipping_address":{"address":"Ha nội","commnue_name":"Phường Nghĩa Đô","commune_code_sicepat":null,"commune_id":"1011301","country_code":"84","district_id":"10113","district_name":"Quận Cầu Giấy","full_address":"Ha nội, Phường Nghĩa Đô, Quận Cầu Giấy, Hà Nội","full_name":"HUy","phone_number":"0377666434","post_code":null,"province_id":"101","province_name":"Hà Nội"},"total_discount":0,"status":3,"time_assign_care":null,"items":[{"added_to_cart_quantity":2,"discount_each_product":0,"exchange_count":0,"id":45372,"one_time_product":false,"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","quantity":2,"return_quantity":1,"returned_count":0,"returning_quantity":1,"variation_id":"76887a5b-8a27-472c-a15a-661ea59434dd","variation_info":{"barcode":"12392-4","detail":"mau: trang, size: X","display_id":"Nam Pari TX","exact_price":200000,"fields":[{"id":"56e0ac18-3bd0-47ac-91ba-0f4056326c1d","keyValue":"TRANG","name":"mau","value":"trang"},{"id":"50c8ba70-db9a-40e0-8198-af2237335bf2","keyValue":"X","name":"size","value":"X"}],"last_imported_price":100000,"name":"Áo thời trang Nam Pari","product_display_id":"Áo thời trang Nam Pari","retail_price":500000,"weight":700}}],"cash":0,"account_name":"wa_c.us@6282288988901","charged_by_qrpay":0,"total_quantity":2,"account":"46","shipping_fee":20000,"time_assign_seller":"2024-04-25T08:33:47","id":"1485514855","order_sources_name":"Facebook","note":"","total_price":1000000,"inserted_at":"2024-04-25T08:32:53.064777","change_by_orders":[{"bill_full_name":"HUy","bill_phone_number":"0377666434","creator_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","custom_id":null,"discount":0,"discount_from_order_to_returned":0,"display_id":636,"id":1403,"inserted_at":"2024-04-25T08:34:50.000000","order":{"prepaid_by_point":{"money":0,"point":0},"surcharge":0,"money_to_collect":-80000,"p_utm_term":null,"system_id":14856,"shipping_address":{"address":"Ha nội","commnue_name":"Phường Nghĩa Đô","commune_code_sicepat":null,"commune_id":"1011301","country_code":"84","district_id":"10113","district_name":"Quận Cầu Giấy","full_address":"Ha nội, Phường Nghĩa Đô, Quận Cầu Giấy, Hà Nội","full_name":"HUy","phone_number":"0377666434","post_code":null,"province_id":"101","province_name":"Hà Nội"},"total_discount":0,"status":0,"cash":0,"account_name":"wa_c.us@6282288988901","charged_by_qrpay":0,"total_quantity":2,"account":"46","shipping_fee":20000,"time_assign_seller":"2024-04-25T08:34:47","id":"1485614856","order_sources_name":"Facebook","total_price":420000,"inserted_at":"2024-04-25T08:32:53.064777","charged_by_momo":0,"prepaid":0,"bill_phone_number":"0377666434","fee_marketplace":0,"order_sources":"-1","assigning_seller_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","bill_full_name":"HUy","order_currency":"VND","shop_id":20,"updated_at":"2024-04-25T08:34:52.471988","return_fee":false,"order_link":"https://pos.pages.fm/shop/20/order?order_id=109503","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","cod":-80000,"is_exchange_order":false,"exchange_payment":500000,"transfer_money":0,"is_free_shipping":false,"levera_point":0,"received_at_shop":false,"customer_pay_fee":false,"partner_fee":0,"charged_by_card":0,"status_name":"new",},"order_id":109503,"order_id_to_returned":109502,"order_to_returned":{},"returned_fee":0,"returned_items":[{"discount_each_product":0,"id":1423,"is_discount_percent":false,"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","returned_quantity":1,"variation_id":"76887a5b-8a27-472c-a15a-661ea59434dd","variation_info":{"barcode":"12392-4","detail":"mau: trang, size: X","id":"Nam Pari TX","images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/9/29/d05f44dcf2b9f96312d88b718da35aa5317242d6.jpg",],"name":"Áo thời trang Nam Pari","product_id":"Áo thời trang Nam Pari","retail_price":500000,"weight":700,"wholesale_price":0,}}],"shop_customer_id":"fd3388d9-d6a6-4fca-8ef5-9e7647395cf0","shop_id":20,"status":0,"updated_at":"2024-04-25T08:34:50.000000","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"}],"charged_by_momo":0,"prepaid":0,"bill_phone_number":"0377666434","fee_marketplace":0,"post_id":null,"total_price_after_sub_discount":1020000,"order_sources":"-1","assigning_seller_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","bill_full_name":"HUy","activated_promotion_advances":[],"order_currency":"VND","shop_id":20,"updated_at":"2024-04-25T08:34:52.680954","order_link":"https://pos.pages.fm/shop/20/order?order_id=109502","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","cod":1020000,"is_exchange_order":true,"exchange_payment":0,"items_length":1,"transfer_money":0,"levera_point":0,"received_at_shop":false,"creator":{"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"assigning_care_id":null,"partner_fee":0,"charged_by_card":0,"status_name":"delivered","sub_status":null,"assigning_care":null,"note_print":null},"returned_fee":0,"returned_items":[{"discount_each_product":0,"id":1423,"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","returned_quantity":1,"variation_id":"76887a5b-8a27-472c-a15a-661ea59434dd","variation_info":{"barcode":"12392-4","detail":"mau: trang, size: X","id":"Nam Pari TX","images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/9/29/d05f44dcf2b9f96312d88b718da35aa5317242d6.jpg",],"name":"Áo thời trang Nam Pari","one_time_product_id":null,"product_id":"Áo thời trang Nam Pari","retail_price":500000,"retail_price_by_currency":[{"currency":"USD","retailPriceByCurrency":"100"},{"currency":"VND","retailPriceByCurrency":"200000"}],"weight":700,}}],"shop_customer_id":"fd3388d9-d6a6-4fca-8ef5-9e7647395cf0","shop_id":20,"status":0,"status_histories":[{"editor_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","id":"71d9ecce-986f-4cbe-90be-ddaefb0b4c5a","inserted_at":"2024-04-25T08:34:52.000000","old_status":null,"status":0,"updated_at":"2024-04-25T08:34:52.000000"}],"tags":[],"updated_at":"2024-04-25T08:34:50.000000","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"}],"page_number":1,"page_size":30,"success":true,"total_entries":636}
{"data":[{"address":"hâhhha","allow_create_order":true,"commune_id":"7170510","country_code":"84","custom_id":null,"district_id":"71705","full_address":"hâhhha, Xã Bình Trung, Huyện Châu Đức, Bà Rịa-Vũng Tàu","id":"b4cb5897-6e56-4581-96cc-2f12677c7bd8","name":"kho test ecod","phone_number":"0999999999","province_id":"717","shop_id":26290},{"address":"19/349 Minh Khai , Hai bà Trưng, Hà Nội","allow_create_order":false,"commune_id":"1010735","country_code":"84","custom_id":null,"district_id":"10107","full_address":"19/349 Minh Khai , Hai bà Trưng, Hà Nội, Phường Minh Khai, Quận Hai Bà Trưng, Hà Nội","id":"644b0063-e9a8-43cd-ba08-66a8066d462e","name":"kho 2","phone_number":"01655809949","province_id":"101","shop_id":26290}]}
Response Parameters
Parameter
Type
Description
address
string
Details dddress of warehouse (number of houses, roads, ...)
{"data":[{"called_at":"2024-01-30T01:54:17","creator":{"avatar_url":null,"email":"vuson897654@gmail.com","fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn","phone_number":null},"display_id":70,"id":"1885d8d4-e210-4e56-bb32-683988a032f5","need_notify_users":["cee3c05e-5f85-43c4-b27e-889b99c50097"],"needs_call_at":"2024-01-30T02:20:48","notice_created":"Gọi lại cho khách","order_display_id":"SOICUN-12943-02","order_id":106703,"status":1,"type":"call"},...],"key":"today","page_number":1,"page_size":30,"success":true,"total_entries":3,"total_pages":1}
{"order_call_later":{"status":0,"need_notify_users":["cee3c05e-5f85-43c4-b27e-889b99c50097"],"notice_created":"Gọi lại xác nhận","needs_call_at":"2024-08-29T05:50:31.700Z","phone_number":"0929911922"}}
{"product":{"name":"Tên sản phẩm","note_product":"Ghi chú sản phẩm","product_attributes":[{"name":"Màu","values":["Đen","Trắng","Đỏ"]},{"name":"Size","values":["S","M","L"]}],"tags":[193,51],"variations":[{"fields":[{"name":"Màu","value":"Trắng"},{"name":"Size","value":"M"}],"images":["https://statics.pancake.vn/user-content.pancake.vn/2021/8/5/fccd6.jpg"],"last_imported_price":30000,"retail_price":0,"weight":0,"barcode":"BARCODE123","custom_id":"VCUSTOMID","is_hidden":false}],"weight":1,"custom_id":"PCUSTOMID","is_published":true,"variations_warehouses":[{"remain_quantity":10,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","batch_position":"lô 1","shelf_position":"1.2"}]}}
{"product":{"name":"Tên sản phẩm","note_product":"Ghi chú sản phẩm","product_attributes":[{"name":"Màu","values":["Đen","Trắng","Đỏ"]},{"name":"Size","values":["S","M","L"]}],"variations":[{//Cậpnhậtmẫumãcũ"id":"3c3aca82-030e-4708-a75b-b2eaf538a2f5","fields":[{"name":"Màu","value":"Trắng"},{"name":"Size","value":"M"}],"images":[],"last_imported_price":30000,"retail_price":0,"weight":0,"barcode":"BARCODE123","custom_id":"VCUSTOMID","is_hidden":false},{//TạomẫumãmớichoSảnphẩm"fields":[{"name":"Màu","value":"Đỏ"},{"name":"Size","value":"L"}],"images":["https://statics.pancake.vn/user-content.pancake.vn/2021/8/5/fccd6.jpg"],"last_imported_price":30000,"retail_price":0,"weight":0,"barcode":"BARCODE123","custom_id":"VCUSTOMID2","is_hidden":false}],"weight":1,"custom_id":"PCUSTOMID","is_published":true,"tags":[193,51],"variations_warehouses":[{"remain_quantity":10,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","batch_position":"lô 1","shelf_position":"1.2"}]}}
{"data":[{"id":58,"name":"Nước hoa 1","nodes":[{"exchange_value":30,"id":61,"is_default":false,"name":"30 ml","parent_id":58,},],"shop_id":20},...],"success":true}
{"data":[{"date_of_birth":"1999-09-01","fb_id":null,"reward_point":10,"id":"b0110315-b102-436b-8b3b-ed8d16740327","last_order_at":"2020-04-01T10:18:41","level":null,"name":"Trần Thủ độ","order_count":108,"phone_numbers":["0999999999"],"emails":["thudo@gmail.com"],"reward_point":100.5,"purchased_amount":0,"reward_point":0.0,"referral_code":"1nw4geGA","shop_customer_addresses":[{"address":"lê văn lương","commune_id":null,"country_code":null,"district_id":"10101","full_address":"lê văn lương, Quận Ba Đình, Hà Nội","full_name":"test","id":"0fefd213-7d0c-4d5b-bdbf-35694da80857","phone_number":"0999999999","province_id":"101"},{"address":"asdsad","commune_id":"2210951","country_code":null,"district_id":"22109","full_address":"asdsad, Xã Châu Minh, Huyện Hiệp Hòa, Bắc Giang","full_name":"test","id":"ea55405d-9879-4075-8ec4-5df01504f8ec","phone_number":"0999999999","province_id":"221"}],"succeed_order_count":8,"tags":[],"gender":"male"}],"page_number":1,"page_size":30,"success":true,"total_entries":3,"total_pages":1}
{"data":{"succeed_order_count":0,"emails":[],"total_amount_referred":null,"gender":null,"creator_id":"e4cec6de-96fa-4c16-9523-07910ddfee8e","is_block":false,"name":"Nguyen Van Hoang","phone_numbers":["0903924956"],"conversation_tags":null,"currency":null,"last_order_at":"2024-05-16T17:00:00","tags":[],"username":null,"order_count":0,"assigned_user_id":"e4cec6de-96fa-4c16-9523-07910ddfee8e","reward_point":0,"id":"9e749e68-142f-4587-a3b1-70279c30b5c2","is_adjust_debts":null,"level":null,"customer_id":"5b717afb-1856-48c9-9b6e-b8ac9db7d520","updated_at":"2024-05-14T02:59:02","referral_code":"gqo7ulKf","count_referrals":0,"notes":[],"is_discount_by_level":true,"shop_id":20,"purchased_amount":0,"current_debts":0,"list_voucher":[],"date_of_birth":"1995-02-01","used_reward_point":0,"fb_id":null,"user_block_id":null,"inserted_at":"2024-05-14T02:59:02","shop_customer_addresses":[{"address":null,"commune_id":null,"country_code":84,"district_id":null,"full_address":null,"full_name":null,"id":"deeb419a-e7b6-42fd-9684-52ec6a72a41a","phone_number":"0903924956","province_id":null}],"returned_order_count":0,"active_levera_pay":false},"success":true}
{"customer":{"name":"Nguyễn Thị Hằng","gender":"female","emails":["pancake@gmail.com","hoang@gmail.com"],"phone_numbers":["0983925966"],"date_of_birth":"1995-03-04","reward_point":20,"is_discount_by_level":false,"tags":["Hay hoàn"],"is_block":false,"assigned_user_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","level_id":"f8dced06-965d-4070-a765-dd8268373f1e","notes":[{"id":"8a6f5380-4674-44e9-aaf2-40d898d460f5","message":"Khách hàng thân thiết","images":[{"url":"https://content.pancake.vn/user-content-dev2.pancake.vn/2023/9/6/655ae9172118ba9ffde16fa129a7001a392d1fff.png"}]}],"shop_customer_addresses":[{"id":"df631f21-3841-4d1c-8204-b85a7ecfce0c","country_code":84,"province_id":"101""district_id":"10113","commune_id":"1011309","address":"190 Cầu Giấy","full_name":"sơn","phone_number":"0972868874",}]}}
{"customer_notes":[{"notes":[{"created_at":1678075407193,"created_by":{"fb_id":"377936050731194","fb_name":"Vũ Sơn","uid":"cee3c05e-5f85-43c4-b27e-889b99c50097"},"edit_history":[],"id":"a472f7db-b9db-410a-a43a-5f972c685b6c","images":[],"message":"khách hàng mua lại","order_id":"97798","removed_at":null,"updated_at":null}]}]}
{"data":[{"amount":10.0,"creator":{"avatar_url":null,"fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn"},"current_point":20.0,"inserted_at":"2024-09-27T03:40:31","note":"Tăng điểm khi chỉnh sửa điểm thưởng khách hàng"},...],"page_number":1,"page_size":30,"success":true,"total_entries":2,"total_pages":1}
{"data":[{"advertising_cost_id":null,"amount":-70000,"creator":{"avatar_url":null,"fb_id":"1286585024855632","id":"d6e6a545-f102-439e-9943-8ac8369f9735","name":"vudzung12"},"creator_id":"d6e6a545-f102-439e-9943-8ac8369f9735","display_id":"KH6815","id":"5b6bbae4-56b4-4189-a84d-d2ecfecead3e","images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/7/7/eb376f0bf90f47d25396d49e4d547700f182981b.jpg"],"inserted_at":"2023-09-23T05:00:20","is_accounting":false,"is_canceled":false,"is_locked":false,"name":"Giao dịch công nợ #1692 trả nhà cung cấp","note":"trả nhà cung cấp","payment_debts_to_suppliers":false,"payments":["cash"],"shop_id":20,"status":1,"supplier_products_id":293,"table_name":"debts","tag_ids":["193a-e877-359a-b340-01d8-4d2e-2050","55f6-111c-2fd5-38e8-5b9d-009f-d3b1"],"time_incurred":"2023-09-23T05:00:20",},....],"page_number":1,"page_size":30,"success":true,"total_entries":117,"total_pages":4}
{"data":[{"auto_create_debts":true,"total_remain_quantity":1,"status":0,"display_id":6392,"total_quantity":1,"bill_images":[],"not_create_transaction":true,"inserted_at":"2023-09-20T02:21:51","transport_fee":10000,"id":"96bbc665-3fd5-4efc-9d8a-0110ecfa1754","items":[{"id":"02cb1ff3-9b21-4e1c-9288-a29c16bd907d","imported_price":200000,"note_purchase":"áo nam thời trang","product_name":"Áo nam","quantity":1,"selling_status":"bad","variation_id":"20e7d183-c70c-445e-8ce2-4d7e3a378e34"}],"is_lock":null,"images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/7/7/eb376f0bf90f47d25396d49e4d547700f182981b.jpg"],"user_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","prepaid_debt":100000,"total_price":200000,"received_at":"2023-09-21T00:00:00","updated_at":"2023-09-20T02:22:05","total_remain_price":200000,"tags":[1],"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","supplier_products_id":293,"discount":10000,"created_type":"actual_purchase","user":{"avatar_url":null,"fb_id":"377936050731194","id":"cee3c05e-5f85-43c4-b27e-889b99c50097","name":"Vũ Sơn"},"separate_by_display_ids":null,"note":"nhập kho sản phẩm"}],"page_number":1,"page_size":30,"success":true,"total_entries":1,"total_pages":1}
{"newPurchase":{"auto_create_debts":true,"discount":500,"images":["https://statics.pancake.vn/user-content-dev2.pancake.vn/2021/12/27/18c4500c320cb2e993b3ff4b3be81165df64d3ba.png"],"items":[{"imported_price":100000,"quantity":1,"variation_id":"ddefd476-bc91-4151-8cd2-2cf5ad227f09","index":0}],"not_create_transaction":false,"note":"Tách phiếu nhập","prepaid_debt":20000,"received_at":1683997200,"status":0,"supplier_products_id":293,"tags":[1],"transport_fee":0,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"},"oldPurchase":{"auto_create_debts":true,"discount":500,"id":"0ecbdb3b-a376-4a3d-9b8a-174ae15ae886","images":["https://statics.pancake.vn/user-content-dev2.pancake.vn/2021/12/27/18c4500c320cb2e993b3ff4b3be81165df64d3ba.png"],"items":[{"imported_price":100000,"quantity":23,"variation_id":"ddefd476-bc91-4151-8cd2-2cf5ad227f09","index":0}],"not_create_transaction":false,"note":"Nhập hàng để bán","prepaid_debt":20000,"received_at":1683997200,"status":0,"supplier_products_id":293,"tags":[1],"transport_fee":0,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"}}
Request Parameters
Note: newPurchase and oldPurchase use the same request parameters
{"export_list":{"note":"Xuất hàng lỗi","supplier_products_id":169,"status":0,"type":1,"shop_id":20,"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","change_inserted_at":true,"inserted_at":1651683600,"images":["https://statics.pancake.vn/user-content-dev2.pancake.vn/2021/12/27/18c4500c320cb2e993b3ff4b3be81165df64d3ba.png"],"export_items":[{"imported_price":100000,"quantity":1,"variation_id":"29044dcf-2f4c-492f-a0a9-e447b20e21da",}]}}
{"transfer":{"from_warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","to_warehouse_ids":["229102e4-39c3-4523-bd57-4ed0a45a85ba"],"shipping_fee":20000,"items":[{"quantity":1,"variation_id":"20e7d183-c70c-445e-8ce2-4d7e3a378e34"}],"note":"đây là ghi chú","images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/5/27/ee3be79d1574735ed35539ca48f7f6e9d7137706.jpg"],"inserted_at":1694710800}}
{"data":[{"creator_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","display_id":null,"id":"4d0f479d-feab-489b-bc82-4a656902a20b","inserted_at":"2023-10-11T08:25:18","items":null,"note":"Kiểm hàng tồn","progress":0,"shop_id":20,"status":0,"stocktaking_at":"2023-10-11T08:24:56","stocktaking_by":"category_ids","stocktaking_by_value":["1315"],"updated_at":"2023-10-11T09:03:03","updated_status_at":"2023-10-11T08:25:18","warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"}],"page_number":1,"page_size":30,"success":true,"total_entries":258,"total_pages":9}
{"stocktaking":{"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","items":[{"variation_id":"20e7d183-c70c-445e-8ce2-4d7e3a378e34","changed_quantity":-1}],"note":"Kiểm hàng tồn","status":0,"stocktaking_at":"2023-10-11T10:38:34.542Z","stocktaking_by":"category_ids","stocktaking_by_value":["1315"]}}
{"stocktaking":{"creator_id":"890f9367-45cd-43e9-b2cc-ffccda390405","id":"39d023e9-fae5-4eed-a882-2be9d33914b4","items":[{"changed_quantity":-1,"id":"f852fd0b-d299-4ca9-8961-59afead3345b","variation_id":"20e7d183-c70c-445e-8ce2-4d7e3a378e34"}],"note":"Kiểm hàng tồn","status":0,"stocktaking_at":"2023-10-11T10:38:34","stocktaking_by":"category_ids","stocktaking_by_value":["1315"],"warehouse_id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da"}}
Query Parameters
Parameter
Required
Type
Description
creator_id
false
uid
Creator id
id
true
uid
Stocktaking id
items
true
array
List product
items.changed_quantity
true
int
Changed quantity
items.id
true (Update) / false (Create)
uid
Stocktaking item id
items.variation_id
true
string
Variation ID
note
false
string
Note
status
true
int
Export status
stocktaking_at
false
unix timestamp
Stocktaking at
stocktaking_by (1.0)
false
string
Stocktaking by
stocktaking_by_value
false
array
Category id / Supplier products id / Brand id
warehouse_id
true
uid
Warehouse ID
Inventory histories
GET /shops/<SHOP_ID>/inventory_histories?api_key=<api_key> HTTP/1.1
Response
{"data":[{"avg_price":100000,"current_inventory":[{"actual_remain_quantity":1170,"avg_price":242295.345104334,"id":"c52e67ad-d9d0-4276-abe4-e0c9f1f7d2da","name":"Kho mặc định","remain_quantity":968,"total_quantity":1246}],"editor_id":"cee3c05e-5f85-43c4-b27e-889b99c50097","id":186206,"inserted_at":"2024-06-10T10:03:53.015323","quantity":-1,"ref_display_id":"433","remain_quantity":3387,"table_name":"warehouse_transfers","type":"Tạo phiếu chuyển kho #433","variation_now":{"barcode":null,"display_id":"Nam Pari TX","fields":[{"id":"56e0ac18-3bd0-47ac-91ba-0f4056326c1d","keyValue":"WHITE","name":"Color","value":"WHITE"}],"id":"76887a5b-8a27-472c-a15a-661ea59434dd","images":["https://content.pancake.vn/user-content-dev2.pancake.vn/2022/9/29/d05f44dcf2b9f96312d88b718da35aa5317242d6.jpg"],"is_hidden":false,"is_locked":false,"is_sell_negative_variation":true,"last_imported_price":100000,"product_id":"73ec61e2-52e3-41dd-bd24-b7ec1035184d","retail_price":200000,"weight":700,},"warehouse":{"custom_id":null,"ffm_id":null,"full_address":"22, Jalan Kiara 6 jalan utamah pekan nanas johor 81500, Pekan Nenas, Johor, 81500","id":"c0b42d67-7b53-48b7-9119-29c5b6e18d19","name":"kho Malay","phone_number":"0984565082"}}],"page_number":1,"page_size":30,"success":true,"total_entries":1,"total_pages":1}
{"promotion_advance":{"arr_level_promotion":[],"bonus_items":[],"coupon_info":{"discount":0,"is_percent":false},"creator_id":"4eab0efc-2994-4b96-acf0-e4c847668555","customer_tags":[],"discount_by_quantity":1,"display_id":50,"end_time":"2022-03-11T05:04:13","id":"260a0d45-ba88-457b-8b31-afa3fda0ce0e","inserted_at":"2022-03-10T05:04:33","is_activated":true,"group_name":"Nhóm 1","is_discount_in_birthday_customer":false,"is_free_shipping":false,"is_used":null,"is_variation":true,"level_order_prices":[],"name":"test cap nhat km555555","order_sources":[],"post_ids":[],"priority_level":null,"promo_code_info":{"discount":0,"is_percent":false,"max_discount_by_percent":0},"shop_id":3,"start_time":"2022-03-10T05:04:11","total_quantity_bonus":0,"type":"discount_by_product","type_employee":"all","updated_at":"2022-03-10T05:04:33","warehouse_ids":[]}}
{"bill_full_name":"hoang anh ","bill_phone_number":"0999999999","page_id":"256469571178082","creator":{"avatar_url":null,"fb_id":"2042723249341651","id":"8fbe2a6f-b0b2-4227-a698-19d18c43f7c8","name":"Hoang Anh"},"id":1418,"inserted_at":"2020-05-12T04:51:42","updated_at":"2020-05-12T04:51:54","is_free_shipping":false,"received_at_shop":false,"partner_fee":28000,"customer_pay_fee":false,"items":[{"discount_each_product":0,"is_bonus_product":false,"is_discount_percent":false,"is_wholesale":false,"one_time_product":false,"quantity":1,"variation_id":"415040f4-ab63-465e-8699-e9ebfff4c6c7","product_id":"3487e126-b0d9-4dae-89a9-ee60bef2f4e9","variation_info":{"detail":null,"fields":null,"display_id":null,"name":"aaaaaa","product_display_id":null,"retail_price":100000,"weight":100}}],"note":"","note_print":null,"returned_reason":1,"partner":{"cod":0,"custom_partner_id":null,"extend_code":"S58824.MB25.C3.500020713","extend_update":[],"is_returned":null,"order_number_vtp":null,"paid_at":null,"partner_id":1,"sort_code":null,"system_created":true,"total_fee":0,"updated_at":"2020-05-12T05:18:16"},"warehouse_id":"630744ef-4614-4a70-988c-52e6d78c953c","shipping_address":{"address":"aaaaa","commune_id":"2210941","country_code":null,"district_id":"22109","full_address":"aaaaa, Xã Bắc Lý, Huyện Hiệp Hòa, Bắc Giang","full_name":"hoang anh ","phone_number":"0999999999","post_code":null,"province_id":"221"},"shipping_fee":0,"shop_id":4,"status":0,"status_name":"new","tags":[{"id":2,"name":"Chờ cọc"},{"id":3,"name":"Nhập hàng"},{"id":13,"name":"Delay lấy hàng"}],"total_discount":0,"warehouse_info":{"district_id":"10111","full_address":"kakakaka, Phường Khương Trung, Quận Thanh Xuân, Hà Nội","name":"snappy","phone_number":"0999999999","province_id":"101"}}