Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
{"api_version":"v20260901","inventory":[{"id":"k4uSlCgC","action":"POST /storefront_access_tokens.json","method":"POST","path":"/storefront_access_tokens.json","title":"Create an access token ","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/k4uSlCgC-1785219345202699_en.json","source_sha256":"37dd4d7535232a40b7f4780f9a1d8257f527ae6314169f4eeb11f6b699a863af","excluded_reason":"Additional storefront credential provisioning outside merchant grant"},{"id":"HZudpzKG","action":"GET /storefront_access_tokens.json","method":"GET","path":"/storefront_access_tokens.json","title":"Get a list of access tokens","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/HZudpzKG-1785219343980067_en.json","source_sha256":"876c12f38c503142550e1130db35c44b55c2ebd85a2ebefdd7895d20d825b973","excluded_reason":"Additional storefront credential provisioning outside merchant grant"},{"id":"7fBfgDyG","action":"DELETE /storefront_access_tokens/{token_id}.json","method":"DELETE","path":"/storefront_access_tokens/{token_id}.json","title":"Delete an access token","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7fBfgDyG-1785219359920967_en.json","source_sha256":"cad76627cc48733e61b2e1a579e91cd27eca60856ee44ac7c2d0ea734c091412","excluded_reason":"Additional storefront credential provisioning outside merchant grant"},{"id":"JeIKq5Oi","action":"POST /orders.json","method":"POST","path":"/orders.json","title":"Create an order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JeIKq5Oi-1785219581510367_en.json","source_sha256":"a488c919fe5c75e81a798fb3520095b6edd686b4c077d8249f2747820d2ebbf8","risk":"H"},{"id":"jyjIsvq9","action":"GET /orders.json","method":"GET","path":"/orders.json","title":"Get orders","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/jyjIsvq9-1787206779922707_en.json","source_sha256":"01dde9a8907a0221b3f7f12ff1cc1ba4520b2024eaebf986d3949742793933e9","risk":"R"},{"id":"4GOFr2bU","action":"PUT /orders/{id}.json","method":"PUT","path":"/orders/{id}.json","title":"Update an order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/4GOFr2bU-1785219575701518_en.json","source_sha256":"378f00e7ffd4f0ce335004ec4d445a7cd56bfa17e7ce3fdea67237c34dd1b58d","risk":"H"},{"id":"NjTxSauJ","action":"POST /orders/{id}/cancel.json","method":"POST","path":"/orders/{id}/cancel.json","title":"Cancel order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NjTxSauJ-1785219574346943_en.json","source_sha256":"ddaaa0ef06a85fe1075bcb8dad7b29df63ca63a65a853beb5d222af2a15e8b71","risk":"D"},{"id":"wxH6Iy4T","action":"DELETE /orders/{order_id}.json","method":"DELETE","path":"/orders/{order_id}.json","title":"Delete an order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/wxH6Iy4T-1785219455782872_en.json","source_sha256":"e38c22adf0d54a9664a11f8944a8dbb8f1e548fc60392bf76d07500d3866755b","risk":"D"},{"id":"sEnRib5i","action":"GET /orders/v2/{order_id}/risks.json","method":"GET","path":"/orders/v2/{order_id}/risks.json","title":"Get fraud risks for an order","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sEnRib5i-1785219209225041_en.json","source_sha256":"5317d985b8c480956534077b8dae663f7d5206ecdc9c1bb1db0080916afde219","risk":"R"},{"id":"9dTzkrIq","action":"GET /orders/v2/{order_id}/risks/{risk_id}.json","method":"GET","path":"/orders/v2/{order_id}/risks/{risk_id}.json","title":"Query risk fraud for order specify","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/9dTzkrIq-1785219213109962_en.json","source_sha256":"fec7103f0db4eee59c52ba33d439d895ae52c16fa2274fa4e071afede489adf9","risk":"R"},{"id":"HFgk9L11","action":"POST /orders/v2/{order_id}/risks.json","method":"POST","path":"/orders/v2/{order_id}/risks.json","title":"Add risk fraud","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/HFgk9L11-1785219207998621_en.json","source_sha256":"4c26f3cbc6b7f90dbf00499e5a8d4d697b32ba331422ba2baeaa54cbced623bb","risk":"H"},{"id":"Cijz1xYx","action":"PUT /orders/v2/{order_id}/risks/{risk_id}.json","method":"PUT","path":"/orders/v2/{order_id}/risks/{risk_id}.json","title":"Update order risk fraud","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Cijz1xYx-1785219211492069_en.json","source_sha256":"1280bdde3130e06e90953c3ab7cfb5d1085749cb5b11b20035066382838b217f","risk":"H"},{"id":"jR9NsjQ4","action":"DELETE /orders/v2/{order_id}/risks.json","method":"DELETE","path":"/orders/v2/{order_id}/risks.json","title":"Delete all risk fraud related to the order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/jR9NsjQ4-1785219207127816_en.json","source_sha256":"735e04b00da4688a4a1fe6dcc9c74780cb37523741e7c86df8fe9ae2bc033acb","risk":"D"},{"id":"1nznIN9g","action":"DELETE /orders/v2/{order_id}/risks/{risk_id}.json","method":"DELETE","path":"/orders/v2/{order_id}/risks/{risk_id}.json","title":"Remove the specify of the order risk fraud","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1nznIN9g-1785219210368476_en.json","source_sha256":"c960904f77fd9e3d6f7c71869969d013b690ce1f61eb2cf46bee719822b8ad52","risk":"D"},{"id":"zrWzh9y7","action":"GET /orders/{order_id}/refunds.json","method":"GET","path":"/orders/{order_id}/refunds.json","title":"Get refunds associated with an order","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zrWzh9y7-1785219607652422_en.json","source_sha256":"bdbe804c422238d8b932b52057da7bc76ce303c93915ec657349026031327ddf","risk":"R"},{"id":"vUbfUhfM","action":"GET /orders/{order_id}/refunds/{refund_id}.json","method":"GET","path":"/orders/{order_id}/refunds/{refund_id}.json","title":"Query order specify of your money back order","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/vUbfUhfM-1785219410314278_en.json","source_sha256":"604f4cd9b0b6432f7b8f1f1ebb61c7abde8b2e41da0a13b8784fe886570c5eb7","risk":"R"},{"id":"G11MNGS1","action":"POST /order/refund.json","method":"POST","path":"/order/refund.json","title":"Order refund","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/G11MNGS1-1785219334555789_en.json","source_sha256":"68c012fd29a6e9b0f3208432cb787c6a708c21a220921697d934bf9ccd86bbef","risk":"H"},{"id":"WdjOC38Q","action":"POST /orders/{order_id}/refunds/calculate.json","method":"POST","path":"/orders/{order_id}/refunds/calculate.json","title":"Order refund trial","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/WdjOC38Q-1785219221328493_en.json","source_sha256":"aac50b8f898fcd84756be4a51dc495bcfcac7badef40520d9089fd8230122d25","risk":"R"},{"id":"MO3GAeBj","action":"GET /orders/count.json","method":"GET","path":"/orders/count.json","title":"Get an order count","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MO3GAeBj-1785219241660376_en.json","source_sha256":"8e599bce709629d038588a55295446fcdedd33ad2157f575b6df39248e8adae5","risk":"R"},{"id":"dnygegkfuzcxquxe","action":"POST /orders/order_attribution_info.json","method":"POST","path":"/orders/order_attribution_info.json","title":"Get order attribution in bulk","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/dnygegkfuzcxquxe-1785219580156047_en.json","source_sha256":"7ce896ad9fa998b52e392eab5b245c6814267b3c24a326d466885288d985aa01","risk":"R"},{"id":"zmymuw8884fmeb8c","action":"POST /{order_id}/send_order_email.json","method":"POST","path":"/{order_id}/send_order_email.json","title":"Send an order invoice email","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zmymuw8884fmeb8c-1785219605879768_en.json","source_sha256":"c2ece5979f768a4f9bce30a441cc3ca3549afeec32f2273d93bbe5106a3d32b9","risk":"H"},{"id":"5a8yyg9gpen3gaay","action":"GET /refunds/refunds_search.json","method":"GET","path":"/refunds/refunds_search.json","title":"Get a list of refunds","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5a8yyg9gpen3gaay-1785219619391902_en.json","source_sha256":"33eeab7bfcd1def0e0218467f9828e74e6bd6b6b1b6eb35489cd0ff24574239d","risk":"R"},{"id":"cVEivicN","action":"GET /orders/abandoned_orders/count.json","method":"GET","path":"/orders/abandoned_orders/count.json","title":"Retrieves a count of checkouts","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/cVEivicN-1785219236469897_en.json","source_sha256":"d1c5a164191f08baf7d269664dea5b3324481b50a01a1055a7f3599c21e4abc3","risk":"R"},{"id":"hO79yrCM","action":"GET /orders/abandoned_orders.json","method":"GET","path":"/orders/abandoned_orders.json","title":"Get abandoned checkouts","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hO79yrCM-1785219571878387_en.json","source_sha256":"e8228c33d7f601a472d626fde701f2c87206b4e050b505e86ad31463a27e8e6d","risk":"R"},{"id":"DDW5SP6j","action":"POST /orders/abandoned_order/hide_mark.json","method":"POST","path":"/orders/abandoned_order/hide_mark.json","title":"Archive and unarchive abandoned checkouts","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/DDW5SP6j-1785219456685890_en.json","source_sha256":"f8f8e77de3e42676921413f40d58f935857df78418dca2cedc51efada5ba54b3","risk":"D"},{"id":"nlzONz0Z","action":"POST /orders/draft_orders.json","method":"POST","path":"/orders/draft_orders.json","title":"Create a draft order","scopes":["write_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/nlzONz0Z-1785219577134706_en.json","source_sha256":"60df382e606297229644dae19eb6e1047af2f13580f91d1180c3b4bc20575fea","risk":"H"},{"id":"rmfq8vlc","action":"PUT /orders/draft_orders.json","method":"PUT","path":"/orders/draft_orders.json","title":"Edit draft order","scopes":["write_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rmfq8vlc-1785219575043415_en.json","source_sha256":"91b0c91bdd107238ff72af7479ce400f4ed3c3cf490efd7ebc39fd679aacc88a","risk":"H"},{"id":"6nWWUIKU","action":"POST /orders/draft_orders/{id}/send_invoice.json","method":"POST","path":"/orders/draft_orders/{id}/send_invoice.json","title":"Send a draft order invoice email","scopes":["write_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6nWWUIKU-1785219037977940_en.json","source_sha256":"07f84bd87f642c49bb85db0571cdc3b4197b6d4abbc4365bdad2e5d8844b37b3","risk":"H"},{"id":"87ii2eok","action":"GET /orders/draft_orders.json","method":"GET","path":"/orders/draft_orders.json","title":"Query draft order","scopes":["read_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/87ii2eok-1785219574016799_en.json","source_sha256":"557c099c6905ead0e1733f339d99d0656c418914de385724630047beccbdc24f","risk":"R"},{"id":"SLM9GeDh","action":"DELETE /orders/draft_orders/{draft_order_id}.json","method":"DELETE","path":"/orders/draft_orders/{draft_order_id}.json","title":"Delete draft order","scopes":["write_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/SLM9GeDh-1785219040485977_en.json","source_sha256":"23c13746e0fdc6fcbdb0ff06ac26b1dcbbcd49eb2de1fb1bfc9204c133e2c9b9","risk":"D"},{"id":"KzkFjESc","action":"PUT /orders/draft_orders/{id}/complete.json","method":"PUT","path":"/orders/draft_orders/{id}/complete.json","title":"Complete draft order","scopes":["write_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/KzkFjESc-1785219573351030_en.json","source_sha256":"cc7dd3da2264760cc3fdd3515a35644dc624b0fedfbad921809c2cd900c2b928","risk":"H"},{"id":"bgBViePh","action":"GET /orders/draft_orders/count.json","method":"GET","path":"/orders/draft_orders/count.json","title":"Draft order quantity query","scopes":["read_draft_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bgBViePh-1785219235275112_en.json","source_sha256":"372417c81dfe0057be1d5fa7e24d72f5694ea735e4ceb551a4f4b97052e03005","risk":"R"},{"id":"xAV3BmRs","action":"POST /orders/transactions.json","method":"POST","path":"/orders/transactions.json","title":"Create payment slip","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xAV3BmRs-1785219342596249_en.json","source_sha256":"a9ce13a8308b80e087550d81ef695f0ed90d9ab5ff5aae0b0d242bed401ee255","risk":"H"},{"id":"uOlgGTaP","action":"POST /orders/update_transactions.json","method":"POST","path":"/orders/update_transactions.json","title":"Update payment slip","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uOlgGTaP-1785218963585390_en.json","source_sha256":"f959f55e2ae4aa3bc6ab412a9c6e3ebfdf0d4df86a2040c0cda707c7d2b35295","risk":"H"},{"id":"HYsdSg3v","action":"GET /checkouts/payment_settings.json","method":"GET","path":"/checkouts/payment_settings.json","title":"Query payment settings","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/HYsdSg3v-1785219083672203_en.json","source_sha256":"ebc15e560222d4567f4bff7accd84c5ce0e759fd32bdd3fc01ee336eb9385b6a","risk":"R"},{"id":"JYMd8SUv","action":"GET /orders/pay_channels.json","method":"GET","path":"/orders/pay_channels.json","title":"Query store payment channels","scopes":["read_store_information"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JYMd8SUv-1785218961618309_en.json","source_sha256":"fd328cbabb7b248e7c086634c88c0331dab64fe48cc8ae27c9fcccbe2b90dde1","risk":"R"},{"id":"lZIf4Z4I","action":"POST /fulfillment_service.json","method":"POST","path":"/fulfillment_service.json","title":"Create fulfillment service","scopes":["write_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lZIf4Z4I-1785219440578745_en.json","source_sha256":"c8d3f13d8c32fa7d0482b90a2b360305e92a487e7d50543a334578c4d5482703","risk":"H"},{"id":"eYx21xXE","action":"PUT /fulfillment_service.json","method":"PUT","path":"/fulfillment_service.json","title":"Modify fulfillment service","scopes":["write_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/eYx21xXE-1785219439459750_en.json","source_sha256":"650e5e6b142f92050d6d66c811fbf62de861766350cc3528fdfd6800be51546a","risk":"H"},{"id":"bBIzaBsv","action":"DELETE /fulfillment_service/{id}.json","method":"DELETE","path":"/fulfillment_service/{id}.json","title":"Delete fulfillment service","scopes":["write_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bBIzaBsv-1785219438654393_en.json","source_sha256":"3ca09cfb0966aa0a8361076bde79c394d498f5d27ba288375b6df3a836501943","risk":"D"},{"id":"usNyGpGE","action":"GET /fulfillment_service/{id}.json","method":"GET","path":"/fulfillment_service/{id}.json","title":"Fulfillment service details","scopes":["read_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/usNyGpGE-1785219437461442_en.json","source_sha256":"4f951bc34317632ec17344d95402c3680a39109c9c4807cfbb179a772cdd4c44","risk":"R"},{"id":"LBtNrWNz","action":"GET /fulfillment_service.json","method":"GET","path":"/fulfillment_service.json","title":"Fulfillment service list","scopes":["read_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/LBtNrWNz-1785219442868898_en.json","source_sha256":"86fac06624bebdae99cc4ee9e9c417f1578637c00f1ffaba9eaae541ca3c1282","risk":"R"},{"id":"EU4Xb0F7","action":"POST /fulfillment_service_location/create.json","method":"POST","path":"/fulfillment_service_location/create.json","title":"Create a fulfillment service location","scopes":["write_fulfillment_service"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EU4Xb0F7-1787206778914687_en.json","source_sha256":"efa96f978f6b5c599c1f57406c3f75f59636638621f11851fa262f9fca3d0327","risk":"H"},{"id":"MKlvTdMe","action":"POST /carrier_services.json","method":"POST","path":"/carrier_services.json","title":"Create a new CarrierService","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MKlvTdMe-1785219289122410_en.json","source_sha256":"6ed8a5905e81b17adce7b6f607db4ec220ff05cab9f85037913f03af131366d5","risk":"H"},{"id":"YAVakxMr","action":"GET /carrier_services.json","method":"GET","path":"/carrier_services.json","title":"Receive a list of all CarrierServices","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/YAVakxMr-1785219290313024_en.json","source_sha256":"aedde1318e0e37e12267c30aeb1da8d8f048ba96f8e61c6f81f2108a77d082b8","risk":"R"},{"id":"G7PjiRZP","action":"GET /carrier_services/{carrier_service_id}.json","method":"GET","path":"/carrier_services/{carrier_service_id}.json","title":"Receive a single CarrierService","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/G7PjiRZP-1785219291456992_en.json","source_sha256":"27eb8c9b6acc762b5d61d5d7809a9fb7785c683e77363b0f493839633ae60aae","risk":"R"},{"id":"cfzLJZps","action":"PUT /carrier_services/{carrier_service_id}.json","method":"PUT","path":"/carrier_services/{carrier_service_id}.json","title":"Modify an existing CarrierService","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/cfzLJZps-1785219292361862_en.json","source_sha256":"2c7998c80b82a877c054615567d6b5f2f5db8c3d7a76c15415ba6e745b92ddbd","risk":"H"},{"id":"lh0uu3Vx","action":"DELETE /carrier_services/{carrier_service_id}.json","method":"DELETE","path":"/carrier_services/{carrier_service_id}.json","title":"Remove an existing CarrierService","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lh0uu3Vx-1785219293542303_en.json","source_sha256":"8ba6b216b8ae75a0afa7c5d7eb0402dbe87c2a833ef9407c82204d2907d1e405","risk":"D"},{"id":"zKCgNSbL","action":"POST /orders/{order_id}/fulfillments.json","method":"POST","path":"/orders/{order_id}/fulfillments.json","title":"Create a fulfillment based on an order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zKCgNSbL-1785219591982053_en.json","source_sha256":"d76b7e6b3d0d3c6087487a32c34c55bbf7e2b3fe00255fab43f9cc915329191c","risk":"H"},{"id":"1GKGAglc","action":"POST /orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json","method":"POST","path":"/orders/{order_id}/fulfillments/{fulfillment_id}/cancel.json","title":"Cancel shipping","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1GKGAglc-1785219356667356_en.json","source_sha256":"f8fec33f825262cfc15cb3881ee851be797b9adc17af1aed60ffbd4217c96f78","risk":"D"},{"id":"hXEbkXwh","action":"POST /orders/{order_id}/fulfillments/{fulfillment_id}/update_tracking.json","method":"POST","path":"/orders/{order_id}/fulfillments/{fulfillment_id}/update_tracking.json","title":"Update tracking number","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hXEbkXwh-1785219563252580_en.json","source_sha256":"21985e35e4b39ce2fe0f43c6d874109edda1a6966c3e245b3a291c9411b2e6ea","risk":"H"},{"id":"yF523leW","action":"GET /locations.json","method":"GET","path":"/locations.json","title":"Query inventory address","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/yF523leW-1785219114258889_en.json","source_sha256":"c542a7171008d3ecc637c2922b6fc55710c50716aa802fc762ce56ef8c497c84","risk":"R"},{"id":"b4woIsld","action":"GET /local_delivery/list.json","method":"GET","path":"/local_delivery/list.json","title":"Query all local shipping information","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/b4woIsld-1785219187026785_en.json","source_sha256":"a327f9fba2caa943757f363cc5679eb4f106cbb8087cd8a7f6b3be5d7771ff03","risk":"R"},{"id":"fTNRhC3M","action":"GET /pickup/list.json","method":"GET","path":"/pickup/list.json","title":"Query all pickup information","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/fTNRhC3M-1785219185728089_en.json","source_sha256":"be40adfd42fcd151ca68ffd9536f7eefdac6c7c16502b199775d1f639727d589","risk":"R"},{"id":"xVLmNhdq","action":"GET /fulfillment_orders/{order_id}/{fulfillment_order_id}/fulfillments.json","method":"GET","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}/fulfillments.json","title":"Get all fulfillments for the fulfillment order","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xVLmNhdq-1785219352037891_en.json","source_sha256":"28825e483c0b423a6c80a6262ca95192c0da527bc8fe1c31f932589d225ac929","risk":"R"},{"id":"mDkb8ym8","action":"GET /orders/{order_id}/fulfillments.json","method":"GET","path":"/orders/{order_id}/fulfillments.json","title":"Query all fulfillments for an order","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/mDkb8ym8-1785219560956218_en.json","source_sha256":"0d052796ac507f5dde8ebeccb16d4a16c37dbb9b357259621eac39e69c0c963a","risk":"R"},{"id":"g8mOo8rZ","action":"POST /fulfillments/fulfillments.json","method":"POST","path":"/fulfillments/fulfillments.json","title":"Create an fulfillment for the fulfillment order ( single or batch )","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/g8mOo8rZ-1785219562082195_en.json","source_sha256":"2d4e3ede72375e4ba2f9c6516bc46a104712cb4ea5a9eced0d0956041d99e4b8","risk":"H"},{"id":"kOVO8B8b","action":"POST /fulfillments/{order_id}/{fulfillment_id}/update_tracking.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/update_tracking.json","title":"Update tracking information","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/kOVO8B8b-1785219564975067_en.json","source_sha256":"abb7c1caef183db5f1feb3f9b1de322a5e23b374905de0c3bdb0da2c88de7c34","risk":"H"},{"id":"f6VCtPNf","action":"POST /fulfillments/{order_id}/{fulfillment_id}/cancel.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/cancel.json","title":"Cancel fulfillment","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/f6VCtPNf-1785219357846451_en.json","source_sha256":"6b78407928b74534350d1075885c94e5e90681e3267b56719dbaef5ea2636cc7","risk":"D"},{"id":"nsolhVEd","action":"GET /orders/{order_id}/{fulfillment_id}/fulfillments.json","method":"GET","path":"/orders/{order_id}/{fulfillment_id}/fulfillments.json","title":"Get specify fulfillment under fulfillment order","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/nsolhVEd-1785219359042368_en.json","source_sha256":"16d08c05474faf812a9979f7321b545008533ab082ee93b52025563a075babc6","risk":"R"},{"id":"dOqObIxq","action":"GET /orders/{order_id}/fulfillments/count.json","method":"GET","path":"/orders/{order_id}/fulfillments/count.json","title":"Query number of fulfillment","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/dOqObIxq-1785219242905165_en.json","source_sha256":"e6183017a8108454fadccd6641ba6c1ab58365f4e30eb72006c70327eeba2a8a","risk":"R"},{"id":"rMQt61XZ","action":"POST /fulfillment_orders/{order_id}/{fulfillment_order_id}/move.json","method":"POST","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}/move.json","title":"Update inventory location for fulfillment order","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rMQt61XZ-1785219240390944_en.json","source_sha256":"38884510ebde4257de608f9786e6b5a6f3796c64dba73c9188158d44d6cb0faa","risk":"H"},{"id":"AhAYZ8mr","action":"POST /fulfillment_orders/{order_id}/{fulfillment_order_id}/hold.json","method":"POST","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}/hold.json","title":"Performance appointment marker onhold","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/AhAYZ8mr-1785219255939972_en.json","source_sha256":"39b1bb02beb1926e3776e29a1f49b0840f82ddef67dc1fb3752b3462157257f3","risk":"H"},{"id":"bA8BfEA7","action":"POST /fulfillment_orders/{order_id}/{fulfillment_order_id}/release_hold.json","method":"POST","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}/release_hold.json","title":"Fulfillment order release onhold status","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bA8BfEA7-1785219254662168_en.json","source_sha256":"93b5ad2530f81e6575e5514d8f8d1695b8cf707e8ac3d73b9ff5ec10a687f30f","risk":"H"},{"id":"WtTlPAKh","action":"POST /fulfillment_orders/{order_id}/{fulfillment_order_id}/reschedule.json","method":"POST","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}/reschedule.json","title":"Re-book the date of the sale","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/WtTlPAKh-1785219253372868_en.json","source_sha256":"f48f81934ff8fb498c9015b696f50f88c058baec7becc3cb65b694500c4664d9","risk":"H"},{"id":"d26rUEXk","action":"POST /fulfillment_orders/{order_id}/set_fulfillment_orders_deadline.json","method":"POST","path":"/fulfillment_orders/{order_id}/set_fulfillment_orders_deadline.json","title":"Set up a fulfillment order deadline","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/d26rUEXk-1785219239133096_en.json","source_sha256":"a076ed0070abd2286d06544553cb7b5daf0bc204a92fefc26bccc4c64483f103","risk":"H"},{"id":"wkddzuIa","action":"GET /fulfillment_orders/{order_id}/fulfillment_orders.json","method":"GET","path":"/fulfillment_orders/{order_id}/fulfillment_orders.json","title":"Get all fulfillment orders","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/wkddzuIa-1785219578040042_en.json","source_sha256":"3e8d8b440e0ffaab13eaaf6d3606a7ded18b779e781d884e16642378fe48b39e","risk":"R"},{"id":"rYHEclgd","action":"GET /fulfillment_orders/{order_id}/{fulfillment_order_id}.json","method":"GET","path":"/fulfillment_orders/{order_id}/{fulfillment_order_id}.json","title":"Get specify fulfillment order","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rYHEclgd-1785219237751998_en.json","source_sha256":"23d77ca24fddd8ff641ea6dc5fa70b4a3d134619a1d44fae0c020444fd8a4f39","risk":"R"},{"id":"3Ho39wGs","action":"POST /logistics/shipping_zones.json","method":"POST","path":"/logistics/shipping_zones.json","title":"Batch shipping plan","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/3Ho39wGs-1785219320455877_en.json","source_sha256":"b37e2b8155b501558d1b010e8e6fdb4621fa63514a6d3c5c9cb853027f3f816e","risk":"H"},{"id":"jTY9mRXF","action":"POST /fulfillments/{order_id}/{fulfillment_id}/events/create.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/events/create.json","title":"Create fulfillment shipping logistics event","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/jTY9mRXF-1785219432759346_en.json","source_sha256":"58dbbab31d2be37a16fe40f707a4ab343a7061520e59431072d6d74c7d950f3b","risk":"H"},{"id":"d9d0Ohd7","action":"GET /fulfillments/{order_id}/{fulfillment_id}/events/search.json","method":"GET","path":"/fulfillments/{order_id}/{fulfillment_id}/events/search.json","title":"Query fulfillment and delivery logistics events","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/d9d0Ohd7-1785219431899814_en.json","source_sha256":"dabc2818e321006299eb41b8a7b709e7acfc13a0076fdb71457606b9b47d764b","risk":"R"},{"id":"Raxi46xT","action":"DELETE /fulfillments/{order_id}/{fulfillment_id}/events/{event_id}.json","method":"DELETE","path":"/fulfillments/{order_id}/{fulfillment_id}/events/{event_id}.json","title":"Delete fulfillment delivery logistics event","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Raxi46xT-1785219430783180_en.json","source_sha256":"3f15cb8279605c49ae8e883d3ab1ef71e8ebaea10e84178c4aba1ab993fd0d33","risk":"D"},{"id":"ltKYkNzD","action":"GET /fulfillment_orders/fulfillment_orders_search.json","method":"GET","path":"/fulfillment_orders/fulfillment_orders_search.json","title":"Fulfillment order list query","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/ltKYkNzD-1790231073231758_en.json","source_sha256":"043e369654d799b4cc6eb670e945486862e906ea7399f27da6b06154a4a61750","risk":"R"},{"id":"xmHj5sbe","action":"POST /fulfillments/{order_id}/{fulfillment_id}/request.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/request.json","title":"Ship according to fulfillment order request","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xmHj5sbe-1785219427570641_en.json","source_sha256":"f59dd4240337d349fc36c2d2df5e94d146f42eb8b0cce6221dd356a66551fd96","risk":"H"},{"id":"TwHWod13","action":"POST /fulfillments/{order_id}/{fulfillment_id}/request_accept.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/request_accept.json","title":"Fulfillment app accepts request to ship","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TwHWod13-1785219426443919_en.json","source_sha256":"ee2fab7d3d7f56cc013848ebef9bc0d957251bf4819adb0ff2176387a260be99","risk":"H"},{"id":"VTdpX0MK","action":"POST /fulfillments/{order_id}/{fulfillment_id}/request_reject.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/request_reject.json","title":"Fulfillment app rejects shipment request","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VTdpX0MK-1785219425124963_en.json","source_sha256":"1f3a5595c20f091448a32bb8f882a750ade38d4f6434a0ef51d8d5ff1d385a7c","risk":"H"},{"id":"t9CeGrKR","action":"POST /fulfillments/{order_id}/{fulfillment_id}/request_cancellation.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/request_cancellation.json","title":"Fulfillment app requests shipment cancellation","scopes":["read_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/t9CeGrKR-1785219428735709_en.json","source_sha256":"a10e4d13f3283f56e5e83a015f767df2fe7de342d210a6c56fec2fb9a53f2398","risk":"D"},{"id":"AUxvMgtM","action":"POST /fulfillments/{order_id}/{fulfillment_id}/cancellation_request_accept.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/cancellation_request_accept.json","title":"Fulfillment app accepts cancellation request for shipment","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/AUxvMgtM-1785219424560035_en.json","source_sha256":"21bad2a4ef77c8e80734fbfed839b9124de003338ba6a025d77fdfaa942e25fe","risk":"D"},{"id":"c6a69Gv9","action":"POST /fulfillments/{order_id}/{fulfillment_id}/cancellation_request_reject.json","method":"POST","path":"/fulfillments/{order_id}/{fulfillment_id}/cancellation_request_reject.json","title":"Fulfillment app rejects shipment cancellation request","scopes":["write_assigned_fulfillment_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/c6a69Gv9-1785219423118043_en.json","source_sha256":"973921f6695106642635a1af169dcbaebe5461cc0750c460337a6fe7e03aa776","risk":"H"},{"id":"8BWiyzm0","action":"POST /logistics/shipping_zones_v2.json","method":"POST","path":"/logistics/shipping_zones_v2.json","title":"Batch shipping plan V2","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/8BWiyzm0-1785219415027877_en.json","source_sha256":"0afa389676aea3c6ec885aa9e61b3faf6aa58d6c09beb0f4e0d11c98db1e8461","risk":"H"},{"id":"1nVWp7Ha","action":"GET /subscription/{id}/contract.json","method":"GET","path":"/subscription/{id}/contract.json","title":"Query subscription contract details","scopes":["read_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1nVWp7Ha-1785219177983970_en.json","source_sha256":"7c3b053faf7364f0c3226ca9157f1590a5f52c6cb53af2a453ebaa45211e407b","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"jkPiwIKK","action":"POST /subscription/contract.json","method":"POST","path":"/subscription/contract.json","title":"Query subscription contract list","scopes":["read_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/jkPiwIKK-1785219183458781_en.json","source_sha256":"2a736d5ecd57de79a6270008e75ed89a40f2e6bd5b0d31089a58bf5bc4b2f3ab","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"HPs3mbmJ","action":"POST /subscription/{id}/edit_subscription.json","method":"POST","path":"/subscription/{id}/edit_subscription.json","title":"Edit subscription contract information","scopes":["write_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/HPs3mbmJ-1785219176689691_en.json","source_sha256":"e5fda99e11baaf23cbbce0aff4ae5a7ffe823dd937a69834fb8c3abb3bb9951b","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"oGwb0Zyu","action":"POST /subscription/{id}/cancel.json","method":"POST","path":"/subscription/{id}/cancel.json","title":"Cancel subscription contract","scopes":["write_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/oGwb0Zyu-1785219175533568_en.json","source_sha256":"c618734170d93b7c4fc4ddfe57e5648ec522dc9f31a3390bdef5bb1a8349ff01","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"SfHbyNKJ","action":"POST /subscription/{id}/edit_next_billing_date.json","method":"POST","path":"/subscription/{id}/edit_next_billing_date.json","title":"Revise next bill time","scopes":["write_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/SfHbyNKJ-1785219174347305_en.json","source_sha256":"4837f4c28043bedae99bd459dea4e044db9b00783a2d7dd60642f449456e80bb","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"WPyRXTcH","action":"POST /subscription/{id}/skip_next_bill.json","method":"POST","path":"/subscription/{id}/skip_next_bill.json","title":"Skip the next bill","scopes":["write_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/WPyRXTcH-1785219171873891_en.json","source_sha256":"e0500f5de7f792a88f5124c0e777a4dc896ee0bed20581e8e3ab34218943b3ec","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"CsdizY6r","action":"POST /subscription/{id}/create_order.json","method":"POST","path":"/subscription/{id}/create_order.json","title":"Create your order as soon as your subscription contract is created","scopes":["write_subscription_contracts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/CsdizY6r-1785219173140136_en.json","source_sha256":"d3292aacd1e7f312eff632964a2a34e8eb7642b99b3c92ea700dbe52aa7be003","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"8Ayy2vYb","action":"GET /countries/count.json","method":"GET","path":"/countries/count.json","title":"Query country number of tax already configured in stores","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/8Ayy2vYb-1785219198220197_en.json","source_sha256":"f5a7a6b2f5bc8c654aa52922fd1687e3443415da832e4b0d14ef65927b68a239","risk":"R"},{"id":"f3HgNIBX","action":"GET /countries/{id}.json","method":"GET","path":"/countries/{id}.json","title":"Query specify tax information from the country","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/f3HgNIBX-1785219199388708_en.json","source_sha256":"db0cba2088120694aa07bcda5ab85a4989ba145a7331f73ec0772f58c9bdb805","risk":"R"},{"id":"7DxaqoPn","action":"GET /countries.json","method":"GET","path":"/countries.json","title":"Query all tax information in the store","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7DxaqoPn-1785219200574403_en.json","source_sha256":"193244d56504f198682f69f2b5f9357beff844797a69e429a632294300ff5e3f","risk":"R"},{"id":"67E3GARn","action":"GET /provinces/count/{id}.json","method":"GET","path":"/provinces/count/{id}.json","title":"Query quantity of all state provinces in a country","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/67E3GARn-1785219214321455_en.json","source_sha256":"6cfa19b6392bdfe7a9142a021c1c82c0eb9f89c5b4fced4d948f72a658ddfb8d","risk":"R"},{"id":"aOhe4rus","action":"GET /provinces/{province_id}/countries/{id}.json","method":"GET","path":"/provinces/{province_id}/countries/{id}.json","title":"Query state province information","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/aOhe4rus-1785219216763271_en.json","source_sha256":"19a50e780e730bb5ef66d0d302e5da8721e50a2b139e364e8761b1a8d607e7ea","risk":"R"},{"id":"PWzGjkgZ","action":"GET /provinces/{id}.json","method":"GET","path":"/provinces/{id}.json","title":"Query specify all state province information under the country","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/PWzGjkgZ-1785219215534586_en.json","source_sha256":"a2fa3d4b61923d42c40ef41122796bc87f6ee80dd597ad91d5522335603500c8","risk":"R"},{"id":"ebCsTIHy","action":"GET /store_tax_service.json","method":"GET","path":"/store_tax_service.json","title":"Query tax channel","scopes":["write_checkouts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ebCsTIHy-1785219396018702_en.json","source_sha256":"d89a50021d3eb185a5348ec85a28bc289044e6343cc9221588bf2a19b420d7a2","risk":"R"},{"id":"sUqXfsro","action":"POST /store_tax_service/update.json","method":"POST","path":"/store_tax_service/update.json","title":"Update tax channel","scopes":["write_checkouts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sUqXfsro-1785219397160642_en.json","source_sha256":"84a7f4a5968ed608dcdd25f516641b979df5d88d76b7ec7b9e18747c6961bb6b","risk":"H"},{"id":"4hqvEYRU","action":"DELETE /store_tax_service/delete/{country_code}.json","method":"DELETE","path":"/store_tax_service/delete/{country_code}.json","title":"Delete tax channel","scopes":["write_checkouts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/4hqvEYRU-1785219398590132_en.json","source_sha256":"7ae6b86fc82c8ac36ef7fa888324831696869731722213fd5f80fc2b1986204b","risk":"D"},{"id":"ZLVQayBi","action":"GET /orders/{order_seq}/transactions.json","method":"GET","path":"/orders/{order_seq}/transactions.json","title":"Get order payment","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ZLVQayBi-1785219304980600_en.json","source_sha256":"f4f00c4738e3dfdc38cfb7429c680564e7d860cad1586b470a6996f016bc606f","risk":"R"},{"id":"w1asf46hfxme8sy6","action":"POST /transactions/query.json","method":"POST","path":"/transactions/query.json","title":"Get order transactions","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/w1asf46hfxme8sy6-1785219593126842_en.json","source_sha256":"cd2cd4746976700586be41e937b844c543eca144134b41088b514384636d519d","risk":"R"},{"id":"sX0zNgma","action":"GET /return.json","method":"GET","path":"/return.json","title":"Query returns","scopes":["read_returns"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sX0zNgma-1785219547509909_en.json","source_sha256":"8f2565702df18263f82c7e8ebd868eae91324c248657c38144a82466765c0cdf","risk":"R"},{"id":"iM046kc5","action":"POST /return/{id}/close.json","method":"POST","path":"/return/{id}/close.json","title":"Close Return","scopes":["write_return"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/iM046kc5-1785219306133273_en.json","source_sha256":"6ec9e278b6a4e9b26a6eed2237ca7d669558c3be14e7a4659fff3c00531f68b8","risk":"H"},{"id":"xwfeGqTA","action":"GET /return_package.json","method":"GET","path":"/return_package.json","title":"Query Return Fulfillment","scopes":["read_returns"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xwfeGqTA-1785219314494544_en.json","source_sha256":"fbd59ecbc1389301f19a5bdd32222cf37c618a9e4d963e423ff3cbdf8da3480b","risk":"R"},{"id":"Skvd2g9p","action":"POST /return_express_update.json","method":"POST","path":"/return_express_update.json","title":"Update logistics information for a Return Fulfillment","scopes":["write_return"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Skvd2g9p-1785219315655040_en.json","source_sha256":"612d65537f398c7fa34c5dc30860db8c1bfa351e9218b324af691ac14b29238c","risk":"H"},{"id":"7vh491CE","action":"POST /return/package/create.json","method":"POST","path":"/return/package/create.json","title":"Create a Return Fulfillment","scopes":["write_return"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7vh491CE-1785219312144323_en.json","source_sha256":"17ef81e324117d881cd577b06c07e6d7517844d3da48090458232fa18dd921a8","risk":"H"},{"id":"aKOAIdAe","action":"POST /return/create.json","method":"POST","path":"/return/create.json","title":"Create a Return","scopes":["write_return"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/aKOAIdAe-1785219310974928_en.json","source_sha256":"1866395c5161b2f50bdfab2bcb695766738eeea018b9aa71a9bf0d3082a2fe9c","risk":"H"},{"id":"4XX6ZkXz","action":"GET /return_fulfillment.json","method":"GET","path":"/return_fulfillment.json","title":"Query Return Fulfillment Order","scopes":["read_returns"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/4XX6ZkXz-1785219313312057_en.json","source_sha256":"e6e2ecad5f1606d195e6c06c8150807842415cae9d5c7535f03e49d7ad0bb665","risk":"R"},{"id":"yF4n4lWZ","action":"PUT /orders/{id}/hide_mark.json","method":"PUT","path":"/orders/{id}/hide_mark.json","title":"Order archive","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/yF4n4lWZ-1785219379154665_en.json","source_sha256":"f2728cc80c99ae9ab462e126bee1b6f6dee87ffc2c167e406838029c11e6b876","risk":"D"},{"id":"Pdv8xZOJ","action":"PUT /orders/{id}/cancel_hide_mark.json","method":"PUT","path":"/orders/{id}/cancel_hide_mark.json","title":"Cancel order archive","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Pdv8xZOJ-1785219380745061_en.json","source_sha256":"08bc8884818b5a4d8c65e4f81871a40ebfe8277fca866a4918749c5ddbb3fb48","risk":"H"},{"id":"H1IvSCFW","action":"POST /orders/{id}/order_edit_begin.json","method":"POST","path":"/orders/{id}/order_edit_begin.json","title":"Start editing","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/H1IvSCFW-1785219382070579_en.json","source_sha256":"39e5407fd3b6785ecb898e4dc31359f190d4dfa3d3f95556d5dca5e0e36986e8","risk":"H"},{"id":"OP7dp6nv","action":"POST /orders/order_edit_set_quantity.json","method":"POST","path":"/orders/order_edit_set_quantity.json","title":"Set item quantity","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/OP7dp6nv-1785219389464619_en.json","source_sha256":"d9ce61cd8b2cdfe4c545a35e02f7f49d5fe6754c4c8f45e43799e9cb3e2e3acb","risk":"H"},{"id":"a750ygYK","action":"POST /orders/order_edit_add_variant.json","method":"POST","path":"/orders/order_edit_add_variant.json","title":"Add items in order","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/a750ygYK-1785219386308789_en.json","source_sha256":"62b89fe03ed6d5ef322d684c439573ddf84206bb43d97a50aef24b6902cd4a5f","risk":"H"},{"id":"rANeqV7k","action":"POST /orders/order_edit_add_customized_item.json","method":"POST","path":"/orders/order_edit_add_customized_item.json","title":"Add a custom product","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rANeqV7k-1785219384826311_en.json","source_sha256":"6b74986b0319eddf6c774a9ad3a8ad45a2127a9390209107914009c7e2b835be","risk":"H"},{"id":"PVIUEKVT","action":"POST /orders/order_edit_add_line_item_discount.json","method":"POST","path":"/orders/order_edit_add_line_item_discount.json","title":"Add product discount","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/PVIUEKVT-1785219387442497_en.json","source_sha256":"a45856295bc6f8415add14e845a560eb27d5c3dad6769a46ba80ccb436d3e35a","risk":"H"},{"id":"8MoQ6RZf","action":"POST /orders/order_edit_remove_line_item_discount.json","method":"POST","path":"/orders/order_edit_remove_line_item_discount.json","title":"Delete product discount","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/8MoQ6RZf-1785219388301769_en.json","source_sha256":"0b0f8c7b4853cccd054144b02af35755f197a45b9a102bd06d0fc9bfe79a324c","risk":"D"},{"id":"VYvYsoxh","action":"POST /orders/order_edit_commit.json","method":"POST","path":"/orders/order_edit_commit.json","title":"Submit edit results","scopes":["write_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VYvYsoxh-1785219383476190_en.json","source_sha256":"0e3ee03d1d52ad8c4ae2ec022c859f9d5e7c9c0a646afce24e883f9fd80c2c1e","risk":"H"},{"id":"v9nbZbRk","action":"GET /merchants/shop.json","method":"GET","path":"/merchants/shop.json","title":"Query store information","scopes":["read_store_information"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/v9nbZbRk-1785219377702872_en.json","source_sha256":"a91475505e3e4313d805025890de7b201ede18f06e1d863512352b753e0b2128","risk":"R"},{"id":"mkr0DMGa","action":"GET /currency/currencies.json","method":"GET","path":"/currency/currencies.json","title":"Query store settlement currency","scopes":["read_orders"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/mkr0DMGa-1785219188307056_en.json","source_sha256":"91d3e65eb9bbebbcf80513b6e19d93149268ff71be8d1a1da8a099a2b3937ed0","risk":"R"},{"id":"t0tErpyK","action":"GET /store/staff/{uid}.json","method":"GET","path":"/store/staff/{uid}.json","title":"Get a staff member","scopes":["read_store_staff"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/t0tErpyK-1785219500020355_en.json","source_sha256":"4e333c78bb8b7c2825dfe9169500d993acb2cd2c37f9745def60acf6bed5bb54","risk":"R"},{"id":"rWWABvq7","action":"GET /store/list/staff.json","method":"GET","path":"/store/list/staff.json","title":"Get all store staff members","scopes":["read_store_staff"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rWWABvq7-1785219515217436_en.json","source_sha256":"68edafbb59b8319c6ac6962cf702e59da5b728afadfe444fb1442e41e46f8810","risk":"R"},{"id":"1KxTI2Aq","action":"GET /store/operation_logs/{id}.json","method":"GET","path":"/store/operation_logs/{id}.json","title":"Get a store operation log","scopes":["read_store_log"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1KxTI2Aq-1785219522763115_en.json","source_sha256":"ba62632234abb2ab85bc7642bdc9fe9ab03483db3f4fa380db70e79e28b4a3c9","risk":"R"},{"id":"XgJHy1qU","action":"GET /store/operation_logs/count.json","method":"GET","path":"/store/operation_logs/count.json","title":"Get store operation log count","scopes":["read_store_log"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/XgJHy1qU-1785219523776246_en.json","source_sha256":"f384e57ecb87dad0f177047f33340189b5af5d05041efc2ee0048f42e6b27527","risk":"R"},{"id":"lekM0pTI","action":"GET /store/operation_logs.json","method":"GET","path":"/store/operation_logs.json","title":"Get store operation logs","scopes":["read_store_log"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lekM0pTI-1785219523027961_en.json","source_sha256":"a5f3436fbcc829a793c5a2d8727637d7b4b7111712fc02b14ad431d655d91233","risk":"R"},{"id":"hQjOhoYv","action":"GET /store/subscription","method":"GET","path":"/store/subscription","title":"Get active store plans","scopes":["read_store_metrics"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hQjOhoYv-1785219585069168_en.json","source_sha256":"33ecdf3b3d5774b4a985f7396212350cfc6a2c2199b06424d2a08dfccb8297cb","risk":"R"},{"id":"XhHebEKJ","action":"GET /customers/v2/search.json","method":"GET","path":"/customers/v2/search.json","title":"Search for customers","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/XhHebEKJ-1785219339413033_en.json","source_sha256":"755afc8d396c9560539710d39229f0659aea40e04de94d3bbae378a8293a47b9","risk":"R"},{"id":"MLj9GNGw","action":"GET /v2/customers.json","method":"GET","path":"/v2/customers.json","title":"Get customers","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MLj9GNGw-1785219337526879_en.json","source_sha256":"f8fc43c5ae51357282d08da197b0895b4f8a58b5740d02418376e05e136e12d0","risk":"R"},{"id":"hahUrwMh","action":"GET /customers/v2/{id}.json","method":"GET","path":"/customers/v2/{id}.json","title":"Get a customer","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hahUrwMh-1785219340034973_en.json","source_sha256":"696e980da69a53c378fc44dfa60df7a3e9282ceb4a13e879761a209591ed6967","risk":"R"},{"id":"Bar2rIhM","action":"GET /customers/v2/count.json","method":"GET","path":"/customers/v2/count.json","title":"Customer number query","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Bar2rIhM-1785219025203688_en.json","source_sha256":"d291b2a5097b3baa371f690a45e2583d07570efd8723001bb9b31b3b632649ae","risk":"R"},{"id":"E6lFP6oA","action":"POST /customers.json","method":"POST","path":"/customers.json","title":"Create a customer","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/E6lFP6oA-1785219330002555_en.json","source_sha256":"85bb554db65ebdb5313923dd186c882013b495e1817454a752aaccbae8477405","risk":"H"},{"id":"yi5cvhq5","action":"GET /customers/subscribe.json","method":"GET","path":"/customers/subscribe.json","title":"Batch query user subscription information","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/yi5cvhq5-1785219043036886_en.json","source_sha256":"29b1874f8062a3751615fdbceb25cb5439542121448244b63a698355be582037","risk":"R"},{"id":"Sfbfa85r","action":"PUT /customers/{id}.json","method":"PUT","path":"/customers/{id}.json","title":" Update a customer","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Sfbfa85r-1785219337215004_en.json","source_sha256":"55da2a54598f07e79c2c56aec5029ac53fa76e1cb4ce9f6347ce64f0f8484180","risk":"H"},{"id":"krW3erjn","action":"DELETE /customers/{id}.json","method":"DELETE","path":"/customers/{id}.json","title":"Delete customer information","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/krW3erjn-1785219067295021_en.json","source_sha256":"b4fe2ea48ffaba49c7925a338f4cd5cb513a6a6bc690513953321c229e2705f6","risk":"D"},{"id":"PAtfEvto","action":"POST /customers/{id}/send_invite.json","method":"POST","path":"/customers/{id}/send_invite.json","title":"Send activation mail","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/PAtfEvto-1785219098305940_en.json","source_sha256":"54cff72dccdaf41ef5e874599cb59238af776e34f3eb120842a03be6c42b72ec","risk":"H"},{"id":"gT5n2DoD","action":"POST /customers/{id}/account_activation_url.json","method":"POST","path":"/customers/{id}/account_activation_url.json","title":"Activate the customer","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gT5n2DoD-1785219182170127_en.json","source_sha256":"d38c7354db4fbb384494a17866ccb32ab8205c770de4f2220c25b91a2518d58d","risk":"H"},{"id":"Bazhx9vH","action":"GET /customers/{id}/orders.json","method":"GET","path":"/customers/{id}/orders.json","title":"Query specify customer order","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Bazhx9vH-1785219204688571_en.json","source_sha256":"77f040f64c75796a8cddb753718d574259f5966cc4ab5d169b61c17e08697ad5","risk":"R"},{"id":"gVW5o8g4","action":"POST /customer_tags_remove.json","method":"POST","path":"/customer_tags_remove.json","title":"Delete specify customer tag","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gVW5o8g4-1785219265043363_en.json","source_sha256":"bda2297b9e32ad7f7dc04d5136609a77f203c928154ae54e1ab1457c4c0a26ff","risk":"D"},{"id":"TjFz15oe","action":"POST /customers/query_user_by_email.json","method":"POST","path":"/customers/query_user_by_email.json","title":"Check customer information via email","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TjFz15oe-1785219303795576_en.json","source_sha256":"05f4e44178c17661d36c65e3cd55b7083335ef3531cf29bb7c660179ced23161","risk":"R"},{"id":"c3EwErzu","action":"POST /customers/add_blacklist.json","method":"POST","path":"/customers/add_blacklist.json","title":"Add a customer to the blacklist","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/c3EwErzu-1785219539092791_en.json","source_sha256":"920d3cbf3203a1f8eeb61890149b277e4d1c4e3dccd5173f6357983c6aea5c04","risk":"H"},{"id":"rNvNMnUv","action":"POST /customers/remove_blacklist.json","method":"POST","path":"/customers/remove_blacklist.json","title":"Remove a customer from the blacklist","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rNvNMnUv-1785219538538703_en.json","source_sha256":"bae3c0873a6ca2e27103b933a7256c27bdf3d0dc9729eef92f6591bee0f8e628","risk":"H"},{"id":"xCvwzE3L","action":"POST /customer_saved_searches.json","method":"POST","path":"/customer_saved_searches.json","title":"Create customer grouping","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xCvwzE3L-1785219027688030_en.json","source_sha256":"77fd1728881424448461f894d8b9538e05aa365d2d00e59329c8d19cbc0874a0","risk":"W"},{"id":"DKfRxGa6","action":"GET /customer_saved_searches.json","method":"GET","path":"/customer_saved_searches.json","title":"Get customer grouping in bulk","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/DKfRxGa6-1785219024312242_en.json","source_sha256":"c271ec96754982ee10259a252c6f37b60aef75797cd4e250735bcfb84af09838","risk":"R"},{"id":"qO8iZMDI","action":"GET /customer_saved_searches/{id}.json","method":"GET","path":"/customer_saved_searches/{id}.json","title":"Specify customer grouping query","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qO8iZMDI-1785219023091326_en.json","source_sha256":"48e3aa4e69888c8df36ea626af3dd132451c16e7c139e76a9189c34e123414f5","risk":"R"},{"id":"9B4U13W2","action":"GET /customer_saved_searches/{id}/customers.json","method":"GET","path":"/customer_saved_searches/{id}/customers.json","title":"Query all customers in groups","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/9B4U13W2-1785219026449434_en.json","source_sha256":"f30aead28d3bd556315f6515db219bd6a1a08f7a868c1626e71edf95b2f135bc","risk":"R"},{"id":"NhGhNHyN","action":"PUT /customer_saved_searches/{id}.json","method":"PUT","path":"/customer_saved_searches/{id}.json","title":"Update customer grouping","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NhGhNHyN-1785219030090852_en.json","source_sha256":"9ad5eec5b8e7469c245d6ad5e87fc798434536a4ad3914ef4c7e4ae9f4c9037c","risk":"W"},{"id":"z62nAdIb","action":"DELETE /customer_saved_searches/{id}.json","method":"DELETE","path":"/customer_saved_searches/{id}.json","title":"Delete customer grouping","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/z62nAdIb-1785219031337191_en.json","source_sha256":"f79e86f7ded1d82ee9c07ca502e1750f55eee111c5984c837c4fb1a7d6c994af","risk":"D"},{"id":"TYlEE70h","action":"GET /customer_saved_searches/count.json","method":"GET","path":"/customer_saved_searches/count.json","title":"Query store grouping","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TYlEE70h-1785219202932818_en.json","source_sha256":"90076683185de9e117f21018b75fe36f0cc0ca961709b8b3955895a1a63a823a","risk":"R"},{"id":"01WsrrbR","action":"PUT /customers/{id}/addresses/set.json","method":"PUT","path":"/customers/{id}/addresses/set.json","title":"Batch address","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/01WsrrbR-1785219201766666_en.json","source_sha256":"738799cb69fd43c27eb5f8157167ca3e727e1344bc5b13caedf3ebd41d5baffd","risk":"H"},{"id":"BWWBA3ir","action":"POST /customers/{id}/addresses.json","method":"POST","path":"/customers/{id}/addresses.json","title":"Add address 2.0","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/BWWBA3ir-1785219224954356_en.json","source_sha256":"f0a23a8553624dfe9b5116af6f7a638a5b858727e8d224f868d6f5c4f23cd3c6","risk":"W"},{"id":"XircbELK","action":"PUT /customers/{id}/addresses/{address_id}.json","method":"PUT","path":"/customers/{id}/addresses/{address_id}.json","title":"Update a customer address","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/XircbELK-1785219226156899_en.json","source_sha256":"c32baef225e562614b57915f83e3ceaf74472c7e635a735625c1036a726f1b8e","risk":"W"},{"id":"Qri7pOIC","action":"PUT /customers/{id}/addresses/{address_id}/default.json","method":"PUT","path":"/customers/{id}/addresses/{address_id}/default.json","title":"Set default address 2.0","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Qri7pOIC-1785219229459378_en.json","source_sha256":"dc8ade2eedd23abf32a1d7c9554a10df16dc02844b61a33482f20feee68bafb7","risk":"W"},{"id":"KDjva9v0","action":"POST /customers/addresses/list.json","method":"POST","path":"/customers/addresses/list.json","title":"Batch query customer address 2.0","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/KDjva9v0-1785219549728430_en.json","source_sha256":"303fa9f3bc36c6ead7702e2027ad0cbdcaaf22a6447051670824abf6eac3cc1c","risk":"R"},{"id":"kmIfaKNj","action":"GET /customers/{id}/addresses/{address_id}.json","method":"GET","path":"/customers/{id}/addresses/{address_id}.json","title":"Query customer address details 2.0","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/kmIfaKNj-1785219550546823_en.json","source_sha256":"2e437e5cccccf9e9c937e209ee703daa5922e2f3f654481246e8d714277d9f02","risk":"R"},{"id":"1vjsemTF","action":"DELETE /customers/{id}/addresses/{address_id}.json","method":"DELETE","path":"/customers/{id}/addresses/{address_id}.json","title":"Delete customer address 2.0","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1vjsemTF-1785219230718514_en.json","source_sha256":"ed08b89fc6452704e3734db6a23459e51e8e5fbcc1a47c6444a07b7e7c7f0c1b","risk":"D"},{"id":"TCwx9TxN","action":"GET /customers_social_login.json","method":"GET","path":"/customers_social_login.json","title":"Retrieve a list of third-party login configurations of store","scopes":["read_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TCwx9TxN-1785219543959797_en.json","source_sha256":"579764f8230a372059c359eccf14f008b50a3925abe9336566edb879f40c691b","risk":"R"},{"id":"AEgh8GDL","action":"POST /customers_social_login.json","method":"POST","path":"/customers_social_login.json","title":"Update the third-party login configuration of store","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/AEgh8GDL-1785219542821284_en.json","source_sha256":"a291a6c4ba1007fd94bb2d6ce201fbc65f8d39cbd5d7019ae25f0d8ecdef30ad","excluded_reason":"External social-login application credential configuration outside existing merchant business grant"},{"id":"JZylasw1","action":"DELETE /customers_social_login.json","method":"DELETE","path":"/customers_social_login.json","title":"Delete the third-party login configuration of store","scopes":["write_customers"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JZylasw1-1785219542012286_en.json","source_sha256":"0051a7b907714de04176efd7e50b488e5b0bb823f76a377f2bfd10cc124afa13","excluded_reason":"External social-login application credential configuration outside existing merchant business grant"},{"id":"P0FAlOwy","action":"GET /products/products.json","method":"GET","path":"/products/products.json","title":"Get products","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/P0FAlOwy-1785219643110672_en.json","source_sha256":"d2238936bab40254aba7ce10f530a4bef4f812b57a38da1b236ff1aa2a49fc0c","risk":"R"},{"id":"Dlj2TNTM","action":"GET /products/count.json","method":"GET","path":"/products/count.json","title":"Get product count","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Dlj2TNTM-1785219584493547_en.json","source_sha256":"33f8e7d9b3e4e520578ae0d737a2ca33bdc6d229747c41a055681ff1dd1cdf97","risk":"R"},{"id":"GiOQ66py","action":"GET /products/{product_id}.json","method":"GET","path":"/products/{product_id}.json","title":"Get a product","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/GiOQ66py-1785219642519457_en.json","source_sha256":"ec8eaa25563563b7364bcef123170f36f7050343ed7d17685735cd5abdfbe1ec","risk":"R"},{"id":"7EBTln5x","action":"POST /products/products.json","method":"POST","path":"/products/products.json","title":"Create a product","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7EBTln5x-1785219643748834_en.json","source_sha256":"a3bf6f0d4be72f68f5a1895484f55e125db0951c86fa04bd50a8d08ed5abeec6","risk":"H"},{"id":"MGsGAKml","action":"PUT /products/{product_id}.json","method":"PUT","path":"/products/{product_id}.json","title":"Update a product","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/MGsGAKml-1788763300700027_en.json","source_sha256":"96f7f47d2c953d60c66a180ce73c0f27f0637ce574590db37e8676597adb3be2","risk":"H"},{"id":"gfur9n3tmdecgzex","action":"GET /products/product_options/hot.json","method":"GET","path":"/products/product_options/hot.json","title":"Get top-selling product options","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gfur9n3tmdecgzex-1785219618273505_en.json","source_sha256":"60ada429d1b5e577a05cf0858c03ddc5e47f79dd96928c9dd24d2f16d381279f","risk":"R"},{"id":"fz5jcTPd","action":"DELETE /products/{product_id}.json","method":"DELETE","path":"/products/{product_id}.json","title":"Delete a product","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/fz5jcTPd-1785218936539300_en.json","source_sha256":"07b92d88ed178bd96647687290ee405739eb696405cd6fcd830a49e50b6ea394","risk":"D"},{"id":"kndtryvudgwmz3gv","action":"GET /products/taxonomy_categories.json","method":"GET","path":"/products/taxonomy_categories.json","title":"Get standard product categories","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/kndtryvudgwmz3gv-1789542933258671_en.json","source_sha256":"5d093f0e86d8f45c2c7939b89094c65e5735384b6ad7acd78a0445e1e7160604","risk":"R"},{"id":"gH8FLtIV","action":"GET /products/{product_id}/variants.json","method":"GET","path":"/products/{product_id}/variants.json","title":"Get product variants","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gH8FLtIV-1785219277545331_en.json","source_sha256":"5d799b6cffdc4b8f1359ca6b43dcf7cbfba7e47113ab733f2b718df3a4832984","risk":"R"},{"id":"YHWMK8V9","action":"GET /products/{product_id}/variants/count.json","method":"GET","path":"/products/{product_id}/variants/count.json","title":"Get the total count of product variants ","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/YHWMK8V9-1785218929044930_en.json","source_sha256":"e7e30a5df226d978da95c3badf201d2645d7a8a6b1cda9c7b594f1698b70fe36","risk":"R"},{"id":"GKoQk4QN","action":"GET /products/variants/{variant_id}.json","method":"GET","path":"/products/variants/{variant_id}.json","title":"Get a product variant ","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/GKoQk4QN-1785219278759798_en.json","source_sha256":"efab68047f6be6b742f1e2dbfcfbb5daf76527cdfb5a5391ac711ddc1f5dc8f3","risk":"R"},{"id":"zYmEnSCX","action":"POST /products/{product_id}/variants.json","method":"POST","path":"/products/{product_id}/variants.json","title":"Create a variant","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zYmEnSCX-1785219271108019_en.json","source_sha256":"18cc3a0321c2ff9bf62dd56ecaa526a313ca1b775bce7ade2b28f45f7043364a","risk":"H"},{"id":"0oMgmhd1","action":"PUT /products/variants/{variant_id}.json","method":"PUT","path":"/products/variants/{variant_id}.json","title":"Update a variant","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/0oMgmhd1-1785219272357921_en.json","source_sha256":"32d0e07db6af5affc7903bf4b787d301ee8997bb9ac208296628d3f2bc555b21","risk":"H"},{"id":"PMRZxmYD","action":"DELETE /products/{product_id}/variants/{variant_id}.json","method":"DELETE","path":"/products/{product_id}/variants/{variant_id}.json","title":"Delete a variant","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/PMRZxmYD-1785218954877134_en.json","source_sha256":"899b4827497392b70ee7262db791832188adc28c52a90efb9b793339a65a98ad","risk":"D"},{"id":"CIRhlpPI","action":"GET /products/collections/{collection_id}.json","method":"GET","path":"/products/collections/{collection_id}.json","title":"Get a collection by ID","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/CIRhlpPI-1789021085755967_en.json","source_sha256":"24b32cead1b8e7f396d8d9d3804c7a136770943ce3aaa8069fa69ba78d384cc9","risk":"R"},{"id":"2xr0uKI2","action":"GET /products/collections/{collection_id}/products.json","method":"GET","path":"/products/collections/{collection_id}/products.json","title":"Get products in a collection","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2xr0uKI2-1785219299524446_en.json","source_sha256":"48aa2dde5e4b947e33c37cc138aa516e2f67ee2f56d9f1769d7e27d35a7d5b9e","risk":"R"},{"id":"6nf1FLgi","action":"GET /products/custom_collections/{custom_collection_id}.json","method":"GET","path":"/products/custom_collections/{custom_collection_id}.json","title":"Get a manual collection by ID","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6nf1FLgi-1785218930254601_en.json","source_sha256":"f424a1b5cd5185b4d23b21ba90ce32229b7537ab27ea052814b98f604cf904e0","risk":"R"},{"id":"yqck059F","action":"GET /products/smart_collections/{smart_collection_id}.json","method":"GET","path":"/products/smart_collections/{smart_collection_id}.json","title":"Get a smart collection by ID","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/yqck059F-1789021085815469_en.json","source_sha256":"b75285f556176f03e398463c016c265f8d7130786c0461d670312cb7bd9fa74d","risk":"R"},{"id":"pGM2yLvm","action":"GET /products/custom_collections.json","method":"GET","path":"/products/custom_collections.json","title":"Get manual collections","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pGM2yLvm-1785218941415155_en.json","source_sha256":"8ebf2806f134d4d586c3378d40486f92f174670404db6fe3f8fb368fcb36de5c","risk":"R"},{"id":"wDcE6yVd","action":"GET /products/smart_collections.json","method":"GET","path":"/products/smart_collections.json","title":"Get smart collections","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/wDcE6yVd-1789021085835571_en.json","source_sha256":"0a423a0c0ba5f3e27165cc7b16584f4afa22bc6f14ffaef16388095a93fa077d","risk":"R"},{"id":"sKTwkfOC","action":"GET /products/custom_collections/count.json","method":"GET","path":"/products/custom_collections/count.json","title":"Get the count of manual collections","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sKTwkfOC-1785218937708220_en.json","source_sha256":"20eb5b1637ddd613cf6ddaf14f3296e12a47788e61e1bb8efdff3f0bfbb02472","risk":"R"},{"id":"TArL1vtO","action":"GET /products/smart_collections/count.json","method":"GET","path":"/products/smart_collections/count.json","title":"Get the count of intelligent collections","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TArL1vtO-1785218938910814_en.json","source_sha256":"c8311e3aa533474e375d57101f1305db63a6943ca64ef7cfd3e7f65f6078f424","risk":"R"},{"id":"o3srMVaz","action":"POST /products/custom_collections.json","method":"POST","path":"/products/custom_collections.json","title":"Create manual collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/o3srMVaz-1785219615415894_en.json","source_sha256":"cf5eef20069072153fa1bfc483dccb4354c05a5d2e053d6eb101abfdb04e3976","risk":"H"},{"id":"0967Fdsv","action":"POST /products/smart_collections.json","method":"POST","path":"/products/smart_collections.json","title":"Create a smart collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/0967Fdsv-1789021085867803_en.json","source_sha256":"53458156ca3b7859becc8421e6c54fb94a4c9749898fa5bb150724cbd0f395e1","risk":"H"},{"id":"w2ko4TRJ","action":"PUT /products/custom_collections/{custom_collection_id}.json","method":"PUT","path":"/products/custom_collections/{custom_collection_id}.json","title":"Update manual collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/w2ko4TRJ-1785219615692082_en.json","source_sha256":"2a7fdadc420ce484399ebd8d34d06c295b8486e7888c87fe1a24266776a2d3e2","risk":"H"},{"id":"jG1ssm74","action":"PUT /products/smart_collections/{smart_collection_id}.json","method":"PUT","path":"/products/smart_collections/{smart_collection_id}.json","title":"Update a smart collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/jG1ssm74-1789021085840486_en.json","source_sha256":"2a3bc79b9458526123d50ed616593fb5cd0884164b86875c0c4daf518f33445a","risk":"H"},{"id":"VyWnMCXu","action":"DELETE /products/custom_collections/{custom_collection_id}.json","method":"DELETE","path":"/products/custom_collections/{custom_collection_id}.json","title":"Delete a manual collection ","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VyWnMCXu-1785218919211846_en.json","source_sha256":"f46e2451329e0bf3f3d4e10999f0a317168af80f8033c0237bec0076f8a7d63f","risk":"D"},{"id":"hYUHgWmR","action":"DELETE /products/smart_collections/{smart_collection_id}.json","method":"DELETE","path":"/products/smart_collections/{smart_collection_id}.json","title":"Delete a smart collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hYUHgWmR-1785218920384621_en.json","source_sha256":"cfff9a94a9307998921b67a52f425913eae827bafe14da0c57964301fbf33ba2","risk":"D"},{"id":"lpg4ibYj","action":"PUT /products/smart_collections/{collection_id}/order.json","method":"PUT","path":"/products/smart_collections/{collection_id}/order.json","title":"Update product sorting in the smart collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lpg4ibYj-1785219457552733_en.json","source_sha256":"ee7c860b37651e3a134172087f580df3c0754ec530cbd4c992089dcd84b77447","risk":"H"},{"id":"jW6haIjt","action":"GET /products/collects.json","method":"GET","path":"/products/collects.json","title":"Get product collection relationships","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/jW6haIjt-1785218948264014_en.json","source_sha256":"374b7b241e46268f9da115ceee6e4731d31d10b653754913beb970413ef50597","risk":"R"},{"id":"oGTcpdFm","action":"GET /products/collects/count.json","method":"GET","path":"/products/collects/count.json","title":"Get the count of product collection relationships","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/oGTcpdFm-1785218949461443_en.json","source_sha256":"767390fdd161e380d04feb6d06b2147d9e48399f47456f9d55ec2a539bd53dc0","risk":"R"},{"id":"NY6APGGG","action":"GET /products/collects/{collect_id}.json","method":"GET","path":"/products/collects/{collect_id}.json","title":"Get a product collection relationship","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NY6APGGG-1785218947358406_en.json","source_sha256":"500248943134b0185dd9619bc9c81fad4cad2cf8dc21a87344a332abeca4ec62","risk":"R"},{"id":"Tvz7cBoA","action":"POST /products/collects.json","method":"POST","path":"/products/collects.json","title":"Create a product collection relationship","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Tvz7cBoA-1785218945256282_en.json","source_sha256":"1cec526ee43191885befc0afd3ba7ffacca47583e401d0462ef316ed21b4b69d","risk":"H"},{"id":"nt78x37dmu4kmw9x","action":"DELETE /products/custom_collections/{collection_id}/products.json","method":"DELETE","path":"/products/custom_collections/{collection_id}/products.json","title":"Remove products from a manual collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/nt78x37dmu4kmw9x-1785219588700943_en.json","source_sha256":"9b9e5037dd56babf7e23ce95063e64a1b9032b6c64087171d1982479e1bd1b99","risk":"D"},{"id":"1y36nqwtpcusm5ab","action":"POST /products/custom_collections/{collection_id}/products.json","method":"POST","path":"/products/custom_collections/{collection_id}/products.json","title":"Add products to a manual collection","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1y36nqwtpcusm5ab-1785219588123335_en.json","source_sha256":"834d3a8c5d3267746bfd06439d382925683085e682b7be8598272444e05ff46b","risk":"H"},{"id":"d5scryTc","action":"DELETE /products/collects/{collect_id}.json","method":"DELETE","path":"/products/collects/{collect_id}.json","title":"Delete a product collection relationship","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/d5scryTc-1785218946187461_en.json","source_sha256":"629fabe509eb3b2278e89d230541c4a87f18d4ea3ec0297de80a7be621f730f2","risk":"D"},{"id":"SSpgCuDk","action":"POST /inventory_levels/set.json","method":"POST","path":"/inventory_levels/set.json","title":"Set the inventory quantity","scopes":["write_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/SSpgCuDk-1785219090711427_en.json","source_sha256":"e76e9304490dfda020a2b1ffac433268646483271316b04cdbc39698a9670835","risk":"H"},{"id":"VYEiJmKX","action":"POST /inventory_levels/adjust.json","method":"POST","path":"/inventory_levels/adjust.json","title":"Adjust the inventory quantity","scopes":["write_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VYEiJmKX-1785219089814588_en.json","source_sha256":"fe613ddbc5cd39f0e4bd674f902d30a1dc203f1c5820979ff5317ab3df1da6f8","risk":"H"},{"id":"vQtxgfbm","action":"PUT /inventory_items/{inventory_item_id}.json","method":"PUT","path":"/inventory_items/{inventory_item_id}.json","title":"Update an inventory item","scopes":["write_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/vQtxgfbm-1789542933276069_en.json","source_sha256":"cca845a977a85ecddb7cf5eeaa45136aac9313fe11d7368e79344fc959853cf9","risk":"H"},{"id":"bAkyZIRu","action":"GET /inventory_levels.json","method":"GET","path":"/inventory_levels.json","title":"Get inventory quantities","scopes":["read_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bAkyZIRu-1785219091854765_en.json","source_sha256":"8f6ca1397ed13cd25ad3a2d87c7364b2a27d345cc1e6b65f296ad89f8444a35f","risk":"R"},{"id":"GnjCMmxU","action":"GET /inventory_items.json","method":"GET","path":"/inventory_items.json","title":"Get inventory items","scopes":["read_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/GnjCMmxU-1789542933279458_en.json","source_sha256":"73fa638fcdb274300b5128d658679c439fff5510e5c6916afa26474b082635a9","risk":"R"},{"id":"GRztkC2L","action":"GET /inventory_items/{inventory_item_id}.json","method":"GET","path":"/inventory_items/{inventory_item_id}.json","title":"Get an inventory item","scopes":["read_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/GRztkC2L-1789542933276344_en.json","source_sha256":"deb4d87a3d9a1dead1831b34707effa213b3f3153bc072124e56f7e8d8a8b0cf","risk":"R"},{"id":"sPa02Hzo","action":"DELETE /inventory_levels/disconnect.json","method":"DELETE","path":"/inventory_levels/disconnect.json","title":"Disconnect an inventory item from a location","scopes":["write_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sPa02Hzo-1785219094692875_en.json","source_sha256":"09610705718aa5d75ed4e8cbfa74a7910930e86662c4aa6417511e011982f8ff","risk":"D"},{"id":"355IIj52","action":"POST /inventory_levels/connect.json","method":"POST","path":"/inventory_levels/connect.json","title":"Link an inventory item to a location","scopes":["write_inventory"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/355IIj52-1785219593968893_en.json","source_sha256":"fb80e92273e632a00fc71c88171cb5c10b4dc86e7f743e2955cc2f29d23b27f7","risk":"H"},{"id":"yOkvXsbT","action":"GET /locations/list.json","method":"GET","path":"/locations/list.json","title":"Get locations","scopes":["read_location"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/yOkvXsbT-1785219245302614_en.json","source_sha256":"fabaa6c7c20a02265f9d2db2c3cb3438ed45542cc85d900efcf952038e30ffe1","risk":"R"},{"id":"Z9O57zQq","action":"GET /locations/{id}.json","method":"GET","path":"/locations/{id}.json","title":"Based on id query location","scopes":["read_location"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Z9O57zQq-1785219244130231_en.json","source_sha256":"0f27b263951951e03a1fe509304378ebd0bc40a84b2b8d0361173e1f3c196c46","risk":"R"},{"id":"HCRWs5I2","action":"GET /locations/count.json","method":"GET","path":"/locations/count.json","title":"Statistics number of locations","scopes":["read_location"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/HCRWs5I2-1785219246481156_en.json","source_sha256":"3f18e7fb5780ec3a882da6651ee65138b21e5bab49d32f86fb8dc5b5bc0c91bc","risk":"R"},{"id":"ckp8ktqadrn1qxee","action":"POST /locations.json","method":"POST","path":"/locations.json","title":"Create an inventory location","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ckp8ktqadrn1qxee-1788761552660823_en.json","source_sha256":"8324840d652251bf728466dbc861ea511058a3185f880f611ae9028c882beb22","risk":"H"},{"id":"2y71f16p4v69tktd","action":"POST /locations/enable.json","method":"POST","path":"/locations/enable.json","title":"Enable an inventory location","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2y71f16p4v69tktd-1788761552662635_en.json","source_sha256":"bcc402c6c45cc4e6cfcd6a528c671912c4c5148efd6d1112f7f8947144ba150b","risk":"H"},{"id":"4cz7wguzs1xzyfxv","action":"POST /locations/disable.json","method":"POST","path":"/locations/disable.json","title":"Disable an inventory location","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/4cz7wguzs1xzyfxv-1788761552650027_en.json","source_sha256":"8b7290e1a2c652cc630427b278644e7cfa2bb24eb86c113ff802e9e7a2c415cb","risk":"D"},{"id":"587men4u1edwubt4","action":"POST /locations/list.json","method":"POST","path":"/locations/list.json","title":"Get inventory locations","scopes":["read_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/587men4u1edwubt4-1788761552720678_en.json","source_sha256":"54815e704b558085ac3de17b30681c4cc8843399dd849bd2744bc07357f87353","risk":"R"},{"id":"7jpyvkpve8bf4qdf","action":"POST /locations/default.json","method":"POST","path":"/locations/default.json","title":"Change the default inventory location","scopes":["write_shipping"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7jpyvkpve8bf4qdf-1788761552653665_en.json","source_sha256":"5b2f73ebf9c59286636800688bf13c176c8ed9a485f3bbe1513de0a6f996976a","risk":"H"},{"id":"h5d0zYF5","action":"POST /gift_cards.json","method":"POST","path":"/gift_cards.json","title":"Create a gift card","scopes":["write_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/h5d0zYF5-1785219664699905_en.json","source_sha256":"b66e520a2431e1f53e546f5c05c22bf2c17b37f48fba492347e6127daddccf09","risk":"H"},{"id":"6huPClCm","action":"PUT /gift_cards/{gift_card_id}.json","method":"PUT","path":"/gift_cards/{gift_card_id}.json","title":"Update a gift card","scopes":["write_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6huPClCm-1785219644688072_en.json","source_sha256":"03ffd214d08da8e8f969c84fe96f56963ac42cf0431780709e4bfd6523c65120","risk":"H"},{"id":"UsypNcgu","action":"POST /gift_cards/{gift_card_id}/disable.json","method":"POST","path":"/gift_cards/{gift_card_id}/disable.json","title":"Disable a gift card","scopes":["write_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/UsypNcgu-1785219667130120_en.json","source_sha256":"036ce106d5e67e5a565ca6ace7beeff000826f01733cd79e46b60b1b38d9d399","risk":"D"},{"id":"YlK46pQ2","action":"GET /gift_cards/{gift_card_id}.json","method":"GET","path":"/gift_cards/{gift_card_id}.json","title":"Get a gift card","scopes":["read_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/YlK46pQ2-1785219665287316_en.json","source_sha256":"6258694f234dbd38171b1f80817ac6fdb9c5dd56fd98ccfb3469dd907e07a3ab","risk":"R"},{"id":"xad8rCxT","action":"GET /gift_cards.json","method":"GET","path":"/gift_cards.json","title":"Get gift cards","scopes":["read_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xad8rCxT-1785219667766513_en.json","source_sha256":"b078ed8f2d158e71680cf9513f9097248d4f415b5df41abcf28c544e0a036943","risk":"R"},{"id":"DdOZFr4X","action":"GET /gift_cards/count.json","method":"GET","path":"/gift_cards/count.json","title":"Get the count of gift cards","scopes":["read_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/DdOZFr4X-1785219149365540_en.json","source_sha256":"76851d82d7b82480544fbe3b7d38705dee6e6c29c10b7430f0d48cc0e37876f6","risk":"R"},{"id":"zeuxmxk1txmhx5xq","action":"POST /gift_cards/{gift_card_id}/send_to_customer.json","method":"POST","path":"/gift_cards/{gift_card_id}/send_to_customer.json","title":"Send a notification to the gift card buyer","scopes":["write_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zeuxmxk1txmhx5xq-1785219664144388_en.json","source_sha256":"ab1293bdf33f3945685efadc9be3b584827964f8f3c86218097e9cb24f80f591","risk":"H"},{"id":"x8hg3x79yrw2zse6","action":"POST /gift_cards/{gift_card_id}/send_to_recipient.json","method":"POST","path":"/gift_cards/{gift_card_id}/send_to_recipient.json","title":"Send a notification to the gift card recipient","scopes":["write_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/x8hg3x79yrw2zse6-1785219663529418_en.json","source_sha256":"0d9404fbdebede65d5b674bc386f58672d0dda96e0de70358541b042ad7f7c2f","risk":"H"},{"id":"ZtH7r8BS","action":"GET /gift_cards/{gift_card_id}/operation_records.json","method":"GET","path":"/gift_cards/{gift_card_id}/operation_records.json","title":"Get gift card operation records","scopes":["read_gift_card"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ZtH7r8BS-1785219489484500_en.json","source_sha256":"19eab50eef8732f9fb72bb088a95d04cc6ab775fced448a0b4355f75bd34ce15","risk":"R"},{"id":"CwvndnAO","action":"DELETE /selling_plan_group/binding.json","method":"DELETE","path":"/selling_plan_group/binding.json","title":"Remove products from a sales plan group","scopes":["write_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/CwvndnAO-1785219162074619_en.json","source_sha256":"6625efe700fef946d3676a515950a5c2bd60df6d71e2433be1e939d67d82bf42","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"8R1bIWEi","action":"POST /selling_plan_group/binding.json","method":"POST","path":"/selling_plan_group/binding.json","title":"Add products to a sales plan group","scopes":["write_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/8R1bIWEi-1785219160890762_en.json","source_sha256":"48702729358ec7e3d2dd4ef32656ff71893dba479b8f2ecbeb795dc19e48e782","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"MdttP5tG","action":"GET /selling_plan_group/{selling_plan_group_id}.json","method":"GET","path":"/selling_plan_group/{selling_plan_group_id}.json","title":"Query sales program group details","scopes":["read_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MdttP5tG-1785219167265545_en.json","source_sha256":"6721e134a73b78e6956cf007d8b27bb7a3df6d8d9998524befb28ab23f280fb9","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"mT6wk4by","action":"GET /selling_plan_group/selling_plan_group.json","method":"GET","path":"/selling_plan_group/selling_plan_group.json","title":"Query multiple selling programs","scopes":["read_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/mT6wk4by-1785219168199272_en.json","source_sha256":"1a0483f686c2de9161d4583697bff2231ebdb25edccf337f5f00c91a443c2de3","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"f91hd1xB","action":"POST /selling_plan_groups/selling_plan_group.json","method":"POST","path":"/selling_plan_groups/selling_plan_group.json","title":"Create a sales plan group","scopes":["write_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/f91hd1xB-1785219164492779_en.json","source_sha256":"b5b3fd02583e368f7c50b2336d05206df82af8ebd5c768f73b2c7c5d6377b7c4","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"Px3dKdca","action":"PUT /selling_plan_groups/selling_plan_group.json","method":"PUT","path":"/selling_plan_groups/selling_plan_group.json","title":"Update sales plan group","scopes":["write_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Px3dKdca-1785219165941517_en.json","source_sha256":"e59f2a88fef7d662c137a1807302e3bd9fd6ae3555a3e3f6e823412e68055cbb","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"G5TIoyOc","action":"DELETE /selling_plan_group/{selling_plan_group_id}.json","method":"DELETE","path":"/selling_plan_group/{selling_plan_group_id}.json","title":"Delete a sales plan group","scopes":["write_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/G5TIoyOc-1785219163259927_en.json","source_sha256":"034e3c9428c0c39ae270b4f75b6db5ee37cc0d93823420a3a3d48dff213776bc","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"x3zxhCpi","action":"GET /selling_plan_groups/count.json","method":"GET","path":"/selling_plan_groups/count.json","title":"Get the sales plan group total number","scopes":["read_selling_plan_group"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/x3zxhCpi-1785219169456724_en.json","source_sha256":"f0e8b4079eff843ded9187aecd0ab97a19151965425eab0cae00ae3b3872000d","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"qiYfBJq2","action":"POST /products/{product_id}/images.json","method":"POST","path":"/products/{product_id}/images.json","title":"Create a product image","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qiYfBJq2-1785219612826042_en.json","source_sha256":"c7a5a28be2b70f9121977ac8b8407a4672272db3b8499322f46b108c54e53da5","risk":"H"},{"id":"MbgQbxC7","action":"DELETE /products/{product_id}/images/{image_id}.json","method":"DELETE","path":"/products/{product_id}/images/{image_id}.json","title":"Delete a product image","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MbgQbxC7-1785219281115331_en.json","source_sha256":"068fb1ffa64aa46d1ca75948f67d195a154affbf15325e8c1e2cd3fc68a79e17","risk":"D"},{"id":"xa5jJ8Da","action":"PUT /products/{product_id}/images/{image_id}.json","method":"PUT","path":"/products/{product_id}/images/{image_id}.json","title":"Update image information","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xa5jJ8Da-1785219613395801_en.json","source_sha256":"c7c85ba56b79b0be46a3a4d2e3f423e7ea4ca5a4f5f67663c8b8f7aa82698cc6","risk":"H"},{"id":"gOmDm8hS","action":"GET /products/{product_id}/images/{image_id}.json","method":"GET","path":"/products/{product_id}/images/{image_id}.json","title":"Get a product image","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gOmDm8hS-1785219614257294_en.json","source_sha256":"2483b5dc0c609e144289604462fed28d1bce637baab667e3d9f460163efafb68","risk":"R"},{"id":"II0p453B","action":"GET /products/{product_id}/images.json","method":"GET","path":"/products/{product_id}/images.json","title":"Get product images","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/II0p453B-1785219614858718_en.json","source_sha256":"76a35d08a931ae7fef41732b8d67226254ab124a9bf14849f0925835e574b1ac","risk":"R"},{"id":"2MzSHJx6","action":"GET /products/{product_id}/images/count.json","method":"GET","path":"/products/{product_id}/images/count.json","title":"Get the count of images for a product","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2MzSHJx6-1785219284671316_en.json","source_sha256":"b244f705dbe5836d8e6cf4ee0806a9b59a760a17f3d3d9dbbc07cbd3ad5d7f79","risk":"R"},{"id":"6eDr9742","action":"POST /files/files.json","method":"POST","path":"/files/files.json","title":"Create a file","scopes":["write_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6eDr9742-1785219599571251_en.json","source_sha256":"22bf635ded0ad3c15ed2411da2639a38e54058ec4e447d76f1df02f3e4a87fad","risk":"H"},{"id":"6Yt0fCDA","action":"PUT /files/{file_id}.json","method":"PUT","path":"/files/{file_id}.json","title":"Update a file","scopes":["write_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6Yt0fCDA-1785219600647533_en.json","source_sha256":"576d6040e0b58e08841c060fb5229f73c43805347a395f1f1e561016d2e6d062","risk":"H"},{"id":"tTI1TpnB","action":"DELETE /files/{file_id}.json","method":"DELETE","path":"/files/{file_id}.json","title":"Delete a file","scopes":["write_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/tTI1TpnB-1785219296401716_en.json","source_sha256":"e609a2e52f06cb4732efd1a84a00aa14956a8d24064e0143bec1ecc919e34643","risk":"D"},{"id":"B1tF6O42","action":"GET /files/{file_id}.json","method":"GET","path":"/files/{file_id}.json","title":"Get a file","scopes":["read_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/B1tF6O42-1785219600167814_en.json","source_sha256":"0141242d6830a89f6eb06d2fbbe75294119868fbcfe49cfb68fffc512fb28fa5","risk":"R"},{"id":"zhCui0CS","action":"GET /files/files.json","method":"GET","path":"/files/files.json","title":"Get files","scopes":["read_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zhCui0CS-1785219671374942_en.json","source_sha256":"31d4e802c00bfb93bd7aaaa34a36ee2657b7938b2ec0af00f9bb2c7d3b5a8857","risk":"R"},{"id":"6sbfkg7v1vn62s4y","action":"DELETE /file-temp-storage/files.json","method":"DELETE","path":"/file-temp-storage/files.json","title":"Delete staging files","scopes":["write_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6sbfkg7v1vn62s4y-1785219620530818_en.json","source_sha256":"3c57fc4f9d557654b50cfe1ff506d1e2240ac654724aec80cfe940531f1a0c80","risk":"D"},{"id":"6MkTalBm","action":"POST /files/upload.json","method":"POST","path":"/files/upload.json","title":"Initiate a multi-file staged upload task","scopes":["write_files"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/6MkTalBm-1789542933321269_en.json","source_sha256":"b8404e8d7f73780f7e61c1aa09b9a07d9f26dd37dabe99ee9bc239f6a0e271bf","risk":"H"},{"id":"l96yJlRA","action":"POST /company_location_catalog/create.json","method":"POST","path":"/company_location_catalog/create.json","title":"Create a company location catalog","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/l96yJlRA-1785219485436536_en.json","source_sha256":"4578497c0bf14705bb3fdd19a0bbf5728f0a30b9b3e555a6d452aba6289b52bd","risk":"H"},{"id":"Cnb2Q2cJ","action":"GET /company_location_catalog/{catalog_id}.json","method":"GET","path":"/company_location_catalog/{catalog_id}.json","title":"Retrieve a company location catalog","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Cnb2Q2cJ-1785219487710771_en.json","source_sha256":"930b653705a18b245d2a50927fac0a300eb1bddae4424afdb2487333758b1078","risk":"R"},{"id":"hEUnZisn","action":"GET /company_location_catalogs.json","method":"GET","path":"/company_location_catalogs.json","title":"Retrieve a list of company location catalogs","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hEUnZisn-1785219485991496_en.json","source_sha256":"bc6538209dff5b2a73bd16076b926b31297151788fd3f5fc2ff72502f287f0b1","risk":"R"},{"id":"IDIjgR4w","action":"PUT /company_location_catalog/{catalog_id}.json","method":"PUT","path":"/company_location_catalog/{catalog_id}.json","title":"Update a company location catalog","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/IDIjgR4w-1785219488296397_en.json","source_sha256":"1680b76938647cee273acb55fb024abdeb945c2c4f6c91f6e41ff8f9f9ed6cd9","risk":"H"},{"id":"tQWRbzCw","action":"DELETE /company_location_catalog/{catalog_id}.json","method":"DELETE","path":"/company_location_catalog/{catalog_id}.json","title":"Delete catalog","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/tQWRbzCw-1785219493020584_en.json","source_sha256":"abcb0fb47e42155b1a19152d2a58e6c39db52643e1507893ac4b4927803eef05","risk":"D"},{"id":"g8vKUPBx","action":"GET /company_location_catalog/locations.json","method":"GET","path":"/company_location_catalog/locations.json","title":"Get catalog locations","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/g8vKUPBx-1785219497628446_en.json","source_sha256":"773d9f25a961807c240c4046f82d800f59f62fb983821dbee4dfc4c745466b1d","risk":"R"},{"id":"RnoY1CBH","action":"GET /company_location_catalog/{catalog_id}/locations.json","method":"GET","path":"/company_location_catalog/{catalog_id}/locations.json","title":"Get catalog locations (recommended)","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RnoY1CBH-1785219529480357_en.json","source_sha256":"8e9049256684037e76c2ec9f2bfba6cd4cad06125fab858c26b177f3861e1a57","risk":"R"},{"id":"784I1Wgx","action":"GET /company_location_catalog/{catalog_id}/products.json","method":"GET","path":"/company_location_catalog/{catalog_id}/products.json","title":"Get catalog products","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/784I1Wgx-1785219491852459_en.json","source_sha256":"c80a10ec66f34f7eee1946d8509394c886c114357197de200ec1410ff18962b7","risk":"R"},{"id":"NJORKC5k","action":"PUT /company_location_catalog/{catalog_id}/published_products.json","method":"PUT","path":"/company_location_catalog/{catalog_id}/published_products.json","title":"Add catalog products","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NJORKC5k-1785219494131165_en.json","source_sha256":"3267b56e45479830a1d76666ccedbf77fb8fa54f9fb92ac2b55ecdc7fb2da0c5","risk":"H"},{"id":"iaDRSu7Z","action":"PUT /company_location_catalog/{catalog_id}/unpublished_products.json","method":"PUT","path":"/company_location_catalog/{catalog_id}/unpublished_products.json","title":"Remove catalog products","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/iaDRSu7Z-1785219495288482_en.json","source_sha256":"dcbef7a15d62b8ec9476c3dfaa06e41436da90969eb1ee1b601cb95a371c2099","risk":"H"},{"id":"LCnBK94M","action":"GET /company_location_catalog/{catalog_id}/{variant_id}.json","method":"GET","path":"/company_location_catalog/{catalog_id}/{variant_id}.json","title":"Specify variant for pricing rules","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/LCnBK94M-1785219496414518_en.json","source_sha256":"75433f9b1189a1739fda422157afa7cddb2d7e740f5ecbc0e8971aa075091f04","risk":"R"},{"id":"0Kw92hKe","action":"PUT /company_location_catalog/variants_pricing.json","method":"PUT","path":"/company_location_catalog/variants_pricing.json","title":"Separate pricing for catalog variants","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/0Kw92hKe-1785219490711546_en.json","source_sha256":"4f326f06b57d51dcd54c445ce1e9838d194c9393befc2766bcf09d7a292e140a","risk":"H"},{"id":"blv7MPJI","action":"PUT /company_location_catalog/{catalog_id}/locations.json","method":"PUT","path":"/company_location_catalog/{catalog_id}/locations.json","title":"Add company locations","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/blv7MPJI-1785219528383528_en.json","source_sha256":"d4fa8648cbbed08d7d55a953332c999434e7fc435f2b2cdf4639a4f00897de2a","risk":"H"},{"id":"h8Bmt15N","action":"DELETE /company_location_catalog/{catalog_id}/locations.json","method":"DELETE","path":"/company_location_catalog/{catalog_id}/locations.json","title":"Remove company locations","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/h8Bmt15N-1785219527814561_en.json","source_sha256":"9d2ac943bdcfd24dc5651580119e0084cc628a064f0f933c5d18bf47cee4050c","risk":"D"},{"id":"bTRB0n4c","action":"POST /taxonomies.json","method":"POST","path":"/taxonomies.json","title":"Create a taxonomy collection node","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bTRB0n4c-1785219557510401_en.json","source_sha256":"6dcfb02c4f22abfa14de36412eb576887faeee1a4e6fdd966458ea810e932be0","risk":"H"},{"id":"WjVDm35D","action":"PUT /taxonomies/{taxonomy_id}.json","method":"PUT","path":"/taxonomies/{taxonomy_id}.json","title":"Update a taxonomy collection node","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/WjVDm35D-1785219556349535_en.json","source_sha256":"feef0851f80e06caa5cbbecf08d8e9e43efea091dbb8f03b82dfdee827fc9373","risk":"H"},{"id":"uHWWE5jA","action":"GET /taxonomies/{taxonomy_id}.json","method":"GET","path":"/taxonomies/{taxonomy_id}.json","title":"Get a taxonomy collection node","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uHWWE5jA-1785219555157409_en.json","source_sha256":"9ed488689229dd14a6f673785ed213994d90431a5dcf1e105b1c45bf8e993bc0","risk":"R"},{"id":"KPmHmR3o","action":"GET /taxonomies/children.json","method":"GET","path":"/taxonomies/children.json","title":"Get child taxonomy collection nodes","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/KPmHmR3o-1785219552874580_en.json","source_sha256":"9d370c37c1163040a8baf6cb8045daede67aff97d1592fc95fc7e77b350e3402","risk":"R"},{"id":"TtY8lURa","action":"DELETE /taxonomies/{taxonomy_id}.json","method":"DELETE","path":"/taxonomies/{taxonomy_id}.json","title":"Delete a taxonomy collection node","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TtY8lURa-1785219554027610_en.json","source_sha256":"a04c7f69944ee8dcec36ed72fe0400b8a09975986c6451346f9923ad7a7c7500","risk":"D"},{"id":"Req2GcIy","action":"GET /taxonomies.json","method":"GET","path":"/taxonomies.json","title":"Get all store taxonomy collection nodes","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Req2GcIy-1785219559841488_en.json","source_sha256":"67c28c8d959bbc786de38aa9f49f2138edd269680904004b1075407dfd47f0ed","risk":"R"},{"id":"d6fmn1hwb79gy2fg","action":"GET /taxonomies/taxonomy_collections.json","method":"GET","path":"/taxonomies/taxonomy_collections.json","title":"Get optimal product taxonomy collection nodes","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/d6fmn1hwb79gy2fg-1788416240719590_en.json","source_sha256":"430425a4a48b19e4b0e401f990e2b9c43d0d2c904a1b11f43a633a04857f3e94","risk":"R"},{"id":"G0JlreHH","action":"GET /store/languages.json","method":"GET","path":"/store/languages.json","title":"Get store languages","scopes":["read_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/G0JlreHH-1785219178922239_en.json","source_sha256":"834c9f795de694a24426f93078356229a22152785ddff13bff540abb006b4b10","risk":"R"},{"id":"WLWKpUMh","action":"POST /store/languages.json","method":"POST","path":"/store/languages.json","title":"Add store languages","scopes":["write_store_information"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/WLWKpUMh-1785219180097350_en.json","source_sha256":"8f7aa3b17e28ca4da0a32b920c41db3edecff28871313757a55856de42192559","risk":"H"},{"id":"KjPaQKDA","action":"DELETE /store/languages.json","method":"DELETE","path":"/store/languages.json","title":"Delete store languages","scopes":["write_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/KjPaQKDA-1785219181002822_en.json","source_sha256":"297b3946e083846fac64ce978a4b2ef9eb950c5b6942ab879075cbb788527f09","risk":"D"},{"id":"pEmxKM9C","action":"GET /ugc/resource.json","method":"GET","path":"/ugc/resource.json","title":"Get store translation data","scopes":["read_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pEmxKM9C-1785219418891341_en.json","source_sha256":"4153d8d7955979eb0ae15c27e06917518453ef23569ed6b336968dad8ca68118","risk":"R"},{"id":"Px0AyUPV","action":"PUT /ugc/resource.json","method":"PUT","path":"/ugc/resource.json","title":"Update store translation data","scopes":["write_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Px0AyUPV-1785219418035952_en.json","source_sha256":"5c19e0a3f5ad1d5ebe1f1b0989f5be43e9ab1a6c5b2a5f9e56ea5733b3c61cd3","risk":"H"},{"id":"lHzGegPe","action":"DELETE /ugc/resource.json","method":"DELETE","path":"/ugc/resource.json","title":"Delete store translation data","scopes":["write_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lHzGegPe-1785219421160297_en.json","source_sha256":"576330bad261bd1d44fc17fc069cc358d9d2029fd579ca7d0c2b16ac5eb675ff","risk":"D"},{"id":"odDJ9S8P","action":"POST /ugc/resources.json","method":"POST","path":"/ugc/resources.json","title":"Get store translation data in bulk","scopes":["read_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/odDJ9S8P-1785219420048853_en.json","source_sha256":"3fb71ac77de1b9f5f2b67c2812ea3aa7737dd460853852cd6b1a06cdbee97d42","risk":"R"},{"id":"FJF7S0sc","action":"GET /store/available_locales.json","method":"GET","path":"/store/available_locales.json","title":"Query store's available languages","scopes":["read_translation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/FJF7S0sc-1785219530587357_en.json","source_sha256":"dff7270a95d70554e5bdef93f1837bafe7e397f706b5f06ce173f9909908f6c6","risk":"R"},{"id":"h2gAYMsO","action":"GET /sales/discount/code","method":"GET","path":"/sales/discount/code","title":"Get a list of discount codes","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/h2gAYMsO-1790241569413800_en.json","source_sha256":"44343a2a7613c0a43f4a33eaceadce34880b6ed3d4d14040a2262d8d2bc9dcd6","risk":"R"},{"id":"MV45MTGE","action":"GET /sales/discount/automatic","method":"GET","path":"/sales/discount/automatic","title":"Get a list of automatic discounts","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/MV45MTGE-1790241569441835_en.json","source_sha256":"aa4f664e3289e53ff25999bf736e3e32ea41849778250ce066e54cbad2c41bdf","risk":"R"},{"id":"ocBhdsBT","action":"POST /sales/price_rules.json","method":"POST","path":"/sales/price_rules.json","title":"Create a discount code price rule","scopes":["write_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ocBhdsBT-1785219670178764_en.json","source_sha256":"50b5b0d278a9eee1c1a4648082f40f7dfbc086e085c2ec7c00c230dd51b4ca57","risk":"H"},{"id":"tYV0JEO6","action":"PUT /sales/price_rules/{price_rule_id}.json","method":"PUT","path":"/sales/price_rules/{price_rule_id}.json","title":"Update a discount code price rule","scopes":["write_price_rules"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/tYV0JEO6-1785219669553917_en.json","source_sha256":"997f11b455bb65eb1835f58737fcfbab1d6e12e23739f310575ea6b86327be74","risk":"H"},{"id":"qRsmYCe5","action":"DELETE /sales/price_rules/{price_rule_id}.json","method":"DELETE","path":"/sales/price_rules/{price_rule_id}.json","title":"Delete existing price rule","scopes":["write_price_rules"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qRsmYCe5-1785218989959668_en.json","source_sha256":"e8d931b24653f2fa756e0afd3bb4a3abef004e1ae92c8fa9ac7a203877a91507","risk":"D"},{"id":"kQAPSSVD","action":"GET /sales/price_rules.json","method":"GET","path":"/sales/price_rules.json","title":"Get discount code price rules","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/kQAPSSVD-1785219668968077_en.json","source_sha256":"4e65133b8624ce9246d1c17c7348c06679c2c19de3b034ea1326d4c6173fb1b8","risk":"R"},{"id":"EGNINDJR","action":"GET /sales/price_rules/{price_rule_id}.json","method":"GET","path":"/sales/price_rules/{price_rule_id}.json","title":"Get a discount code price rule","scopes":["read_price_rules"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EGNINDJR-1785219668350802_en.json","source_sha256":"8863b7e08e9ca36df1bea6db0e3f2608475f49db7efb06eaab14f14af791355c","risk":"R"},{"id":"sjrf68mg7dzgva8q","action":"PUT /sales/price_rules/{price_rule_id}/channels.json","method":"PUT","path":"/sales/price_rules/{price_rule_id}/channels.json","title":"Update sales channels for a price rule","scopes":["write_price_rules"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sjrf68mg7dzgva8q-1785219645817366_en.json","source_sha256":"fd81223b1bffbd6a7daf54af20dfe0a840aaf285f93d27dd3a92885a901dc89e","risk":"H"},{"id":"C373SvOx","action":"GET /sales/price_rules/count.json","method":"GET","path":"/sales/price_rules/count.json","title":"Retrieve all price rules counts","scopes":["read_price_rules"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/C373SvOx-1785218988813877_en.json","source_sha256":"d8184b40f55a8730737dd782912f08da852548a7a3f36e884b95a364c634bfde","risk":"R"},{"id":"sutz8VNv","action":"PUT /sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","method":"PUT","path":"/sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","title":"Update DiscountCode","scopes":["write_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sutz8VNv-1785219002128586_en.json","source_sha256":"0f5272d61ed891ed1cafe50e2809b5e3c50589049aa7fc80917f99f725b7442b","risk":"H"},{"id":"NZxEIBPL","action":"POST /sales/price_rules/{price_rule_id}/discount_codes.json","method":"POST","path":"/sales/price_rules/{price_rule_id}/discount_codes.json","title":"Create DiscountCode","scopes":["write_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NZxEIBPL-1785218995749574_en.json","source_sha256":"619cefb8df68922d8cd88d5cf9925a2d16d982719e7d34aab95c7c63f31d1052","risk":"H"},{"id":"pqlkNkS9","action":"DELETE /sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","method":"DELETE","path":"/sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","title":"Delete DiscountCode","scopes":["write_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pqlkNkS9-1785218999463007_en.json","source_sha256":"44594eaed88d2c499bfaedda5f724b8fe41b88601750aab5a0a70baa133d8ad6","risk":"D"},{"id":"wE26E3in","action":"GET /sales/discount_codes/count.json","method":"GET","path":"/sales/discount_codes/count.json","title":"Query store's total number of DiscountCode","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/wE26E3in-1785218994514564_en.json","source_sha256":"bc806425840ec8419a6962d67de160d8c51c570211e7cbf8b2889b8669359115","risk":"R"},{"id":"Rrl6aNg4","action":"GET /sales/price_rules/{price_rule_id}/discount_codes.json","method":"GET","path":"/sales/price_rules/{price_rule_id}/discount_codes.json","title":"Get all discount codes for a price rule","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/Rrl6aNg4-1790231072994522_en.json","source_sha256":"c4d5f3f94432d65120f2397ab44b867dfde297b4d006b9ef53e6038f24600e4c","risk":"R"},{"id":"XjYg9kzc","action":"GET /sales/discount_codes/lookup.json","method":"GET","path":"/sales/discount_codes/lookup.json","title":"Get a discount code by its code","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/XjYg9kzc-1785218992423690_en.json","source_sha256":"be832a3f7b196aebaf4f7832520ae158e7742da3d69b50c4dc77b824e8cb8285","risk":"R"},{"id":"IjYM4W3l","action":"GET /sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","method":"GET","path":"/sales/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json","title":"Get a discount code by ID","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/IjYM4W3l-1785218991158981_en.json","source_sha256":"b4c71ac448eb12cbcb7fbbbe8a7b53899cadda98e8d10525fb35843f60f9a425","risk":"R"},{"id":"2TSlvuqn","action":"POST /sales/price_rules/{price_rule_id}/batch.json","method":"POST","path":"/sales/price_rules/{price_rule_id}/batch.json","title":"Create promo code created tasks","scopes":["write_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2TSlvuqn-1785219152317513_en.json","source_sha256":"fc7828d183ba8aebd7a4fb1b4407f807228d55fd22d2b2042d42b624f0cf859a","risk":"H"},{"id":"89lFFkY2","action":"GET /sales/price_rules/{price_rule_id}/batch/{batch_id}.json","method":"GET","path":"/sales/price_rules/{price_rule_id}/batch/{batch_id}.json","title":"Based on mission id query promo code information","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/89lFFkY2-1785219153568417_en.json","source_sha256":"9b909510e07fccd13af012e4bec9610a88e3665fff4b55db91316454759710d1","risk":"R"},{"id":"rkqxg3kh5djz4kxf","action":"GET /sales/price_rules/{price_rule_id}/page_discount_codes.json","method":"GET","path":"/sales/price_rules/{price_rule_id}/page_discount_codes.json","title":"Get a list of discount codes for a price rule","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/rkqxg3kh5djz4kxf-1790231073075036_en.json","source_sha256":"ca1b2c29bf207c9272cce6f45abf077a4ca9972e83885a51f52d9a0c9ca8fcc3","risk":"R"},{"id":"ha0dDCH2","action":"GET /sales/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json","method":"GET","path":"/sales/price_rules/{price_rule_id}/batch/{batch_id}/discount_codes.json","title":"Query bulk created discount code list","scopes":["read_discounts"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ha0dDCH2-1785219154798893_en.json","source_sha256":"58fa83540ca960137241ad938dc8d2cf189b3a97991fd2b31b52da9f5de50b64","risk":"R"},{"id":"JtKWEF83","action":"POST /sales/flow/batch_sync_flow_data.json","method":"POST","path":"/sales/flow/batch_sync_flow_data.json","title":"Process Statistics Synchronization","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JtKWEF83-1785219084527703_en.json","source_sha256":"8729e41f80ef69dc4053e6b723be0cd629b8dafac6d7b026256eb1393ad5de42","risk":"H"},{"id":"kRJt8ak7","action":"GET /sales/marketing_events/count.json","method":"GET","path":"/sales/marketing_events/count.json","title":"Query number of marketing events","scopes":["read_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/kRJt8ak7-1785219192066904_en.json","source_sha256":"38fdc546dfdd2cb0fb92ddb56e244423344ea58d123ac328e33e6c25b30b201e","risk":"R"},{"id":"xso5jLvo","action":"GET /sales/marketing_events.json","method":"GET","path":"/sales/marketing_events.json","title":"Query marketing events list","scopes":["read_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xso5jLvo-1785219194473604_en.json","source_sha256":"4966ed5a249499a28ba9ea81977429c79ef7366fd11082a8709ea370d5a644d2","risk":"R"},{"id":"7Lhp2osu","action":"GET /sales/marketing_events/{marketing_event_id}.json","method":"GET","path":"/sales/marketing_events/{marketing_event_id}.json","title":"Query individual marketing events","scopes":["read_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7Lhp2osu-1785219190901501_en.json","source_sha256":"4f095a8067d593dd60e7c08511eaf7d89928ed3f36ceec3e9343ccc9cebef2fc","risk":"R"},{"id":"weHj9xMI","action":"POST /sales/marketing_events.json","method":"POST","path":"/sales/marketing_events.json","title":"Create marketing events","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/weHj9xMI-1785219189574518_en.json","source_sha256":"8710f93bd3a8a9ebfcab09bd289cc7b19124533c4cc8078ecff2a1fd450edb10","risk":"H"},{"id":"srGU5dHy","action":"POST /sales/marketing_events/sync_data.json","method":"POST","path":"/sales/marketing_events/sync_data.json","title":"Mass sync marketing event statistics","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/srGU5dHy-1785219453372369_en.json","source_sha256":"506c057afc0af1c19c08914a15763e589f0cbf206c822f91a008749312a728aa","risk":"H"},{"id":"ADVk74WX","action":"DELETE /sales/marketing_events/{marketing_event_id}.json","method":"DELETE","path":"/sales/marketing_events/{marketing_event_id}.json","title":"Delete marketing events","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ADVk74WX-1785219196975726_en.json","source_sha256":"7fd8c85500a2c2e06c512ade8b9358953ca9ed843c386891d9d1dd0a0cb7e76c","risk":"D"},{"id":"OswQy80w","action":"POST /sales/marketing_events/{marketing_event_id}.json","method":"POST","path":"/sales/marketing_events/{marketing_event_id}.json","title":"Update marketing events","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/OswQy80w-1785219195714994_en.json","source_sha256":"6f537400c99bc855725a2f70f67fc932bce50f1aab2d9f41492b492686c23a18","risk":"H"},{"id":"eql8qoIT","action":"POST /sales/marketing_activity_extension.json","method":"POST","path":"/sales/marketing_activity_extension.json","title":"Create marketing expansion","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/eql8qoIT-1785219287051883_en.json","source_sha256":"7b4ee783fb7a1a032894a5eebf95f9e4c8dbe5827d1b8f505c58353a962ce0e0","risk":"H"},{"id":"fJXmtwWa","action":"POST /sales/marketing_activity_extension/{marketing_activity_id}.json","method":"POST","path":"/sales/marketing_activity_extension/{marketing_activity_id}.json","title":"Update marketing expansion","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/fJXmtwWa-1785219287971819_en.json","source_sha256":"1c96b693238074b8115eb1f93c801f89b4d5a59338e5317768a975aa67de7e8f","risk":"H"},{"id":"P5VTd6ww","action":"POST /sales/promotion_marketing.json","method":"POST","path":"/sales/promotion_marketing.json","title":"Create campaign summary data","scopes":["write_marketing_event"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/P5VTd6ww-1785219422305130_en.json","source_sha256":"9fcde5b133ba98d57d1d2d5fc5f3cf6f1e3bf41c07ec832a612b9599a6458c08","risk":"H"},{"id":"U8zovVnn","action":"GET /markets.json","method":"GET","path":"/markets.json","title":"Query market list","scopes":["read_markets"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/U8zovVnn-1785219548617550_en.json","source_sha256":"e4dd5c26949f9d8a51c21c9fa280628a2c2198aad2bc39e08c037120ff11f0a9","risk":"R"},{"id":"EamFoMdM","action":"GET /markets/{id}.json","method":"GET","path":"/markets/{id}.json","title":"Returns a market resource by ID","scopes":["read_markets"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EamFoMdM-1785219399794677_en.json","source_sha256":"461e0af968d5a33bfd5f5a8a0ae4ce8e060ec09524428e1763644a3b652688c6","risk":"R"},{"id":"cl94HFsb","action":"PUT /markets/{id}/currency_settings.json","method":"PUT","path":"/markets/{id}/currency_settings.json","title":"Market currency update","scopes":["write_markets"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/cl94HFsb-1785219400725977_en.json","source_sha256":"b467b4ddb8b6ba3f684723cca6e549e7efdcd65b882bf7c2635598bf4a054f9f","risk":"H"},{"id":"qKLwvRW1","action":"GET /markets/{variant_id}/price.json","method":"GET","path":"/markets/{variant_id}/price.json","title":"Get product variant prices across markets","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qKLwvRW1-1785219412524086_en.json","source_sha256":"c30080e3b918a9fde7afefdb9f255b4b843322c7bc9f2c13dffc21ff9bad6518","risk":"R"},{"id":"RjZhMx8P","action":"GET /markets/{product_id}/price/range.json","method":"GET","path":"/markets/{product_id}/price/range.json","title":"Get product price ranges across markets","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RjZhMx8P-1785219413329405_en.json","source_sha256":"5d9929f39b455df766c83b51b1ac9d287fdcdc2556b630840c58aa521f79315d","risk":"R"},{"id":"5ybIPYfh","action":"GET /markets/{product_id}/published.json","method":"GET","path":"/markets/{product_id}/published.json","title":"Get product publication status in markets","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5ybIPYfh-1785219414176830_en.json","source_sha256":"1bd1eeb492c8bd23999ae962a72468fe94e2ac6404b91ea8c5fd7ff24114a568","risk":"R"},{"id":"UeBInMTT","action":"GET /markets/{markets_id}/products.json","method":"GET","path":"/markets/{markets_id}/products.json","title":"Get the list of published products in the market","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/UeBInMTT-1785219525439248_en.json","source_sha256":"d80db0f89ceae24f09d979eb2ff52595b0da944b79085b07571b188ad3a1d965","risk":"R"},{"id":"zcerjI9z","action":"POST /markets/{markets_id}/published_products.json","method":"POST","path":"/markets/{markets_id}/published_products.json","title":"Add products to a market","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zcerjI9z-1785219525173693_en.json","source_sha256":"3844c52c5de8ddae0a6d6772f717bb93759f3c1c1a88b674c0d37adaaf53b79b","risk":"H"},{"id":"JEFF3UAJ","action":"POST /markets/{markets_id}/unpublished_products.json","method":"POST","path":"/markets/{markets_id}/unpublished_products.json","title":"Remove products from a market","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JEFF3UAJ-1785219526189414_en.json","source_sha256":"d53c0b5a00488c27d42fafa08bffd6e6692cf114434ba3f4bdf1da0ea979ecea","risk":"H"},{"id":"es32McJv","action":"GET /product_listings.json","method":"GET","path":"/product_listings.json","title":"Get a list of products on a sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/es32McJv-1788761553243695_en.json","source_sha256":"9bd06d9f54111bcee02c6360526bc4b8786885da27ddd59ee46143c7a439793d","risk":"R"},{"id":"7WBIL2ZH","action":"PUT /product_listings/{product_listing_id}.json","method":"PUT","path":"/product_listings/{product_listing_id}.json","title":"Add a product to a sales channel","scopes":["write_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7WBIL2ZH-1785219604065184_en.json","source_sha256":"eb3b0e1f3fccf5e36b92221a6f7252517e0f9d81117d15941762a40b9f47195e","risk":"H"},{"id":"GraKrVET","action":"DELETE /product_listings/{product_listing_id}.json","method":"DELETE","path":"/product_listings/{product_listing_id}.json","title":"Remove a product from a sales channel","scopes":["write_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/GraKrVET-1785219603510485_en.json","source_sha256":"fe533da84495c082683f79fd38abae0e8ac6200e75d8859c705dfca8afaa75ef","risk":"D"},{"id":"X25eJcJb","action":"GET /product_listings/{product_listing_id}.json","method":"GET","path":"/product_listings/{product_listing_id}.json","title":"Get a product on a sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/X25eJcJb-1788761552936095_en.json","source_sha256":"b99a863714e7effca2d3a947e9f361a1953ee12ea465b97b32e37795ac29e7c8","risk":"R"},{"id":"iYas0CnR","action":"GET /collection_listings.json","method":"GET","path":"/collection_listings.json","title":"Get a list of collections on a sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/iYas0CnR-1788761552928973_en.json","source_sha256":"19412cb77ccb8216dff558c6374983e217cfaedebc23ce81be0baf66304d3b14","risk":"R"},{"id":"TYhb5l6L","action":"GET /collection_listings/{collection_listing_id}.json","method":"GET","path":"/collection_listings/{collection_listing_id}.json","title":"Get a collection on a sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TYhb5l6L-1788761552848574_en.json","source_sha256":"eb40ccf0ee053e0f13c3a727fa50d97f9fcff0e939968fcf2fdaff6700cef3f2","risk":"R"},{"id":"L7HL6W0r","action":"PUT /collection_listings/{collection_listing_id}.json","method":"PUT","path":"/collection_listings/{collection_listing_id}.json","title":"Add a collection to a sales channel","scopes":["write_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/L7HL6W0r-1788761552912045_en.json","source_sha256":"5a95e594d222208abbf36036cfe75eea34465dab05a04b031913421e7f22e04f","risk":"H"},{"id":"wsq6P1S2","action":"GET /product_listings/count.json","method":"GET","path":"/product_listings/count.json","title":"Get the product count for your sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/wsq6P1S2-1785219065115749_en.json","source_sha256":"9d1b66d5277a4845314ad654d58d144504f971a1fcac6c86dbf36c1befd114bd","risk":"R"},{"id":"JxCv7RqK","action":"GET /product_listings/product_ids.json","method":"GET","path":"/product_listings/product_ids.json","title":"Get a list of product IDs on a sales channel","scopes":["read_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JxCv7RqK-1788761552624571_en.json","source_sha256":"1e5c6336fe3f5b8ce700468ab78dd26668c8158100bbbca693a47c70b5ac4db9","risk":"R"},{"id":"QYddvv3s","action":"GET /collection_listings/{collection_listing_id}/product_ids.json","method":"GET","path":"/collection_listings/{collection_listing_id}/product_ids.json","title":"Get a list of product IDs for a collection on a sales channel","scopes":["write_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/QYddvv3s-1788761552662726_en.json","source_sha256":"d4ffada1c801617941144336d2ae72e62264db3c3a74a6114029f6b7253402d3","risk":"R"},{"id":"gl3SBo4h","action":"DELETE /collection_listings/{collection_listing_id}.json","method":"DELETE","path":"/collection_listings/{collection_listing_id}.json","title":"Remove a collection from a sales channel","scopes":["write_product_listings"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/gl3SBo4h-1788761552617967_en.json","source_sha256":"dd4e49018ae53cfc64e384d05a9b70ea1c72543736efef8ed3fc829ccf3e3406","risk":"D"},{"id":"dHWK4nNN","action":"POST /products/{product_id}/resource_feedback.json","method":"POST","path":"/products/{product_id}/resource_feedback.json","title":"Resources feedback","scopes":["write_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/dHWK4nNN-1785219266250863_en.json","source_sha256":"ab8eb0b8b8ff18795fd8c795e636cd6ea45f894da44beb2d39a9b3f2be2fee39","risk":"H"},{"id":"pERsw1EL","action":"GET /products/{product_id}/resource_feedback.json","method":"GET","path":"/products/{product_id}/resource_feedback.json","title":"List of resources feedback","scopes":["read_products"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pERsw1EL-1785219267481425_en.json","source_sha256":"cadad7b588825ce43d27819937a7079c9152ced9ae639e36b9a74428162522a0","risk":"R"},{"id":"OJ4KK8vE","action":"POST /app/notify/bind.json","method":"POST","path":"/app/notify/bind.json","title":"Merchant activation successful notification","scopes":["write_payment_gateways"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/OJ4KK8vE-1785219170689749_en.json","source_sha256":"f876eacfadb1e179670d0c8d73f0208ee189c1ac68570de0bb2d82a64dc1f967","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"klsi3GYp","action":"POST /payment/notify/{channel_id}/{payment_method}/pay.json","method":"POST","path":"/payment/notify/{channel_id}/{payment_method}/pay.json","title":"Payment successful notice","scopes":["write_payment_gateways"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/klsi3GYp-1785219539613560_en.json","source_sha256":"1877c37dfc8fa38639d3d471a75f0e4a59f2cdd034ffceba831c8d9209e41715","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"iHqxl7AO","action":"POST /payment/notify/{channel_id}/{payment_method}/refund.json","method":"POST","path":"/payment/notify/{channel_id}/{payment_method}/refund.json","title":"Refund successful notification","scopes":["write_payment_gateways"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/iHqxl7AO-1785219158479928_en.json","source_sha256":"bef2f67077d9fd79bd24fca13050f7f782b11e483aa16e3a58815d15f09aadad","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"hDD0zLak","action":"POST /app/notify/device_bind.json","method":"POST","path":"/app/notify/device_bind.json","title":"Device binding success notification","scopes":["write_payment_gateways"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hDD0zLak-1785219477622890_en.json","source_sha256":"933b99fb0f90838f592cbc12f821107b7ea3ed9b2c8988689919c3495613d915","excluded_reason":"Official access scope is not available to private applications; payment/subscription business qualification required"},{"id":"X38ToCNc","action":"POST /{resource}/{owner_id}/metafields.json","method":"POST","path":"/{resource}/{owner_id}/metafields.json","title":"Create a metafield for a resource","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/X38ToCNc-1785218965896973_en.json","source_sha256":"2d9dc0cf840cde63ed3935e8eb3ec7412b014c50d4f91e6455a87d7dc5cbf9d7","risk":"H"},{"id":"nWhOmpKg","action":"PUT /{resource}/{owner_id}/metafields/{id}.json","method":"PUT","path":"/{resource}/{owner_id}/metafields/{id}.json","title":"Update a metafield for a resource","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/nWhOmpKg-1785218969518704_en.json","source_sha256":"a65e194cce9846a5caf0fd310c540d9baa8610f5b3fe5deafa8be07b5381d41f","risk":"H"},{"id":"UCbP2ZTD","action":"DELETE /{resource}/{owner_id}/metafields/{id}.json","method":"DELETE","path":"/{resource}/{owner_id}/metafields/{id}.json","title":"Delete a metafield","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/UCbP2ZTD-1785218976106494_en.json","source_sha256":"22e56d4fb0e03503c017e7a4a9a3a653abcfca5d11784e565b7dbffdd8bd9567","risk":"D"},{"id":"TiEsxyYK","action":"GET /{resource}/{owner_id}/metafields/{id}.json","method":"GET","path":"/{resource}/{owner_id}/metafields/{id}.json","title":"Get a metafield for a resource","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TiEsxyYK-1785218974880832_en.json","source_sha256":"fd174bdd985e75e3d6b2c98467466cd756cf31acc6401de7826523c4e65ca72d","risk":"R"},{"id":"t4CoaRPN","action":"GET /{resource}/{owner_id}/metafields.json","method":"GET","path":"/{resource}/{owner_id}/metafields.json","title":"Get metafields for a resource","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/t4CoaRPN-1785218982542369_en.json","source_sha256":"d211ec8779a57039ad546778355766c44ba11c925e90b935c977454d963e2ecd","risk":"R"},{"id":"wz0CGlMC","action":"GET /{resource}/{owner_id}/metafields/count.json","method":"GET","path":"/{resource}/{owner_id}/metafields/count.json","title":"Get the metafield count for a resource","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/wz0CGlMC-1785218985072951_en.json","source_sha256":"07ad275cdbba438505d7d8387b79fe174ba9022395af2d2c7e4a14a0ee4abd8c","risk":"R"},{"id":"zHCaVw80","action":"POST /metafields_set.json","method":"POST","path":"/metafields_set.json","title":"Operate metafields in bulk","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zHCaVw80-1785219321337652_en.json","source_sha256":"7dd73212d429256881f7731ca556d0072dc6fdd7bc306d86d6b3f8109594b162","risk":"H"},{"id":"YEIsskS4","action":"POST /metafields.json","method":"POST","path":"/metafields.json","title":"Create a metafield for the store","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/YEIsskS4-1785218964772692_en.json","source_sha256":"da3c82f8b2b40d93d03c4e36b1686912d5642cd9ec38ddc3ae6c94150d93ecc1","risk":"H"},{"id":"bxKYQO1M","action":"PUT /metafields/{id}.json","method":"PUT","path":"/metafields/{id}.json","title":"Update a store metafield","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/bxKYQO1M-1785218968352150_en.json","source_sha256":"cc3916e2ba0337f52a9f0c0edc958857b66bfa32631e32531874b84807ce1753","risk":"H"},{"id":"rL4fWqH2","action":"DELETE /metafields/{id}.json","method":"DELETE","path":"/metafields/{id}.json","title":"Delete a store metafield","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rL4fWqH2-1785218973604221_en.json","source_sha256":"ad944f86641fcbd7558b852e80e597ca2772e14dadfeb446692486e46de6f520","risk":"D"},{"id":"MnUttKDD","action":"GET /metafields.json","method":"GET","path":"/metafields.json","title":"Get store metafields ","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MnUttKDD-1785218981049332_en.json","source_sha256":"94eb497dca3b15ab6d119d30c9758f47bdff278ca48ddb35869690b5f5b06188","risk":"R"},{"id":"lHTrRU4Q","action":"GET /metafields/{id}.json","method":"GET","path":"/metafields/{id}.json","title":"Get a store metafield","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lHTrRU4Q-1785218970782608_en.json","source_sha256":"3f96f5416ca61e7c9f6346e1852b39396aeee80bfd44130f2bab0ab67fb8c550","risk":"R"},{"id":"dAQ2oz1z","action":"GET /metafields/count.json","method":"GET","path":"/metafields/count.json","title":"Get the store metafield count ","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/dAQ2oz1z-1785218979750844_en.json","source_sha256":"ee79db4a7bb0a5b216be9a7e5948b4efc41cc926b6d76bc9639e9d4e2d7d65b1","risk":"R"},{"id":"9lFF6Y9F","action":"POST /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields.json","method":"POST","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields.json","title":"Add a secondary metafield(To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/9lFF6Y9F-1785218967048971_en.json","source_sha256":"8e6949d0f6c19a54ad56e5fc6424195f1c0a33b7eabe80fd6aa568640a1109ca","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"VlEhzinX","action":"PUT /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","method":"PUT","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","title":"Update a secondary metafield (To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VlEhzinX-1785218971910383_en.json","source_sha256":"446c8848e3be4ec1babdc1d31792cd40d4b95f261159c865930e43f1036fa1f9","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"c1AqMdHR","action":"DELETE /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","method":"DELETE","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","title":"Delete a secondary metafield (To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/c1AqMdHR-1785218977324177_en.json","source_sha256":"26370523693b242d3e0b6c48f43c6bab40cf2afee6259c0301847d0e0542e708","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"F5oQQDe4","action":"GET /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields.json","method":"GET","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields.json","title":"Get metafields of a resource (To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/F5oQQDe4-1785218983832182_en.json","source_sha256":"b192e434807fed9e891c3936600f819aa729993ddbbff4dbce718532c7a7b54c","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"XW5VeFZu","action":"GET /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","method":"GET","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/{id}.json","title":"Get a metafield (To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/XW5VeFZu-1785218978577609_en.json","source_sha256":"8d814841c740a676b541724ef5fe6aead4092bd1217a16a25117880dca416aa9","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"RMiEZEVj","action":"GET /{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/count.json","method":"GET","path":"/{p_resource}/{p_owner_id}/{resource}/{owner_id}/metafields/count.json","title":"Get the metafield count (To be deprecated)","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RMiEZEVj-1785218986321741_en.json","source_sha256":"6fa7a97897a9d4952dc35128cd45d80848d2caba0c4c20ecf4313d75b40fe555","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"zNazo7Sh","action":"POST /metafield_definition.json","method":"POST","path":"/metafield_definition.json","title":"Create a metafield definition","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zNazo7Sh-1785219326153314_en.json","source_sha256":"53a048dbaa41042e20c1882a3adfd367038a7c0e5b494419160411e3276ca629","risk":"H"},{"id":"1dm95D10","action":"GET /metafield_definitions.json","method":"GET","path":"/metafield_definitions.json","title":"Get metafield definitions ","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1dm95D10-1785219394782768_en.json","source_sha256":"388413f690752f6badb8a899e1512cdbe7d368d73ca67f110fdfa3a928ffaf34","risk":"R"},{"id":"BCb1Gayh","action":"GET /metafield_definition.json","method":"GET","path":"/metafield_definition.json","title":"Get a metafield definition","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/BCb1Gayh-1785219322492483_en.json","source_sha256":"2a5ae68d9663fd8b7e4bb9b1ca98292fa037e7d4d29a3d8c2615df5d05746b20","risk":"R"},{"id":"ykEm6cF3","action":"DELETE /metafield_definition.json","method":"DELETE","path":"/metafield_definition.json","title":"Delete a metafield definition","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ykEm6cF3-1785219324897427_en.json","source_sha256":"24fef1c4f4599e448f2f9786793ffc8934535c70fd3c54447f49e6d1fc062240","risk":"D"},{"id":"77IgysqE","action":"PUT /metafield_definition.json","method":"PUT","path":"/metafield_definition.json","title":"Update a metafield definition","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/77IgysqE-1785219323697018_en.json","source_sha256":"69c3e55b74eb735c2609f75c90dc6933a7eefb2d8044c74719713c1c51dd502f","risk":"H"},{"id":"xg7wrfqz5z4f4x9e","action":"POST /metaobject.json","method":"POST","path":"/metaobject.json","title":"Create a metaobject","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xg7wrfqz5z4f4x9e-1785219628048382_en.json","source_sha256":"4e00663acd829b28cb3bc5e0c1cfc9cec7c9f2ade411b48c8811057a52ec5b39","risk":"H"},{"id":"g1gt67ga5tayyk9e","action":"PUT /metaobject.json","method":"PUT","path":"/metaobject.json","title":"Update a metaobject","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/g1gt67ga5tayyk9e-1785219629368811_en.json","source_sha256":"6143622c77e91e4a27e413f76b51afad353d2fd3f600fa8838dcb67874dff591","risk":"H"},{"id":"52vhtb3vuwvg7phq","action":"GET /metaobject.json","method":"GET","path":"/metaobject.json","title":"Get a metaobject","scopes":["read_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/52vhtb3vuwvg7phq-1785219635199287_en.json","source_sha256":"04529459c6f25c0b0aba1e5f9b9a1ca5cabdb547bd829007c505d2fa1bef4251","risk":"R"},{"id":"rwf98gxg7eddhk43","action":"GET /metaobjects.json","method":"GET","path":"/metaobjects.json","title":"Get metaobjects","scopes":["read_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/rwf98gxg7eddhk43-1785219629970168_en.json","source_sha256":"7d3545fad1e39496ee2363ab263a946094d54a504bafd3f0ce94601eeaf145f6","risk":"R"},{"id":"mkqynhpazafs63yh","action":"DELETE /metaobject.json","method":"DELETE","path":"/metaobject.json","title":"Delete a metaobject","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/mkqynhpazafs63yh-1785219634032441_en.json","source_sha256":"2ea0a2d288fe843759a572461f410f2395060b675501526e55fe6d002a07178e","risk":"D"},{"id":"h87cgddjzkp8372u","action":"POST /metaobject_definition.json","method":"POST","path":"/metaobject_definition.json","title":"Create a metaobject definition","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/h87cgddjzkp8372u-1785219627446164_en.json","source_sha256":"2b65506edcffdafed1fdf505905e5e0f360223f0bfcbb7d8e3d7696a8408d0d3","risk":"H"},{"id":"chj21qx9j82hgt1d","action":"PUT /metaobject_definition.json","method":"PUT","path":"/metaobject_definition.json","title":"Update a metaobject defintion","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/chj21qx9j82hgt1d-1785219635776160_en.json","source_sha256":"4eba9f583f92e3985240f3d23e168cb2e492f7f472196ab1c6abb5429b60eda4","risk":"H"},{"id":"5ngbenpsdbhp4gu4","action":"GET /metaobject_definition.json","method":"GET","path":"/metaobject_definition.json","title":"Get a metaobject definition","scopes":["read_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5ngbenpsdbhp4gu4-1785219634603001_en.json","source_sha256":"5bc788225b4c21bf30658ee16567cf13b94805cc29a0458b953775156ddbe26f","risk":"R"},{"id":"e2guavrdbr7qs4nx","action":"GET /metaobject_definitions.json","method":"GET","path":"/metaobject_definitions.json","title":"Get metaobject definitions","scopes":["read_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/e2guavrdbr7qs4nx-1785219628651870_en.json","source_sha256":"0a0cafe328bb9d304f196817515e82b4cbf61ce1a2264d9bce56b1a40d46bfc7","risk":"R"},{"id":"ff76r372u5dmv1xy","action":"DELETE /metaobject_definition.json","method":"DELETE","path":"/metaobject_definition.json","title":"Delete a metaobject definition","scopes":["write_metaobjects"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ff76r372u5dmv1xy-1785219633476228_en.json","source_sha256":"b6686125c4bb202b0edd558999bb7e625f6632d003fea430f4e3646f20912806","risk":"D"},{"id":"uKWGNAsu","action":"POST /store/page/customize.json","method":"POST","path":"/store/page/customize.json","title":"Create a custom page .","scopes":["write_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uKWGNAsu-1785219469156484_en.json","source_sha256":"95ecbe1a9385706a06b4f7ea7f646442d04f0fa53d18f54fe13a65953f0f3f5a","risk":"H"},{"id":"OXPSKTaX","action":"PUT /store/page/customize.json","method":"PUT","path":"/store/page/customize.json","title":"Update a custom page","scopes":["write_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/OXPSKTaX-1785219466771347_en.json","source_sha256":"55bd408011ba57593d9da6f4b14461eb70c05e0971a544925bfccc5b3741e1b2","risk":"H"},{"id":"diDI5yBM","action":"POST /store/page/customize/id.json","method":"POST","path":"/store/page/customize/id.json","title":"Query page's detail information","scopes":["read_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/diDI5yBM-1785219467955813_en.json","source_sha256":"c4cc3277a9e0ca72074b1ce2e4e1663cab5895bb67ab2367e6dc71e404a9e12e","risk":"R"},{"id":"Mk2UNX8A","action":"POST /store/page/customize/list.json","method":"POST","path":"/store/page/customize/list.json","title":"Get custom pages","scopes":["read_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Mk2UNX8A-1785219470387032_en.json","source_sha256":"eead94ccd500f896349bb233d453fefd9c27b0c7bc76283f41a0ef02223d64fc","risk":"R"},{"id":"0hv47Rev","action":"POST /store/page/customize/count.json","method":"POST","path":"/store/page/customize/count.json","title":"Count the number of custom pages","scopes":["read_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/0hv47Rev-1785219373249855_en.json","source_sha256":"99ec3c642a8ed2d9cb9eb3c356d29f87816a38eb31678ade9d82a713da086fa0","risk":"R"},{"id":"ZL1BCfoZ","action":"DELETE /store/page/customize.json","method":"DELETE","path":"/store/page/customize.json","title":"Delete a custom page","scopes":["write_page"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ZL1BCfoZ-1785219006512302_en.json","source_sha256":"76e413c293df0f7b7ae56315d240184d3a4693ecb80e72bb7bfe8d2c03bb59d2","risk":"D"},{"id":"sdYuQblt","action":"GET /themes/{theme_id}/assets/list.json","method":"GET","path":"/themes/{theme_id}/assets/list.json","title":"Get all files for a theme","scopes":["read_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/sdYuQblt-1785219108957693_en.json","source_sha256":"e89b34320f32fa630c85662193493e36feee52640b27018781218a727242017c","risk":"R"},{"id":"tbSFhsC2","action":"GET /themes/{theme_id}/assets/detail.json","method":"GET","path":"/themes/{theme_id}/assets/detail.json","title":"Get details for a theme file","scopes":["read_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/tbSFhsC2-1785219110613749_en.json","source_sha256":"6dd5b30a0518f94697c6f8f46688bcbb15de6728add0e1b778c387f22312c946","risk":"R"},{"id":"qORGJKVG","action":"DELETE /themes/{theme_id}/assets.json","method":"DELETE","path":"/themes/{theme_id}/assets.json","title":"Delete theme asset","scopes":["write_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qORGJKVG-1785219113083169_en.json","source_sha256":"f1b716e29ae41147040fbfd5576a93d1d30a97b8bae4bdd7ace66acd65ee60a8","risk":"D"},{"id":"uunEZSYT","action":"POST /themes/{theme_id}/batch-assets.json","method":"POST","path":"/themes/{theme_id}/batch-assets.json","title":"Batch create/modify asset content","scopes":["write_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uunEZSYT-1785219454627899_en.json","source_sha256":"63cd440c228a9fa98bd098c57635e437961f90e7bb8206f1cf8b4db5667be577","risk":"H"},{"id":"nrtLU7Mw","action":"PUT /themes/{theme_id}/assets.json","method":"PUT","path":"/themes/{theme_id}/assets.json","title":"Create or update a theme file","scopes":["write_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/nrtLU7Mw-1785219111947796_en.json","source_sha256":"6d3fdfdb589c2a2dc78e2a9e846f7ab0b53ba75050bf3e524c2164586175bdb4","risk":"H"},{"id":"Fid7aR8C","action":"POST /store/script_tags.json","method":"POST","path":"/store/script_tags.json","title":"Create a script tag","scopes":["write_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Fid7aR8C-1785219009844857_en.json","source_sha256":"2f732f84f92f8a8cc7d2a44827556da5510e19eef2aecedc91e11177e31a8d1d","risk":"H"},{"id":"1YKDfGE4","action":"GET /store/script_tags.json","method":"GET","path":"/store/script_tags.json","title":"Query script tag list","scopes":["read_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/1YKDfGE4-1785219011100615_en.json","source_sha256":"6130e021a64b130de04eb8df5441580a4e06ecf66d0f558efa659f4ebf776ec2","risk":"R"},{"id":"il8i74AL","action":"GET /store/{script_tag_id}.json","method":"GET","path":"/store/{script_tag_id}.json","title":"Query a single script tag","scopes":["read_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/il8i74AL-1785219012361867_en.json","source_sha256":"00b2f952ca971710ee5da2723d9c432b2188b890c44bd59fca78eb254d1578c2","risk":"R"},{"id":"U2CoKf9b","action":"GET /store/script_tags/count.json","method":"GET","path":"/store/script_tags/count.json","title":"Query the number of script tags","scopes":["read_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/U2CoKf9b-1785219013585108_en.json","source_sha256":"146a8769215f930aeec5ab4e5efbb6162572e375c6e0e99c10650435a09143f1","risk":"R"},{"id":"JcnSuQSf","action":"PUT /store/script_tags/{script_tag_id}.json","method":"PUT","path":"/store/script_tags/{script_tag_id}.json","title":"Update script tag","scopes":["write_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/JcnSuQSf-1785219014806837_en.json","source_sha256":"166ecc720d9570fad975550827fc1f1ca9f8f1512f94407bcece8656b2b4173b","risk":"H"},{"id":"TU5kX4ql","action":"DELETE /store/script_tags/{script_tag_id}.json","method":"DELETE","path":"/store/script_tags/{script_tag_id}.json","title":"Delete script tag","scopes":["write_script_tags"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TU5kX4ql-1785219016035644_en.json","source_sha256":"b7b751ef44ce1bbb6291f057354fe55adfd833923af3294caeaecc07f2bc2393","risk":"D"},{"id":"et9bx1DA","action":"POST /store/blogs/{blog_collection_id}/articles.json","method":"POST","path":"/store/blogs/{blog_collection_id}/articles.json","title":"Create a blog post for a collection ","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/et9bx1DA-1785219658022412_en.json","source_sha256":"4774ca404a61f81a78fcb49cf8fad34241b62059293dd8c4f57d15c01046fc96","risk":"H"},{"id":"TBmGF7ZK","action":"GET /store/blogs/authors.json","method":"GET","path":"/store/blogs/authors.json","title":"Query list of all articles authors","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TBmGF7ZK-1785219045572731_en.json","source_sha256":"0fe81e37327f898bde030900ff243b6f8f47c6981a10d7dec0f3a2b7d0b3665d","risk":"R"},{"id":"H4bMno5u","action":"GET /store/blogs/{blog_collection_id}/articles.json","method":"GET","path":"/store/blogs/{blog_collection_id}/articles.json","title":"Query blog post list","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/H4bMno5u-1785219475175571_en.json","source_sha256":"6fabcfae3065f6835fab6ab19a3c1ee3bea1fd64d414f8d098a019dd693b436e","risk":"R"},{"id":"7DoRPDul","action":"GET /store/blogs/{blog_collection_id}/articles/{blog_id}.json","method":"GET","path":"/store/blogs/{blog_collection_id}/articles/{blog_id}.json","title":"Query blog post details","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/7DoRPDul-1785219473965885_en.json","source_sha256":"f78e4ce6aabad43323964ad3b8304ee8cc8dfa1e2312f8cf670241add7bbfa4c","risk":"R"},{"id":"vT59neHA","action":"GET /store/blogs/{blog_collection_id}/articles/count.json","method":"GET","path":"/store/blogs/{blog_collection_id}/articles/count.json","title":"Query blog post","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/vT59neHA-1785219049183847_en.json","source_sha256":"4684805ef733cbe369e38bcb7063b08666102704f5765f82436a2aee11fd6f2d","risk":"R"},{"id":"5CbhrDt4","action":"PUT /store/blogs/{blog_collection_id}/articles/{blog_id}.json","method":"PUT","path":"/store/blogs/{blog_collection_id}/articles/{blog_id}.json","title":"Update a blog post","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5CbhrDt4-1785219657738006_en.json","source_sha256":"c786f2ac7fee74969cdefb051bf01af1c504620c9d769d320bfac4464b68ec92","risk":"H"},{"id":"EKzsUaBK","action":"DELETE /store/blogs/{blog_collection_id}/articles/{blog_id}.json","method":"DELETE","path":"/store/blogs/{blog_collection_id}/articles/{blog_id}.json","title":"Delete blog post","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EKzsUaBK-1785219050959658_en.json","source_sha256":"ad36c859cb8ed0ad5ae9b2b8da7519c003ba52f9b1ad3409a776a656a926c626","risk":"D"},{"id":"LDiTTMju","action":"POST /store/blogs.json","method":"POST","path":"/store/blogs.json","title":"Create a blog collection","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/LDiTTMju-1785219157273270_en.json","source_sha256":"e3eebb912d8a3ded7136c1778b31b0993d1067c960212ecb7caac7ef50a889d4","risk":"H"},{"id":"EKsOVEvY","action":"GET /store/blogs.json","method":"GET","path":"/store/blogs.json","title":"Query blog collection list","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EKsOVEvY-1785219057947503_en.json","source_sha256":"711f401f3df35d6e926dc11c186b2abe3bd6a8f22015087a357f6b1d1a23c454","risk":"R"},{"id":"6WiYQOrB","action":"GET /store/blogs/{blog_collection_id}.json","method":"GET","path":"/store/blogs/{blog_collection_id}.json","title":"Query single blog collection","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/6WiYQOrB-1785219056660847_en.json","source_sha256":"71d2d11626618bd858285dd8cfe7d503b98b60432e029eee7f23368602de286f","risk":"R"},{"id":"hCTLyLIP","action":"GET /store/blogs/count.json","method":"GET","path":"/store/blogs/count.json","title":"Query blog collection quantity","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/hCTLyLIP-1785219054550036_en.json","source_sha256":"6009853240d1085ac606edcccaac187aeef25ae6c02f95a6d82c9267eba65afa","risk":"R"},{"id":"lanc4Zob","action":"PUT /store/blogs/{blog_collection_id}.json","method":"PUT","path":"/store/blogs/{blog_collection_id}.json","title":"Update blog collection.","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/lanc4Zob-1785219052166091_en.json","source_sha256":"7d66c9fda073ec143cb095ddac333946b472b77187d96534d569a1075e085996","risk":"H"},{"id":"Tx5tzdYF","action":"DELETE /store/blogs/{blog_collection_id}.json","method":"DELETE","path":"/store/blogs/{blog_collection_id}.json","title":"Delete blog collection","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Tx5tzdYF-1785219055762859_en.json","source_sha256":"99772130bfb72dc2dd6352ebe9e1bf5678166e458aadd6beabd74270fb496dba","risk":"D"},{"id":"OYTJBXAP","action":"POST /store/comments.json","method":"POST","path":"/store/comments.json","title":"Create a comment","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/OYTJBXAP-1785219130426775_en.json","source_sha256":"c9d57e7c6b732861fe289bcafdb807de59e59c51e67de89de30b9acb306be6e7","risk":"H"},{"id":"SkVLgbqu","action":"POST /store/comments/{comment_id}/approve.json","method":"POST","path":"/store/comments/{comment_id}/approve.json","title":"Approve the comment","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/SkVLgbqu-1785219133912412_en.json","source_sha256":"e67b835085b1b8c2bfc574d1b73e5b72b218a8175d038ae395d5e4aeca3d91a6","risk":"H"},{"id":"67GTaEoa","action":"POST /store/comments/{comment_id}/not_spam.json","method":"POST","path":"/store/comments/{comment_id}/not_spam.json","title":"Labeled comments as non spam","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/67GTaEoa-1785219135075939_en.json","source_sha256":"0f480c0229aeee0b04b9b6c50cc22dfad642fb3e910ad688cb7a59b22e0a9e32","risk":"H"},{"id":"d8WGHoVu","action":"POST /store/comments/{comment_id}/spam.json","method":"POST","path":"/store/comments/{comment_id}/spam.json","title":"Labeled comments as spam","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/d8WGHoVu-1785219136301691_en.json","source_sha256":"cb7ec97e0b02b4752b118803e1504c31a8fd23eaa7b5a9eca11ff2cc2da40d5b","risk":"H"},{"id":"zOyYo0Em","action":"POST /store/comments/{comment_id}/remove.json","method":"POST","path":"/store/comments/{comment_id}/remove.json","title":"Delete a comment","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/zOyYo0Em-1785219137518271_en.json","source_sha256":"c2f01e55d802d189dd5404a28da09700df5fe3cd3bae4792b3b74c09ab658c4a","risk":"D"},{"id":"ad1uSxzz","action":"POST /store/comments/{comment_id}/restore.json","method":"POST","path":"/store/comments/{comment_id}/restore.json","title":"Comment for recovery delete","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ad1uSxzz-1785219138722024_en.json","source_sha256":"9669863424fb31550f07c28d6ba571ceb020cc5097ee49bf79d5c063c2cf621c","risk":"H"},{"id":"fMRKvhct","action":"GET /store/comments.json","method":"GET","path":"/store/comments.json","title":"Query list of comments","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/fMRKvhct-1785219141170460_en.json","source_sha256":"456d72bbcb6bd20ee0ee1abe7e99408cd8ebfbe56f76a97bb51faad32991a64d","risk":"R"},{"id":"AopXo3ak","action":"GET /store/comments/{comment_id}.json","method":"GET","path":"/store/comments/{comment_id}.json","title":"By reviewing id query comments","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/AopXo3ak-1785219131609635_en.json","source_sha256":"20438a45c09c1f65401e301817eb5d7f23603d8c9294035c30bd8c5d5920275d","risk":"R"},{"id":"NNgCpwN4","action":"GET /store/comments/count.json","method":"GET","path":"/store/comments/count.json","title":"Number of get the comments","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/NNgCpwN4-1785219139984056_en.json","source_sha256":"3c5d5966ac408c228c4c2014df5bd4ae7f4ac2678a5d532dc7f37c99b0bbebf6","risk":"R"},{"id":"e5FW00y0","action":"PUT /store/comments/{comment_id}.json","method":"PUT","path":"/store/comments/{comment_id}.json","title":"Update comments","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/e5FW00y0-1785219132782837_en.json","source_sha256":"c25f3d59c56ffd31e807c64ff03a74e997ed8b3191a5b65ef63ec6caef82d314","risk":"H"},{"id":"EQoOTAOG","action":"POST /themes.json","method":"POST","path":"/themes.json","title":"Create theme","scopes":["write_themes"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/EQoOTAOG-1785219115484179_en.json","source_sha256":"7e613ba4773640ec641b8beb59fc57302706380dfb79850540de9b596dc83537","risk":"H"},{"id":"GcgMTFpO","action":"PUT /themes/{theme_id}.json","method":"PUT","path":"/themes/{theme_id}.json","title":"Update theme","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/GcgMTFpO-1785219106577846_en.json","source_sha256":"d1794a0a3af1b048591b0a841322de30880ea9127681a782dca425c0cd45c320","risk":"H"},{"id":"RyPtMkuy","action":"GET /themes/{theme_id}.json","method":"GET","path":"/themes/{theme_id}.json","title":"Get a single theme","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RyPtMkuy-1785219105680791_en.json","source_sha256":"f7491c073f48bf08e1ff8f5ac8a346bbb02b0d3992d283fda03230ab2f3c211f","risk":"R"},{"id":"2OKbbDFr","action":"GET /themes.json","method":"GET","path":"/themes.json","title":"Get all themes","scopes":["read_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2OKbbDFr-1785219104456669_en.json","source_sha256":"dfcdb58e0a80cefc4604536033ca0d707900422dfdde7e2f4051231d754dc1e4","risk":"R"},{"id":"Um4BWawG","action":"DELETE /themes/{theme_id}.json","method":"DELETE","path":"/themes/{theme_id}.json","title":"Delete theme","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Um4BWawG-1785219107781725_en.json","source_sha256":"69092733927aa89d99ecea7df2bb4759424a635072f75a42626d2c12eee2b34e","risk":"D"},{"id":"9t0Q2kG2","action":"POST /redirects/redirect.json","method":"POST","path":"/redirects/redirect.json","title":"Create a redirect .","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/9t0Q2kG2-1785219483666303_en.json","source_sha256":"2fc0ec7a9932799fa1f80e148d86ac3595bf4bbdfe6873c3f25a6926e2b61a89","risk":"H"},{"id":"pwznEosY","action":"GET /redirects/redirect/{redirect_id}.json","method":"GET","path":"/redirects/redirect/{redirect_id}.json","title":"Query single redirect details","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pwznEosY-1785219126375342_en.json","source_sha256":"5d59b478f7e3ec6bab4f8ecfa1241a2deb1752e8dfca288cc1d6fe8abad871d1","risk":"R"},{"id":"MjGMUW0A","action":"GET /redirects/redirect.json","method":"GET","path":"/redirects/redirect.json","title":"Get a list of redirect","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/MjGMUW0A-1785219125196191_en.json","source_sha256":"77ddc69e188b1e2fb642aae3fe593bb21e2c1eca4de7ab02914741ec16221886","risk":"R"},{"id":"I2KLVlfP","action":"PUT /redirects/redirect.json","method":"PUT","path":"/redirects/redirect.json","title":"Update redirect","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/I2KLVlfP-1785219128406272_en.json","source_sha256":"fa72023b65f5d1a73890a334364048c1ea07f742c7c7536ce042e5a75a6b7379","risk":"H"},{"id":"n18S3Ali","action":"GET /redirects/count.json","method":"GET","path":"/redirects/count.json","title":"Statistical redirect quantity","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/n18S3Ali-1785219127551085_en.json","source_sha256":"539ea7c7b3232e66bf38777cd2fc920a3a6d8bc0eec8e4ca3e07bea738025d2f","risk":"R"},{"id":"Cx64hroy","action":"DELETE /redirects/{redirect_id}.json","method":"DELETE","path":"/redirects/{redirect_id}.json","title":"Remove a redirect","scopes":["write_content"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Cx64hroy-1785219129232328_en.json","source_sha256":"d4f0bfb22b72e30910dd7a579462bc6e2eaab17c57e5afce4941e4f58d32de14","risk":"D"},{"id":"5ECcd7Wj","action":"GET /store/policy/policies.json","method":"GET","path":"/store/policy/policies.json","title":"Query policy page information","scopes":["read_shop_policy"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5ECcd7Wj-1785219143592858_en.json","source_sha256":"f1072efec1eaefe3be5b20bdf948aefe7578075a8d00fbda3cdc09bc04d4936a","risk":"R"},{"id":"cXCIwFGg","action":"POST /store/policy/policy.json","method":"POST","path":"/store/policy/policy.json","title":"Update a store policy page","scopes":["write_shop_policy"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/cXCIwFGg-1785219144934969_en.json","source_sha256":"48cabf8cc693dfda1a717820d095a63243556db8388500d7bb8518e57546e2d7","risk":"H"},{"id":"VObwvwC8","action":"GET /current_bulk_operation.json","method":"GET","path":"/current_bulk_operation.json","title":"Get a valid bulk task","scopes":["read_bulkoperation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/VObwvwC8-1785219233992574_en.json","source_sha256":"7faed59322119be564990204530b4b093c729968ab229e3e95f06a180b8ea42e","risk":"R"},{"id":"xyGSdPqD","action":"POST /bulk_operation_run_query.json","method":"POST","path":"/bulk_operation_run_query.json","title":"Create a bulk query task","scopes":["write_bulkoperation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/xyGSdPqD-1785219232773426_en.json","source_sha256":"93a79da07e0eff414ed0a5b3f2c0d86197609f734635d65e831c7c454fcdfbcf","excluded_reason":"Raw bulk document/file operation needs a separately reviewed typed query/mutation contract; no arbitrary operation dispatcher"},{"id":"DSAX1G4g","action":"POST /bulk_operation_run_mutation_general.json","method":"POST","path":"/bulk_operation_run_mutation_general.json","title":"Create a bulk mutation task","scopes":["write_bulkoperation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/DSAX1G4g-1785219308528773_en.json","source_sha256":"de44ab067a39e782233461a59e56ad9def7eaebbd35359cc195e97581ee21135","excluded_reason":"Raw bulk document/file operation needs a separately reviewed typed query/mutation contract; no arbitrary operation dispatcher"},{"id":"pemID5y8","action":"POST /bulk_operation_run_cancel.json","method":"POST","path":"/bulk_operation_run_cancel.json","title":"Cancel a bulk task","scopes":["write_bulkoperation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pemID5y8-1785219590837456_en.json","source_sha256":"3dda1b010fc1ab417de9f3e99f242df97763a186fd3cfb7ec766d63a0b2dd8cd","risk":"D"},{"id":"Y68T9q7J","action":"POST /bulk_operation_run_mutation.json","method":"POST","path":"/bulk_operation_run_mutation.json","title":"Create a change-type bulk task(To be deprecated)","scopes":["write_bulkoperation"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Y68T9q7J-1785219231901968_en.json","source_sha256":"1e3bdb39bb8cbeb18d2e44b0ff217475d2a967f757a9a22460b0b84d7533801d","excluded_reason":"Official operation marked to be deprecated; use current business equivalent"},{"id":"dVtfRgsl","action":"GET /payments/store/balance.json","method":"GET","path":"/payments/store/balance.json","title":"Get account balance","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/dVtfRgsl-1785219640308429_en.json","source_sha256":"7df23855c93dec484d381a8609b83f24567057ee77f939f96f31ef9bfb3ce923","risk":"R"},{"id":"CxqTjFdv","action":"GET /payments/store/payouts.json","method":"GET","path":"/payments/store/payouts.json","title":"Get payout records","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/CxqTjFdv-1785922327727931_en.json","source_sha256":"b8f364b7e203cc35c93761036c0e21a940714e294c5c2399844377b49ffc804c","risk":"R"},{"id":"TzXmuTlM","action":"GET /payments/store/balance_transactions.json","method":"GET","path":"/payments/store/balance_transactions.json","title":"Get billing records","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/TzXmuTlM-1785922328088522_en.json","source_sha256":"7263c0bc3d2bb2634df1e37af765d5a7d5b92f89c4b77eb67f518fd9950b2a8a","risk":"R"},{"id":"Q2WCX9Kg","action":"GET /payments/store/payout.json","method":"GET","path":"/payments/store/payout.json","title":"Payout","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Q2WCX9Kg-1785219103253696_en.json","source_sha256":"94bc4f45e4214764cf2c92515ebab35866903d338da18798b89a120339a0a6de","risk":"R"},{"id":"31pdmqdstdbakym3","action":"GET /payments/store/merchants.json","method":"GET","path":"/payments/store/merchants.json","title":"Get SHOPLINE Payments merchants","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/31pdmqdstdbakym3-1785219639787190_en.json","source_sha256":"bce1bc66679bf88b353264da834255da36e33bdeaecbbbebc012295f24d540f8","risk":"R"},{"id":"RV6BUF3T","action":"GET /payments/store/transactions.json","method":"GET","path":"/payments/store/transactions.json","title":"Get store transaction records","scopes":["read_payment"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RV6BUF3T-1787799765151069_en.json","source_sha256":"d1635cc9ba667e398a4c61da377b5bf089f138eb7a26fa1d24ff1f71c6be12e8","risk":"R"},{"id":"5yxG7lOk","action":"POST /webhooks.json","method":"POST","path":"/webhooks.json","title":"Subscribe to a Webhook","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/prod/ec20/api/5yxG7lOk-1786437453185861_en.json","source_sha256":"68946a4106c5c63d8acd017b009849932dfac45ba28365ad7c031a203867e23c","risk":"H"},{"id":"uOOJm32H","action":"GET /webhooks.json","method":"GET","path":"/webhooks.json","title":"Get a list of subscribed Webhooks","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uOOJm32H-1785219448278941_en.json","source_sha256":"4cf8c2b8613d4d881b2b64a4ae2fac6c7085dece5a5185cda9a3e3f9731656ab","risk":"R"},{"id":"RfPlr60W","action":"PUT /{id}/webhooks.json","method":"PUT","path":"/{id}/webhooks.json","title":"Update a subscribed Webhook","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/RfPlr60W-1785219504849273_en.json","source_sha256":"b819a9a3207fbafd04025f182a01441153bd998e975e6840f629ef53769f3fb5","risk":"H"},{"id":"QUnnMLUe","action":"GET /{id}/webhooks.json","method":"GET","path":"/{id}/webhooks.json","title":"Get a subscribed Webhook","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/QUnnMLUe-1785219447386739_en.json","source_sha256":"77e2f7a61c0fe7e0f94811b8fd6a97daa909605e7074659d2e01d487a3515e73","risk":"R"},{"id":"53oT0LBw","action":"DELETE /{id}/webhooks.json","method":"DELETE","path":"/{id}/webhooks.json","title":"Unsubscribe from a Webhook","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/53oT0LBw-1785219449088275_en.json","source_sha256":"5d2d3ae693c0b727b9bfa6959e7792221354a064a26806a4a2aff0954800cd47","risk":"D"},{"id":"uRZ32juY","action":"GET /webhooks/count.json","method":"GET","path":"/webhooks/count.json","title":"Get the subscribed Webhook count","scopes":[],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/uRZ32juY-1785219450077381_en.json","source_sha256":"f5c9c60fc22f24a7672583cafa892222e15cf7ebdc41540daaf606250f97e79f","risk":"R"},{"id":"qgfqx93816hhxya4","action":"POST /sales/plugin/flash_sale/activities.json","method":"POST","path":"/sales/plugin/flash_sale/activities.json","title":"Create a flash sale activity","scopes":["write_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/qgfqx93816hhxya4-1785219654348932_en.json","source_sha256":"7a71e1e5d5be4ccd710e7d0ebcae64c064657bd554fa5e561c3840800f9660cb","risk":"H"},{"id":"fgz9r6119j3q16zb","action":"PUT /sales/plugin/flash_sale/activities/{event_id}.json","method":"PUT","path":"/sales/plugin/flash_sale/activities/{event_id}.json","title":"Update a flash sale activity","scopes":["write_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/fgz9r6119j3q16zb-1785219655450611_en.json","source_sha256":"aaa5779f42f5cbdcc09fed6c7029eb77dfd7dedce8357fa0237efd8d77c3401f","risk":"H"},{"id":"2fabmgg475tr8qzt","action":"GET /sales/plugin/flash_sale/activities/{event_id}.json","method":"GET","path":"/sales/plugin/flash_sale/activities/{event_id}.json","title":"Get a flash sale activity","scopes":["read_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2fabmgg475tr8qzt-1785219652174659_en.json","source_sha256":"899523c3274b0317f3470d612c13abe415cee0d7f754fe4b07aa9b08136552ba","risk":"R"},{"id":"75gejm6xfzsue5r2","action":"GET /sales/plugin/flash_sale/activities.json","method":"GET","path":"/sales/plugin/flash_sale/activities.json","title":"Get flash sale activities","scopes":["read_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/75gejm6xfzsue5r2-1785219656019791_en.json","source_sha256":"a56f549b26788deb713e40fd6ffce4cbd40c6fccb41a3d3774d7d25928989c50","risk":"R"},{"id":"2wk1h79gh4qwqzhu","action":"DELETE /sales/plugin/flash_sale/activities/{event_id}.json","method":"DELETE","path":"/sales/plugin/flash_sale/activities/{event_id}.json","title":"Delete a flash sale activity","scopes":["write_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/2wk1h79gh4qwqzhu-1785219652723569_en.json","source_sha256":"bc74ba316e5142368e7025ca5ae9a668891f1be31c3d41ad10786d2719ee0929","risk":"D"},{"id":"pqyv4ychffvmuvpc","action":"GET /sales/plugin/flash_sale/activity_variants.json","method":"GET","path":"/sales/plugin/flash_sale/activity_variants.json","title":"Get SKUs for a flash sale activity","scopes":["read_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/pqyv4ychffvmuvpc-1785219653260522_en.json","source_sha256":"2c7ee12ea00e080c84ae03e13748380c765e7c2c87c1f46787925e489785084c","risk":"R"},{"id":"5rc2u3kx4pctpghd","action":"PUT /sales/plugin/flash_sale/activity_variants.json","method":"PUT","path":"/sales/plugin/flash_sale/activity_variants.json","title":"Update SKUs for a flash sale activity","scopes":["write_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5rc2u3kx4pctpghd-1785219653805771_en.json","source_sha256":"232ba752d16a21eef631b624252a28ad0a26fbc79a67df2bfe763983afd31fa3","risk":"H"},{"id":"5j2hfyn8v4eqnh2p","action":"GET /sales/plugin/flash_sale/tasks/{task_id}.json","method":"GET","path":"/sales/plugin/flash_sale/tasks/{task_id}.json","title":"Get SKU update task result for a flash sale activity","scopes":["read_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/5j2hfyn8v4eqnh2p-1785219651643724_en.json","source_sha256":"18dacf6c8c60e5d7b2d0d05877fe4d6cf68fceb0dca642923509cee7ef2cf051","risk":"R"},{"id":"3r8n5kjgrh17wnxq","action":"GET /sales/plugin/flash_sale/tasks/{task_id}/failed-records.json","method":"GET","path":"/sales/plugin/flash_sale/tasks/{task_id}/failed-records.json","title":"Get failed SKUs for a flash sale activity SKU update task","scopes":["read_flash_sales"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/3r8n5kjgrh17wnxq-1785219654898533_en.json","source_sha256":"f428df7c4e9011859cba8f03f1158ae72f16a7d8ca1b2e599e281e26c21aebdb","risk":"R"},{"id":"Y7wEYxOb","action":"GET /sizecharts.json","method":"GET","path":"/sizecharts.json","title":"Query product size data in batch","scopes":["read_product_sizechart"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Y7wEYxOb-1785219514300456_en.json","source_sha256":"e3630055f13a4dae2accf5835ee503f70f6872cd00d3bf5e79574683459c780e","risk":"R"},{"id":"3rqNGddz","action":"POST /sizechart.json","method":"POST","path":"/sizechart.json","title":"Create a size chart","scopes":["write_product_sizechart"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/3rqNGddz-1785219512797264_en.json","source_sha256":"9fd0b88079f7269abb20416eb5e5079d04e7bb422aeed00ec8ab7d1b34d980f8","risk":"H"},{"id":"8UTyyjYO","action":"PUT /sizechart.json","method":"PUT","path":"/sizechart.json","title":"Update a size chart","scopes":["write_product_sizechart"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/8UTyyjYO-1785219512441389_en.json","source_sha256":"31148cfadcfa5c1cf954604ecdfc524a79ab59d54c2b0a0166fe6fa054618808","risk":"H"},{"id":"ovu93fO4","action":"DELETE /sizecharts.json","method":"DELETE","path":"/sizecharts.json","title":"Batch delete sizechart","scopes":["write_product_sizechart"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/ovu93fO4-1785219507337256_en.json","source_sha256":"1600a7bd26910ce717363070a902fdb240b6baaab520766d53b9f49b525dafc3","risk":"D"},{"id":"O15VvRAi","action":"GET /variant_images/{product_id}.json","method":"GET","path":"/variant_images/{product_id}.json","title":"query Images of variant","scopes":["read_product_variant_images"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/O15VvRAi-1785219508484523_en.json","source_sha256":"457134629476373f6a81b937e66940f90a2f22328fd129b774648bf78b5777fe","risk":"R"},{"id":"Ww8sPcLo","action":"PUT /variant_images/{product_id}.json","method":"PUT","path":"/variant_images/{product_id}.json","title":"batch update variant images","scopes":["write_product_variant_images"],"source_url":"https://s2cdn.myshopline.com/openapi/docs/pre/ec20/api/Ww8sPcLo-1785219510089393_en.json","source_sha256":"8ec3eba69caebe8d2950828555646dfa0c1d4010561ddff8914e9062de3b4017","risk":"H"}],"models":{"k4uSlCgC":{"tags":["Create an access token "],"description":"Create an access token to grant authorization for using [Storefront APIs](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview).","operationId":"k4uSlCgC","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"storefront_access_token":{"name":"storefront_access_token","description":"The access token information. ","type":"object","properties":{"title":{"name":"title","description":"The title of the access token. Used to mark the scenario of the access token.","type":"string"}}}}}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"storefront_access_token":{"name":"storefront_access_token","description":"The access token information.","type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the access token was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"id":{"name":"id","description":"The unique identifier for the access token. ","type":"long"},"title":{"name":"title","description":"The title of the access token.","type":"string"},"access_scope":{"name":"access_scope","description":"Access scopes, defining which APIs the returned access token is allowed to call. Multiple [access scopes](https://developer.shopline.com/docs/apps/api-instructions-for-use/access-scope) are separated by `,`.","type":"string"},"access_token":{"name":"access_token","description":"Access token. This access token must be included in requests when calling Storefront APIs. The system will validate interface request permissions through this access token.\n\n","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/storefront_access_tokens.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create an access token ","version":"v20230901"}},"HZudpzKG":{"tags":["Get a list of access tokens"],"description":"Get a list of access tokens for calling [Storefront APIs](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview).","operationId":"HZudpzKG","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"storefront_access_tokens":{"name":"storefront_access_tokens","description":"A list of the access tokens.","type":"array","items":{"type":"object","properties":{"access_scope":{"name":"access_scope","description":"Access scopes, defining which APIs the returned access token is allowed to call. Multiple [access scopes](https://developer.shopline.com/docs/apps/api-instructions-for-use/access-scope) are separated by `,`.","type":"string"},"access_token":{"name":"access_token","description":"Access token. This access token must be included in requests when calling Storefront APIs. The system will validate interface request permissions through this access token.\n\n","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the access token was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"id":{"name":"id","description":"The unique identifier for the access token. ","type":"long"},"title":{"name":"title","description":"The title of the access token.","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/storefront_access_tokens.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get a list of access tokens","version":"v20230901"}},"7fBfgDyG":{"tags":["Delete an access token"],"description":"Delete a specific access token for calling [Storefront APIs](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview).","operationId":"7fBfgDyG","parameters":[{"name":"token_id","in":"path","description":"The unique identifier for the access token. ","required":true,"style":"simple","schema":{"name":"token_id","description":"The unique identifier for the access token. ","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"500":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"name":"errors","description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/storefront_access_tokens/:token_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Delete an access token","version":"v20230901"}},"JeIKq5Oi":{"tags":["Create an order"],"description":"Create an order.","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n"},"operationId":"JeIKq5Oi","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"order":{"name":"order","description":"Order information. ","type":"object","properties":{"currency":{"name":"currency","description":"The currency used by the buyer to place an order. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"customer":{"name":"customer","description":"Buyer information. ","type":"object","properties":{"area_code":{"name":"area_code","description":"The area or country code for the phone number. ","type":"string"},"email":{"name":"email","description":"The email of the buyer. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the buyer.","type":"string"},"id":{"name":"id","description":"Buyer's ID.\n\nMaximum length: 64","type":"string"},"last_name":{"name":"last_name","description":"The last name of the buyer.","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer. ","type":"string"}}},"exchange_rate":{"name":"exchange_rate","description":"The exchange rate between the order currency and the store currency. ","type":"string"},"name":{"name":"name","description":"Order number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin. ","type":"string"},"order_note":{"name":"order_note","description":"Merchant order notes. \n\nMaximum length: 50","type":"string"},"processed_at":{"name":"processed_at","description":"Order completion time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"shipping_address":{"name":"shipping_address","description":"The address used for receiving packages.","type":"object","properties":{"city_code":{"name":"city_code","description":"The code for the city in the address. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/glossary-for-iso-3166.html) standard, used to identify a specific country or region in the address.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient. \n\nMaximum length: 64","type":"string"},"latitude":{"name":"latitude","description":"The latitude where the address is located.","type":"string"},"longitude":{"name":"longitude","description":"The longitude where the address is located.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.\n\nMaximum length: 255","type":"string"},"area":{"name":"area","description":"The district or county in the address. \n\nMaximum length: 64","type":"string"},"area_code":{"name":"area_code","description":"The code for the district or county in the address. ","type":"string"},"company":{"name":"company","description":"The company name of the recipient. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. \n\nMaximum length: 64","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. \n\nMaximum length: 255","type":"string"},"city":{"name":"city","description":"The city in the address. \n\nMaximum length: 64","type":"string"},"email":{"name":"email","description":"The email of the recipient. ","type":"string"},"province":{"name":"province","description":"The province in the address. ","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.\n\nMaximum length: 64","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient.","type":"string"}}},"transaction_list":{"name":"transaction_list","description":"A list of payments. ","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Payment amount. The value is rounded to two decimal places. ","type":"string"},"gateways":{"name":"gateways","description":"Payment channel used for the payment. ","type":"string"},"processed_at":{"name":"processed_at","description":"Payment creation time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"status":{"name":"status","description":"Payment status. Valid values are:\n- `unpaid`: unpaid\n- `failure`: payment failed\n- `success`: payment successful\n- `error`: payment error","type":"string"}},"required":["status"]}},"financial_status":{"name":"financial_status","description":"The payment status of the order. Valid values are:\n- `unpaid`: order not paid\n- `partially_paid`: order partially paid\n- `paid`: order paid\n\nDefault value: `unpaid`\n\n:::warning\n**Caution**: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order creation will fail and an error `financial_status is invalid` will be triggered.\n:::","type":"string"},"note":{"name":"note","description":"Order remarks.\n\nMaximum length: 50\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::\n","type":"string"},"price_info":{"name":"price_info","description":"Price information.","type":"object","properties":{"taxes_included":{"name":"taxes_included","description":"Indicates whether this order includes taxes.\n- `true`: including tax\n- `false`: excluding tax","type":"boolean"},"total_shipping_price":{"name":"total_shipping_price","description":"The total shipping fee for the order, displayed in the store currency. The value is rounded to two decimal places. ","type":"string"},"current_extra_total_discounts":{"name":"current_extra_total_discounts","description":"Order discount amount, excluding discounts from discount codes. The value is rounded to two decimal places. ","type":"string"}}},"shipping_lines":{"name":"shipping_lines","description":"Shipping lines","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Shipping amount","type":"string"},"tax_line":{"name":"tax_line","description":"Shipping tax details","type":"object","properties":{"price":{"name":"price","description":"Shipping amount","type":"string"},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"string"},"title":{"name":"title","description":"Tax name","type":"string"}}},"title":{"name":"title","description":"Shipping name","type":"string"}}}},"billing_address":{"name":"billing_address","description":"The address for sending billing invoices. ","type":"object","properties":{"first_name":{"name":"first_name","description":"The first name of the billing recipient. ","type":"string"},"province":{"name":"province","description":"The province in the address. ","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.\n\nMaximum length: 256","type":"string"},"area":{"name":"area","description":"The district or county in the address. \n\nMaximum length: 64","type":"string"},"city":{"name":"city","description":"The city in the address. \n\nMaximum length: 64","type":"string"},"city_code":{"name":"city_code","description":"The code for the city in the address. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/glossary-for-iso-3166.html) standard, used to identify a specific country or region in the billing address.","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the billing address. \n\nMaximum length: 64","type":"string"},"last_name":{"name":"last_name","description":"The last name of the billing recipient. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the billing address, which can be a custom code or a two-digit [ISO 3166-1](https://www.iso.org/glossary-for-iso-3166.html) international code.","type":"string"},"phone":{"name":"phone","description":"The phone number of the billing recipient. ","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. \n\nMaximum length: 256","type":"string"},"area_code":{"name":"area_code","description":"The code for the district or county in the address. ","type":"string"},"email":{"name":"email","description":"The email of the billing recipient. ","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the `billing_address` is the same as the `shipping_address`. \n- `true`: Indicates that both addresses are the same. \n- `false`: Indicates that the addresses are different. \n\nIf this parameter is set to `true`, other parameters under `billing_address`, except for this parameter, do not need to be provided.","type":"boolean"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}},"buyer_note":{"name":"buyer_note","description":"Buyer's message. ","type":"string"},"customer_locale":{"name":"customer_locale","description":"Buyer's language code. The language code follows the [ISO 639](https://www.iso.org/iso-639-language-code) standard. ","type":"string"},"inventory_behaviour":{"name":"inventory_behaviour","description":"The inventory processing method. Valid values are:\n- `bypass`: skip inventory processing \n- `decrement_ignoring_policy`: deduct inventory regardless of the inventory policy configured by the merchant\n- `decrement_obeying_policy`: deduct inventory according to the inventory policy configured by the merchant","type":"string"},"market_region_country_code":{"name":"market_region_country_code","description":"The country or region code of the market where the order was placed. Follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"send_receipt":{"name":"send_receipt","description":"Whether to send order confirmation email.\n- `true`: send\n- `false`: do not send","type":"boolean"},"company_location_id":{"name":"company_location_id","description":"Company location ID, used to create a B2B order.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"The shipment status of the order. Valid values are:\n- `unshipped`: order not shipped\n- `shipped`: order shipped\n\nDefault value: `unshipped`\n\n:::warning\n**Caution**: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order creation will fail and an error `fulfillment_status is invalid` will be triggered. \n:::","type":"string"},"line_items":{"name":"line_items","description":"List of order product snapshot information. \n\nMaximum size: 100","type":"array","items":{"type":"object","properties":{"product_id":{"name":"product_id","description":"SPU serial number. ","type":"string"},"properties":{"name":"properties","description":"A list of product customization information. ","type":"array","items":{"type":"object","properties":{"show":{"name":"show","description":"Whether the customized information is visible:\n- `true`: visible\n- `false`: invisible\nDefault value: `false`","type":"boolean"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: text type\n- `picture`: picture type\n- `link`: hyperlink type","type":"string"},"urls":{"name":"urls","description":"URL resource list.\n- If `type` is `picture`, thumbnails are rendered via the `urls` values.\n- If `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value.","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"}}}},"requires_shipping":{"name":"requires_shipping","description":"Whether the product requires shipping. \n- `true`: shipping required\n- `false`: shipping not required","type":"boolean"},"taxable":{"name":"taxable","description":"Whether the product is subject to tax. \n- `true`: Tax is required. \n- `false`: No tax is required. \n\nDefault value: `true`","type":"boolean"},"quantity":{"name":"quantity","description":"The quantity of the product.","type":"long"},"shipping_line_title":{"name":"shipping_line_title","description":"The title of the shipping plan that the product line matches. This field is required when shipping_lines is passed.","type":"string"},"tax_line":{"name":"tax_line","description":"The custom product tax information. \n\nIf you specify this parameter, you must specify its child parameters `price`, `rate`, and `title`. The actual tax charge is based on the price parameter.\n\nIf `tax_line` is not provided, the shipping is tax-exempt by default. ","type":"object","properties":{"price":{"name":"price","description":"The tax amount. The actual tax collected on the product is based on this parameter value. The `rate` value is for display only.","type":"string"},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"string"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}},"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"A unique code assigned to a distinct product in inventory.","type":"string"},"discount_price":{"name":"discount_price","description":"Product custom discount details. ","type":"object","properties":{"amount":{"name":"amount","description":"Discount amount. The value is rounded to two decimal places. ","type":"string"},"title":{"name":"title","description":"Discount name. ","type":"string"}}},"location_id":{"name":"location_id","description":"Product storage location ID.","type":"string"},"price":{"name":"price","description":"The product price amount. The value is rounded to two decimal places. ","type":"string"}}}},"note_attributes":{"name":"note_attributes","description":"A list of merchant note logs.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Merchant ID, indicating the note source. ","type":"string"},"value":{"name":"value","description":"Note content.","type":"string"}}}},"send_fulfillment_receipt":{"name":"send_fulfillment_receipt","description":"Whether to send order shipping email.\n- `true`: send\n- `false`: do not send","type":"boolean"},"shipping_line":{"name":"shipping_line","description":"Shipping fee information.","type":"object","properties":{"tax_line":{"name":"tax_line","description":"The custom product tax information. \n\nIf you specify this parameter, you must specify its child parameters `price`, `rate`, and `title`. The actual tax charge is based on the price parameter. \n\nIf `tax_line` is not provided, the shipping is tax-exempt by default. ","type":"object","properties":{"price":{"name":"price","description":"The tax amount. The actual tax collected on the product is based on this parameter value. The `rate` value is for display only.","type":"string"},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"string"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}},"title":{"name":"title","description":"Shipping fee name.","type":"string"},"code":{"name":"code","description":"Logistics number.","type":"string"},"price":{"name":"price","description":"Shipping fee amount. The value is rounded to two decimal places. ","type":"string"}}},"transactions":{"name":"transactions","description":"Payment information.","type":"object","properties":{"id":{"name":"id","description":"Payment method ID.","type":"string"}}}},"required":["line_items","price_info"]}},"required":["order"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"order":{"name":"order","description":"Order details. ","type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"current_subtotal_price_set":{"name":"current_subtotal_price_set","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"discount_codes":{"name":"discount_codes","description":"Promo code information. ","type":"object","properties":{"amount":{"name":"amount","description":"Discount amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"code":{"name":"code","description":"Promo code.","type":"string"},"type":{"name":"type","description":"Type of discount. Valid values are:\n- `减金额`: amount reduction\n- `打折`: offer a discount\n- `免运费`: free shipping\n- `加价品`: add-on purchase deal\n- `任意N件优惠价`: discount for purchasing any N items\n- `A+B组合优惠价`: discount for purchasing the product A and B combo\n- `赠品`: free gift\n- `固定售价`: fixed price\n- `最低价商品免费`: lowest-priced product free\n- `打包价`: package price\n- `第N件打折`: discount on the Nth item\n- `买x送y`: buy x and get y free\n- `自定义`: custom discount\n\n:::warning\n**Tip**: The returned enum values are in Chinese.\n:::","type":"string"}}},"phone":{"name":"phone","description":"Buyer's mobile phone number.","type":"string"},"subtotal_price":{"name":"subtotal_price","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. The amount is displayed in the store currency.","type":"string"},"tax_type":{"name":"tax_type","description":"The type of tax applicable to the order. Valid values are:\n- `product_tax`: product tax\n- `shipping_tax`: shipping tax","type":"string"},"total_line_items_price":{"name":"total_line_items_price","description":"The total original price of the products, rounded to two decimal places, displayed in the store currency.","type":"string"},"total_tax":{"name":"total_tax","description":"The total tax amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"current_subtotal_price":{"name":"current_subtotal_price","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in the store currency.","type":"string"},"current_total_duties_set":{"name":"current_total_duties_set","description":"The total customs duties for the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total customs duties information for the products presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total customs duties information for the products recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"financial_status":{"name":"financial_status","description":"Order payment status. Valid values are:\n- `unpaid`: order not paid\n- `authorized`: order payment has been authorized\n- `pending`: order payment in progress\n- `partially_paid`: order partially paid\n- `paid`: order paid\n- `partially_refunded`: order partially refund\n- `refunded`: order refund","type":"string"},"note":{"name":"note","description":"Merchant notes.","type":"string"},"status":{"name":"status","description":"Order status. Valid values are:\n- `open`: The order is processing.\n- `canceled`: The order is cancelled.","type":"string"},"total_discounts":{"name":"total_discounts","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. The amount is rounded to two decimal places and displayed in the store currency.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"string"},"adjust_price":{"name":"adjust_price","description":"The amount discrepancy due to rounding adjustments in POS transactions, expressed in the store currency. ","type":"string"},"current_total_price":{"name":"current_total_price","description":"The total order amount, displayed in the store currency.","type":"string"},"id":{"name":"id","description":"Order ID, system-defined number.","type":"string"},"locations":{"name":"locations","description":"A list of product pickup location addresses. ","type":"array","items":{"type":"object","properties":{"location_id":{"name":"location_id","description":"Unique code of the pickup location.","type":"string"},"name":{"name":"name","description":"Pickup location name.","type":"string"},"type":{"name":"type","description":"Location types. Valid values are:\n- `posLocation`: The store location where the order was placed using the POS channel. It is recommended to use `posLocationId`, because `posLocation` will be deprecated soon.\n- `pickupLocation`: The store location for customer pickup when the order's delivery method is self-pickup.\n- `productLocation`: The inventory location of the products in the order. It is recommended to use the `location` information in the product line, because `productLocation` will be deprecated soon.","type":"string"}}}},"payment_details":{"name":"payment_details","description":"A list of order payment information. ","type":"array","items":{"type":"object","properties":{"pay_amount":{"name":"pay_amount","description":"Payment amount in the store currency. The value is rounded to two decimal places.","type":"string"},"pay_channel":{"name":"pay_channel","description":"Payment channel.","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"Payment serial number from the external channel.","type":"string"},"pay_seq":{"name":"pay_seq","description":"Payment order number.","type":"string"},"pay_status":{"name":"pay_status","description":"Payment status. Valid values are:\n- `unpaid`: unpaid\n- `pending`: payment in process\n- `risking`: under risk control\n- `paid`:paid\n- `paid_overtime`: payment timeout\n- `paid_failed`: payment failed","type":"string"},"processed_at":{"name":"processed_at","description":"Actual payment time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"The total original price of the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The original price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The original price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_price_set":{"name":"current_total_price_set","description":"The total order amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"customer":{"name":"customer","description":"Buyer information.","type":"object","properties":{"area_code":{"name":"area_code","description":"The area or country code for the phone number. ","type":"string"},"currency":{"name":"currency","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"email":{"name":"email","description":"The email of the buyer. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the buyer.","type":"string"},"id":{"name":"id","description":"Buyer's ID.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the buyer.","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer. ","type":"string"}}},"deduct_member_point_amount_set":{"name":"deduct_member_point_amount_set","description":"The amount deducted from the order using member points, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The deduction amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The deduction amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"note_attributes":{"name":"note_attributes","description":"A list of merchant note logs.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Merchant ID, indicating the note source.","type":"string"},"value":{"name":"value","description":"Note content.","type":"string"}}}},"pos_location_id":{"name":"pos_location_id","description":"POS trading location ID.","type":"string"},"shipping_address":{"name":"shipping_address","description":"The address used for receiving packages.","type":"object","properties":{"province":{"name":"province","description":"The province in the address.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient. ","type":"string"},"longitude":{"name":"longitude","description":"The longitude where the address is located.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"company":{"name":"company","description":"The company name of the recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"district_code":{"name":"district_code","description":"The district code in the address.","type":"string"},"latitude":{"name":"latitude","description":"The latitude where the address is located.","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient. ","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. ","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"},"district":{"name":"district","description":"The district in the address.","type":"string"}}},"total_shipping_price_set":{"name":"total_shipping_price_set","description":"The total shipping fee for the order, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"}}}}},"deduct_member_point_amount":{"name":"deduct_member_point_amount","description":"The amount deducted from the order using member points, expressed in the store currency and rounded to two decimal places. ","type":"string"},"email":{"name":"email","description":"Buyer's email.","type":"string"},"line_items":{"name":"line_items","description":"A list of order product snapshot.","type":"array","items":{"type":"object","properties":{"variant_id":{"name":"variant_id","description":"A unique code assigned to a distinct product in inventory.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"id":{"name":"id","description":"The ID of the product snapshots table, generated by the system. Combined with the `order.id`, it uniquely identifies a product.","type":"string"},"image_url":{"name":"image_url","description":"The URL address that stores the product image.","type":"string"},"properties":{"name":"properties","description":"A list of product customization information. ","type":"array","items":{"type":"object","properties":{"urls":{"name":"urls","description":"URL resource list.\n- If `type` is `picture`, thumbnails are rendered via the `urls` values.\n- If `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value.","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"show":{"name":"show","description":"Whether the customized information is visible:\n- `true`: visible\n- `false`: invisible\nDefault value: `false`","type":"boolean"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: text type\n- `picture`: picture type\n- `link`: hyperlink type","type":"string"}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"title":{"name":"title","description":"Product title.","type":"string"},"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"duties":{"name":"duties","description":"A list of duty information.","type":"array","items":{"type":"object","properties":{"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"id":{"name":"id","description":"Tariff number.","type":"string"},"price":{"name":"price","description":"The duty amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The duty amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The duty amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"rate_percentage":{"name":"rate_percentage","description":"The tax rate as a percentage numerical value, rounded to two decimal places. For example, a 2% tax rate is represented as `2.00`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}}}}},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places. ","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"sku":{"name":"sku","description":"Product SKU serial number.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"tags":{"name":"tags","description":"Product tags. Multiple tags are separated by commas. ","type":"string"}}}},"name":{"name":"name","description":"Store custom order number, starting from 1001. You can set a prefix for this value, such as `test1001`.","type":"string"},"order_source":{"name":"order_source","description":"The order source channel handle. The handle is a semantic identifier.","type":"string"},"processed_at":{"name":"processed_at","description":"Order completion time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"taxes_included":{"name":"taxes_included","description":"Indicates whether this order includes taxes.\n- `true`: including taxes\n- `false`: excluding taxes","type":"boolean"},"billing_address":{"name":"billing_address","description":"The address for sending billing invoices. ","type":"object","properties":{"city":{"name":"city","description":"The city in the address. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the billing recipient.","type":"string"},"phone":{"name":"phone","description":"The phone number of the billing recipient. ","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the address. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the billing recipient. ","type":"string"},"province":{"name":"province","description":"The province in the address. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the billing address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"}}},"currency":{"name":"currency","description":"Transaction currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"current_total_discounts_set":{"name":"current_total_discounts_set","description":"The total discount amount displayed in both the buyer currency and the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"current_total_tax_set":{"name":"current_total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"order_status_url":{"name":"order_status_url","description":"Order status page URL.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"},"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"}}}},"tax_number":{"name":"tax_number","description":"Tax ID.","type":"string"},"adjust_price_set":{"name":"adjust_price_set","description":"The amount discrepancy due to rounding adjustments in POS transactions, displayed in both the buyer currency and the store currency. ","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount discrepancy information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The adjusted price amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount discrepancy information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The adjusted price amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_discounts":{"name":"current_total_discounts","description":"The total discount amount in the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"string"},"current_total_tax":{"name":"current_total_tax","description":"The total tax amount, displayed in the store currency.","type":"string"},"total_discounts_set":{"name":"total_discounts_set","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"po_number":{"name":"po_number","description":"Purchase order number for a B2B order.","type":"string"},"presentment_currency":{"name":"presentment_currency","description":"Buyer currency, the same as the store currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"subtotal_price_set":{"name":"subtotal_price_set","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The final price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The final price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_outstanding":{"name":"total_outstanding","description":"The total unpaid amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_tip_received":{"name":"total_tip_received","description":"The tip amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_weight":{"name":"total_weight","description":"The total weight of products in grams(g).","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create an order","version":"v20250601"},"authIndexes":["write_orders"]},"jyjIsvq9":{"tags":["Get orders"],"description":"Get order details in bulk based on specified request information. For example, you can get orders by the order creation time or update time, or specify an order ID to get details for a single order. ","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| INTERNAL_ERROR | 500 | An internal error occured. |\n| SUCCESS | 200 | request success |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| ORDER_AT_END_TIME_AFTER_START | 400 | The \"order_at_max\" must be later than \"order_at_min\". |\n"},"operationId":"jyjIsvq9","parameters":[{"name":"created_at_min","in":"query","description":"Specify the start date and time for filtering orders by order creation time. The system returns orders created at and after this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"created_at_min","description":"Specify the start date and time for filtering orders by order creation time. The system returns orders created at and after this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"financial_status","in":"query","description":"The payment status of the order. Valid values are: \n- `unpaid`: order not paid\n- `authorized`: order payment has been authorized\n- `pending`: order payment in progress\n- `partially_paid`: order partially paid\n- `paid`: order paid\n- `partially_refunded`: order partially refunded\n- `refunded`: order fully refunded","style":"form","explode":true,"schema":{"name":"financial_status","description":"The payment status of the order. Valid values are: \n- `unpaid`: order not paid\n- `authorized`: order payment has been authorized\n- `pending`: order payment in progress\n- `partially_paid`: order partially paid\n- `paid`: order paid\n- `partially_refunded`: order partially refunded\n- `refunded`: order fully refunded","type":"string"}},{"name":"order_at_max","in":"query","description":"Specify the end date and time for filtering orders by order time. The system returns orders placed at this time and up to 1 year prior. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"order_at_max","description":"Specify the end date and time for filtering orders by order time. The system returns orders placed at this time and up to 1 year prior. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"order_at_min","in":"query","description":"Specify the start date and time for filtering orders by order time. The system returns orders placed at this time and up to 1 year after. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"order_at_min","description":"Specify the start date and time for filtering orders by order time. The system returns orders placed at this time and up to 1 year after. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"page_info","in":"query","description":"The unique identifier for pagination queries, used to locate a specific page. \n\nThis parameter value is obtained from the `link` value in the response header of this API after you have queried the pagination information. \n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/orders.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` , the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9` . \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism).","style":"form","explode":true,"schema":{"name":"page_info","description":"The unique identifier for pagination queries, used to locate specific pages.\n\nThis parameter value is obtained from the `link` value in the response header of this APl after you have queried the pagination information.\n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/products/products.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` then the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9`.\n\nFor more information on how to use\npagination, refer to [Paging Mechanism](https://developer.shopline.com/docsv2/ec20/3cv5d7wpfgr6a8z5/gfzeraeezj4ff96u?version=v20250301).","type":"string"}},{"name":"updated_at_min","in":"query","description":"Specify the start date and time for filtering orders by order update time. The system returns orders updated at and after this time. \nFormat:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Specify the start date and time for filtering orders by order update time. The system returns orders updated at and after this time. \nFormat:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"created_at_max","in":"query","description":"Specify the end date and time for filtering orders by order creation time. The system returns orders created at and before this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"created_at_max","description":"Specify the end date and time for filtering orders by order creation time. The system returns orders created at and before this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"fulfillment_status","in":"query","description":"The shipment status of the order. Valid values are: \n- `unshipped`: order not shipped\n- `partial`: order partially shipped\n- `shipped`: order shipped\n\nDefault value: `unshipped`\n\n:::warning\n**Caution**: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order query will fail and an error `fulfillment status value is illegal` will be triggered. \n:::","style":"form","explode":true,"schema":{"name":"fulfillment_status","description":"The shipment status of the order. Valid values are: \n- `unshipped`: order not shipped\n- `partial`: order partially shipped\n- `shipped`: order shipped\n\nDefault value: `unshipped`\n\n:::warning\n**Caution**: The accuracy of the inputted value will be strictly validated. If the value fails validation, the order query will fail and an error `fulfillment status value is illegal` will be triggered. \n:::","type":"string"}},{"name":"ids","in":"query","description":"Order IDs, separated by commas. Up to a maximum of 100 IDs. ","style":"form","explode":true,"schema":{"name":"ids","description":"Order IDs, separated by commas. Up to a maximum of 100 IDs. ","type":"string"}},{"name":"location","in":"query","description":"The ID of the location where the products in the order are fulfilled, or the POS transaction point ID. You can specify multiple location IDs by separating them with commas.","style":"form","explode":true,"schema":{"name":"location","description":"The ID of the location where the products in the order are fulfilled, or the POS transaction point ID. You can specify multiple location IDs by separating them with commas.","type":"string"}},{"name":"search_content","in":"query","description":"Search content, such as order number, payment serial number, express delivery number, product name, product SKU number, and order amount.","style":"form","explode":true,"schema":{"name":"search_content","description":"Search content, such as order number, payment serial number, express delivery number, product name, product SKU number, and order amount.","type":"string"}},{"name":"sort_condition","in":"query","description":"Specify the sorting conditions for order results. You can sort by fields `order_at` (order creating time) or `id` (order ID), and each field can be specified as either `asc`(ascending) or `desc`(descending). Use commas to separate multiple sorting conditions. \n\nFor example, if you specify the value of this field as `order_at:desc, id:asc`, order results will first be sorted in descending order by order creation time, then in ascending order by order ID.","style":"form","explode":true,"schema":{"name":"sort_condition","description":"Specify the sorting conditions for order results. You can sort by fields `order_at` (order creating time) or `id` (order ID), and each field can be specified as either `asc`(ascending) or `desc`(descending). Use commas to separate multiple sorting conditions. \n\nFor example, if you specify the value of this field as `order_at:desc, id:asc`, order results will first be sorted in descending order by order creation time, then in ascending order by order ID.","type":"string"}},{"name":"contract_ids","in":"query","description":"Subscription contract IDs. You can specify multiple IDs by separating them with commas, up to a maximum of 50 IDs.","style":"form","explode":true,"schema":{"name":"contract_ids","description":"Subscription contract IDs. You can specify multiple IDs by separating them with commas, up to a maximum of 50 IDs.","type":"string"}},{"name":"email","in":"query","description":"Email of the buyer who placed the order.","style":"form","explode":true,"schema":{"name":"email","description":"Email of the buyer who placed the order.","type":"string"}},{"name":"limit","in":"query","description":"The maximum number of orders to return per request. Valid values range from `1` to `100`. The default value is `20`.","style":"form","explode":true,"schema":{"name":"limit","description":"The maximum number of orders to return per request. Valid values range from `1` to `100`. The default value is `20`.","type":"string"}},{"name":"name","in":"query","description":"Order number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin. ","style":"form","explode":true,"schema":{"name":"name","description":"Order number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin. ","type":"string"}},{"name":"since_id","in":"query","description":"The starting position of the order number ID of the data to be queried.","style":"form","explode":true,"schema":{"name":"since_id","description":"The starting position of the order number ID of the data to be queried.","type":"string"}},{"name":"buyer_id","in":"query","description":"The ID of the buyer who placed the order. ","style":"form","explode":true,"schema":{"name":"buyer_id","description":"The ID of the buyer who placed the order. ","type":"string"}},{"name":"fields","in":"query","description":"Specify the fields to query, separated by commas. If not specified, all field information is returned.","style":"form","explode":true,"schema":{"name":"fields","description":"Specify the fields to query, separated by commas. If not specified, all field information is returned.","type":"string"}},{"name":"hidden_order","in":"query","description":"Whether orders to query are archived. \n- `true`: The orders are archived.\n- `false`: The orders are not archived.\n\nDefault value: `false`","style":"form","explode":true,"schema":{"name":"hidden_order","description":"Whether orders to query are archived. \n- `true`: The orders are archived.\n- `false`: The orders are not archived.\n\nDefault value: `false`","type":"string"}},{"name":"status","in":"query","description":"Order status. Valid values are:\n- `open`: order in process\n- `cancelled`: order canceled\n- `any`: contains many other statues, such as order archived","style":"form","explode":true,"schema":{"name":"status","description":"Order status. Valid values are:\n- `open`: order in process\n- `cancelled`: order canceled\n- `any`: contains many other statues, such as order archived","type":"string"}},{"name":"updated_at_max","in":"query","description":"Specify the end date and time for filtering orders by order update time. The system returns orders updated at and before this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Specify the end date and time for filtering orders by order update time. The system returns orders updated at and before this time. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"link":{"description":"The URL link that provides the pagination data. You can obtain `page_info` from this parameter for subsequent pagination requests. \n\nThis parameter is returned when the requested page has a previous or next page. \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism)."},"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"orders":{"name":"orders","description":"List of order details. ","type":"array","items":{"type":"object","properties":{"adjust_price":{"name":"adjust_price","description":"The amount discrepancy due to rounding adjustments in POS transactions, expressed in the store currency. ","type":"string"},"adjust_price_set":{"name":"adjust_price_set","description":"The amount discrepancy due to rounding adjustments in POS transactions, displayed in both the buyer currency and the store currency. ","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount discrepancy information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The adjusted price amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount discrepancy information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The adjusted price amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"billing_address":{"name":"billing_address","description":"The address for sending billing invoices. ","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the address. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the billing recipient.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the billing recipient. ","type":"string"},"name":{"name":"name","description":"The full name of the billing recipient.","type":"string"},"phone":{"name":"phone","description":"The phone number of the billing recipient. ","type":"string"},"province":{"name":"province","description":"The province in the address. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the billing address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}},"browser_ip":{"name":"browser_ip","description":"The client IP address captured when the buyer places an order.","type":"string"},"buyer_note":{"name":"buyer_note","description":"Buyer's message.","type":"string"},"cancel_reason":{"name":"cancel_reason","description":"Merchant's reason for cancellation.","type":"string"},"cancelled_at":{"name":"cancelled_at","description":"The date and time when the order was canceled.\nFormat: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"cart_token":{"name":"cart_token","description":"The unique identifier for shopping cart data.","type":"string"},"checkout_id":{"name":"checkout_id","description":"Abandoned order ID.","type":"string"},"checkout_token":{"name":"checkout_token","description":"The unique identifier for abandoned order data. After a customer initiates the checkout process, an abandoned order is generated. ","type":"string"},"client_details":{"name":"client_details","description":"Client details.","type":"object","properties":{"browser_ip":{"name":"browser_ip","description":"The client IP address captured when the buyer places an order.","type":"string"},"session_hash":{"name":"session_hash","description":"Member session encrypted information.","type":"string"},"user_agent":{"name":"user_agent","description":"User agent.","type":"string"}}},"company":{"name":"company","description":"The buyer's company information as recorded at the time the order was placed.","type":"object","properties":{"id":{"name":"id","description":"Company ID.","type":"string"},"location_id":{"name":"location_id","description":"Location ID.","type":"string"},"tax_registration_id":{"name":"tax_registration_id","description":"Tax registration ID.","type":"string"}}},"contract_seq":{"name":"contract_seq","description":"Subscription contract ID.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"credit_limit":{"name":"credit_limit","description":"Payment information (credit limit). ","type":"object","properties":{"credit_limit_currency":{"name":"credit_limit_currency","description":"The currency of the credit payment, same as the store currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"is_credit_limit":{"name":"is_credit_limit","description":"Whether the order was paid using the credit limit (payment terms).\n- `true`: used\n- `false`: not used","type":"boolean"},"outstanding_credit_limit":{"name":"outstanding_credit_limit","description":"The current outstanding credit limit total for the order. This value decreases as the buyer makes payments toward the order.","type":"string"},"total_credit_limit":{"name":"total_credit_limit","description":"The initial credit limit total used for the order (equal to the initial outstanding credit limit total).","type":"string"}}},"currency":{"name":"currency","description":"Transaction currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"current_subtotal_price":{"name":"current_subtotal_price","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in the store currency.","type":"string"},"current_subtotal_price_set":{"name":"current_subtotal_price_set","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_discounts":{"name":"current_total_discounts","description":"The total discount amount in the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"string"},"current_total_discounts_set":{"name":"current_total_discounts_set","description":"The total discount amount displayed in both the buyer currency and the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"current_total_duties_set":{"name":"current_total_duties_set","description":"The total customs duties for the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total customs duties information for the products presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total customs duties information for the products recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_price":{"name":"current_total_price","description":"The total order amount, displayed in the store currency.","type":"string"},"current_total_price_set":{"name":"current_total_price_set","description":"The total order amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"current_total_tax":{"name":"current_total_tax","description":"The total tax amount, displayed in the store currency.","type":"string"},"current_total_tax_set":{"name":"current_total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"customer":{"name":"customer","description":"Buyer information.","type":"object","properties":{"addresses":{"name":"addresses","description":"Buyer's address information.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient.","type":"string"},"name":{"name":"name","description":"The full name of the recipient.","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer. ","type":"string"},"province":{"name":"province","description":"The province in the address. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the billing address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address.","type":"string"}}},"area_code":{"name":"area_code","description":"The area or country code for the phone number. ","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the buyer information was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"currency":{"name":"currency","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"email":{"name":"email","description":"The email of the buyer. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the buyer.","type":"string"},"id":{"name":"id","description":"Buyer's ID.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the buyer.","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer. ","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the buyer's information was updated. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}},"customer_locale":{"name":"customer_locale","description":"Buyer's language code + country or region code. \nThe language code follows the [ISO 639](https://www.iso.org/iso-639-language-code) standard. Country or region code follows the [ISO 3166-1](https://www.iso.org/glossary-for-iso-3166.html) standard.","type":"string"},"deduct_member_point_amount":{"name":"deduct_member_point_amount","description":"The amount deducted from the order using member points, expressed in the store currency and rounded to two decimal places. ","type":"string"},"deduct_member_point_amount_set":{"name":"deduct_member_point_amount_set","description":"The amount deducted from the order using member points, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The deduction amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The deduction amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"discount_applications":{"name":"discount_applications","description":"A list of discount information. ","type":"array","items":{"type":"object","properties":{"activity_type":{"name":"activity_type","description":"The type of promotion applied to the product line:\n\n- `0`: Flash Sale\n- `1`: Time-Limited Promotion\n- `2`: Bundle Offer\n- `3`: Discount Code\n- `4`: One-Page Store\n- `5`: Free Gift\n- `6`: Pre-Order\n- `7`: Add-On Item\n- `8`: Gift Box\n- `9`: Product Upsell Campaign","type":"integer"},"allocation_method":{"name":"allocation_method","description":"The discount scope. Valid values are:\n- `across`: The discount is applied to the total product amount. \n- `each`: The discount is applied to each product individually. \n\nExample: Assume the store currency is CNY. For the purchase of three identical items with a discount amount of 10 CNY, if `allocation_method` is `across`, the total price of the three items is reduced by 10 CNY; if `allocation_method` is `each`, the price of each item is reduced by 10 CNY.","type":"string"},"benefit_type":{"name":"benefit_type","description":"The type of discount applied to the product line:\n\n- `-1`:No discount\n- `1`:Amount reduction\n- `2`:Discount\n- `3`:Free shipping fee\n- `4`:Marked-up item\n- `5`:Preferential price for any N items\n- `6`:Preferential price for the combination of A and B\n- `7`:Gift\n- `8`:Fixed selling price\n- `9`:The lowest-priced item is free\n- `11`:Discount for the Nth item\n- `12`:Buy x and get y free\n- `13`:Customized\n- `14`:M (Monetary Unit) for N Items","type":"integer"},"code":{"name":"code","description":"Discount code.","type":"string"},"description":{"name":"description","description":"Custom discount description.","type":"string"},"target_selection":{"name":"target_selection","description":"Discount allocation method for line items. Valid values are: \n- `explicit`: The discount is allocated only to the explicitly specified line items. \n- `all`: The discount is allocated to all line items.\n- `entitled`: The discount is allocated only to the line items that are entitled to use the discount. ","type":"string"},"target_type":{"name":"target_type","description":"Discount target type. Valid values are:\n- `line_item`: discount applied to the product\n- `shipping_line`: discount applied to the shipping fee","type":"string"},"title":{"name":"title","description":"Automatic discount title.","type":"string"},"type":{"name":"type","description":"Discount type. Valid values are:\n- `manual`: manual discount\n- `automatic`: automatic discount\n- `discount_code`: discount applied through a discount code","type":"string"},"value":{"name":"value","description":"The specific value of the discount, in the store currency. \n- When `value_type` is `fix_amount`, this field value represents a specific discount amount. For example, if the value is `10` in CNY, it means a discount of 10 yuan. \n- When `value_type` is `percentage`, the value of this field value represents a specific discount percentage. For example, `10` means 10% off of the order amount. ","type":"string"},"value_type":{"name":"value_type","description":"The type of discount value. Valid values are:\n- `fix_amount`: Fixed amount discount. For example, if `value` is `10` in CNY, it means a discount of 10 yuan. \n- `percentage`: Percentage-based discount. For example, if `value` is `10`, it means 10% off of the order amount. ","type":"string"}}}},"discount_codes":{"name":"discount_codes","description":"A list of promo code information. ","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Discount amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"code":{"name":"code","description":"Promo code.","type":"string"},"type":{"name":"type","description":"Type of discount. Valid values are:\n- `减金额`: amount reduction\n- `打折`: offer a discount\n- `免运费`: free shipping\n- `加价品`: add-on purchase deal\n- `任意N件优惠价`: discount for purchasing any N items\n- `A+B组合优惠价`: discount for purchasing the product A and B combo\n- `赠品`: free gift\n- `固定售价`: fixed price\n- `最低价商品免费`: lowest-priced product free\n- `打包价`: package price\n- `第N件打折`: discount on the Nth item\n- `买x送y`: buy x and get y free\n- `自定义`: custom discount\n\n:::danger \t\n**DEPRECATED**:This parameter is deprecated from API version v20241201. \n:::","type":"string"}}}},"email":{"name":"email","description":"Buyer's email.","type":"string"},"financial_status":{"name":"financial_status","description":"Order payment status. Valid values are:\n- `unpaid`: order not paid\n- `authorized`: order payment has been authorized\n- `pending`: order payment in progress\n- `partially_paid`: order partially paid\n- `paid`: order paid\n- `partially_refunded`: order partially refund\n- `refunded`: order refund","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped\n","type":"string"},"fulfillments":{"name":"fulfillments","description":"A list of fulfillment information. ","type":"array","items":{"type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the fulfillment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Fulfillment ID.","type":"string"},"line_items":{"name":"line_items","description":"Product list.","type":"array","items":{"type":"object","properties":{"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"bundle_parent_variant_id":{"name":"bundle_parent_variant_id","description":"Parent product variant ID associated with the bundle child product.","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining fulfillable quantity of products at the product line level.","type":"integer"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"The quantity of products that are actually shipped.","type":"integer"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g). ","type":"double"},"id":{"name":"id","description":"The ID of the product snapshots table, generated by the system. Combined with the `order.id`, it uniquely identifies a product. ","type":"string"},"image_url":{"name":"image_url","description":"The URL address that stores the product image.","type":"string"},"is_bundle":{"name":"is_bundle","description":"Whether the product is a bundle.\n\n - `true`: The product is a bundle.\n - `false`: The product is not a bundle.","type":"boolean"},"is_bundle_component":{"name":"is_bundle_component","description":"Whether the product is a sub-item in a bundle.\n\n - `true`: The product is a sub-item in a bundle.\n - `false`: The product is not a sub-item in a bundle.","type":"boolean"},"location_id":{"name":"location_id","description":"The unique ID of the pickup location. ","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"sku":{"name":"sku","description":"Product SKU serial number.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"A unique code assigned to a distinct product in inventory.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"}}}},"name":{"name":"name","description":"Fulfillment code.","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"shipment_status":{"name":"shipment_status","description":"Product delivery status. Valid values are:\n- `out_for_delivery`: out for delivery\n- `delivered`: delivered\n- `faliure`: delivery failed\n- `picked_up`: picked up","type":"string"},"status":{"name":"status","description":"Shipping status of the order package. Valid values are:\n- `success`: shipment dispatched\n- `cancelled`: shipment has been canceled","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider.","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"The URL for tracking the package.","type":"string"},"tracking_number":{"name":"tracking_number","description":"The logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The tracking number.","type":"string"}}}},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the fulfillment was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}},"hidden_order":{"name":"hidden_order","description":"Indicates whether the order is archived.\n- `true`: The order is archived.\n- `false`: The order is not archived.","type":"boolean"},"id":{"name":"id","description":"Order ID, system-defined number.","type":"string"},"landing_site":{"name":"landing_site","description":"Link to record complete order attribution landing page information.","type":"string"},"line_items":{"name":"line_items","description":"A list of order product snapshot.","type":"array","items":{"type":"object","properties":{"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"bundle_parent_variant_id":{"name":"bundle_parent_variant_id","description":"Parent product variant ID associated with the bundle child product.","type":"string"},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"customized_attributes":{"name":"customized_attributes","description":"A list of product custom attributes.","type":"array","items":{"type":"object","properties":{"key":{"name":"key","description":"Product custom attribute name, imported from external sources.\n\nWhen `key` is `businessType`, `value` is fixed to `3`, indicating a gift. ","type":"string"},"value":{"name":"value","description":"Product custom attribute value. \n\nWhen `key` is `businessType`, `value` is fixed to `3`, indicating a gift. ","type":"string"}}}},"discount_allocations":{"name":"discount_allocations","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"Discount details in multiple currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"The position of the discount applied to the product within the `orders.discount_applications` list.","type":"integer"}}}},"duties":{"name":"duties","description":"A list of duty information.","type":"array","items":{"type":"object","properties":{"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"id":{"name":"id","description":"Tariff number.","type":"string"},"price":{"name":"price","description":"The duty amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The duty amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The duty amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"rate_percentage":{"name":"rate_percentage","description":"The tax rate as a percentage numerical value, rounded to two decimal places. For example, a 2% tax rate is represented as `2.00`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}}}}},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining fulfillable quantity at product line level.","type":"integer"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"gift_card":{"name":"gift_card","description":"Whether the product is a gift card.\n- `true`: gift card\n- `false`: not a gift card","type":"boolean"},"grams":{"name":"grams","description":"The weight of the product in grams(g).","type":"double"},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"id":{"name":"id","description":"The ID of the product snapshots table, generated by the system. Combined with the `order.id`, it uniquely identifies a product. ","type":"string"},"image_url":{"name":"image_url","description":"The URL address that stores the product image.","type":"string"},"is_bundle":{"name":"is_bundle","description":"Whether the product is a bundle.\n\n - `true`: The product is a bundle.\n - `false`: The product is not a bundle.","type":"boolean"},"is_bundle_component":{"name":"is_bundle_component","description":"Whether the product is a sub-item in a bundle.\n\n - `true`: The product is a sub-item in a bundle.\n - `false`: The product is not a sub-item in a bundle.","type":"boolean"},"location_id":{"name":"location_id","description":"Local delivery location number or standard delivery location number.","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number.","type":"string"},"properties":{"name":"properties","description":"A list of product customization information. ","type":"array","items":{"type":"object","properties":{"additional":{"name":"additional","description":"Additional custom fields for products. For example, if `name` is `text`, `additional` can include attributes such as font size, font style, and color. ","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"role_visibility":{"name":"role_visibility","description":"Custom information visibility roles: \n\n- `customer`: Visible to buyers only \n- `merchant`: Visible to merchants only\n- ` all:` Visible to both buyers and merchants \n- `none`: Hidden from both buyers and merchants","type":"string"},"show":{"name":"show","description":"Whether the property is visible.\n\n - `true`: The property is visible.\n - `false`: The property is not visible.","type":"boolean"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: text type\n- `picture`: picture type\n- `link`: hyperlink type","type":"string"},"urls":{"name":"urls","description":"URL resource list.\n- If `type` is `picture`, thumbnails are rendered via the `urls` values.\n- If `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value.","type":"string"}}}},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"sku":{"name":"sku","description":"Product SKU serial number.","type":"string"},"tags":{"name":"tags","description":"Product tags. Multiple tags are separated by commas. ","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"},"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax.\n- `product_tax`: commodity tax \n- `shipping_tax`: freight tax","type":"string"}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"A unique code assigned to a distinct product in inventory.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"}}}},"locations":{"name":"locations","description":"A list of product pickup location addresses. ","type":"array","items":{"type":"object","properties":{"address":{"name":"address","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address_add":{"name":"address_add","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"district":{"name":"district","description":"The district or county in the address.","type":"string"},"location_id":{"name":"location_id","description":"Unique code of the pickup location.","type":"string"},"name":{"name":"name","description":"Pickup location name.","type":"string"},"phone":{"name":"phone","description":"Phone number.","type":"string"},"province":{"name":"province","description":"The province in the address.","type":"string"},"town":{"name":"town","description":"The village or town in the address.","type":"string"},"type":{"name":"type","description":"Location types. Valid values are:\n- `posLocation`: The store location where the order was placed using the POS channel. It is recommended to use `posLocationId`, because `posLocation` will be deprecated soon.\n- `pickupLocation`: The store location for customer pickup when the order's delivery method is self-pickup.\n- `productLocation`: The inventory location of the products in the order. It is recommended to use the `location` information in the product line, because `productLocation` will be deprecated soon.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}}},"name":{"name":"name","description":"Store custom order number, starting from 1001. You can set a prefix for this value, such as `test1001`.","type":"string"},"note":{"name":"note","description":"Merchant notes.","type":"string"},"note_attributes":{"name":"note_attributes","description":"A list of merchant note logs.","type":"array","items":{"type":"object","properties":{"create_time":{"name":"create_time","description":"Note creation date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"name":{"name":"name","description":"Merchant ID, indicating the note source.","type":"string"},"value":{"name":"value","description":"Note content.","type":"string"}}}},"order_at":{"name":"order_at","description":"Order completion date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"order_source":{"name":"order_source","description":"The order source channel handle. The handle is a semantic identifier.","type":"string"},"order_status_url":{"name":"order_status_url","description":"Order status page URL.","type":"string"},"payment_details":{"name":"payment_details","description":"A list of order payment information. ","type":"array","items":{"type":"object","properties":{"create_time":{"name":"create_time","description":"The date and time when the payment order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"gateway":{"name":"gateway","description":"Payment method name.","type":"string"},"giftcard_presentment_money":{"name":"giftcard_presentment_money","description":"The gift card amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The giftcard amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"pay_amount":{"name":"pay_amount","description":"Payment amount in the store currency. The value is rounded to two decimal places.","type":"double"},"pay_channel":{"name":"pay_channel","description":"Payment channel.","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"Payment serial number from the external channel.","type":"string"},"pay_merchant_email":{"name":"pay_merchant_email","description":"The email address of the payment service provider.","type":"string"},"pay_merchant_id":{"name":"pay_merchant_id","description":"Payment service provider ID.","type":"string"},"pay_merchant_order_id":{"name":"pay_merchant_order_id","description":"Payment service provider order number.","type":"string"},"pay_seq":{"name":"pay_seq","description":"Payment order number.","type":"string"},"pay_status":{"name":"pay_status","description":"Payment status. Valid values are:\n- `unpaid`: unpaid\n- `pending`: payment in process\n- `risking`: under risk control\n- `paid`:paid\n- `paid_overtime`: payment timeout\n- `paid_failed`: payment failed","type":"string"},"payment_method":{"name":"payment_method","description":"Payment method.","type":"string"},"processed_at":{"name":"processed_at","description":"Custom date and time for the payment order. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"settle_currency":{"name":"settle_currency","description":"The currency used by the customer to place the order. The value of this parameter is a three-letter currency code that follow the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"settle_pay_amount":{"name":"settle_pay_amount","description":"Payment amount in `settle_currency`. The value is rounded to two decimal places. ","type":"double"},"status_code":{"name":"status_code","description":"Payment gateway standard status code.","type":"string"},"status_msg":{"name":"status_msg","description":"The description of `status_code`.","type":"string"}}}},"payment_gateway_names":{"name":"payment_gateway_names","description":"Payment method list. Valid values are:\n- `SLpayments`\n- `Paypal`\n- `Oceanpay`\n- `TwoCheckout`\n- `AsiaBill`\n- `Stripe`\n- `Pacypay`\n- `WorldPay`\n- `COD`\n- `CUSTOM`\n- `adjustPay`\n- `Xendit`\n- `XenditOther`","type":"array","items":{"type":"string"}},"payment_terms":{"name":"payment_terms","description":"Information related to payment terms. ","type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when payment terms were created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"due_in_days":{"name":"due_in_days","description":"Remaining days until the payment is due. This field is returned when the value of `payment_terms_type` is `NET`. ","type":"integer"},"id":{"name":"id","description":"The unique identifier (ID) that identifies this payment term.","type":"string"},"overdue":{"name":"overdue","description":"Whether the payment is overdue.\n- `true`: overdue\n- `false`: not overdue","type":"boolean"},"payment_schedules":{"name":"payment_schedules","description":"A set of schedules associated with the payment terms.","type":"array","items":{"type":"object","properties":{"completed_at":{"name":"completed_at","description":"Payment completion date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"due_at":{"name":"due_at","description":"Expected payment date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"issued_at":{"name":"issued_at","description":"Payment start date and time. When `payment_terms_type` is `FIXED` or `NET`, `issue_at` indicates the save time of the draft order or the order itself. If the draft order is converted to an order, the order inherits the save time of the draft. When `payment_terms_type` is `FULFILLMENT` or `RECEIPT`, it refers to the payment start date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"}}}},"payment_terms_name":{"name":"payment_terms_name","description":"The name of the payment terms template used to create the payment terms.","type":"string"},"payment_terms_type":{"name":"payment_terms_type","description":"The type of payment terms template used to create the payment terms. Valid values are:\n- `FIXED`: Merchant specified date\n- `FULFILLMENT`: Fulfillment (Shipment) completion date\n- `NET`: Fixed condition date\n- `RECEIPT`: Billing sent date\n- `UNKNOWN`: Unknown type","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the payment term was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}},"phone":{"name":"phone","description":"Buyer's mobile phone number.","type":"string"},"po_number":{"name":"po_number","description":"Purchase order number for a B2B order.","type":"string"},"pos_location_id":{"name":"pos_location_id","description":"POS trading location ID.","type":"string"},"presentment_currency":{"name":"presentment_currency","description":"Buyer currency, the same as the store currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"processed_at":{"name":"processed_at","description":"Order completion date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"processed_user_id":{"name":"processed_user_id","description":"The ID of the order creator.","type":"string"},"referring_site":{"name":"referring_site","description":"Attribution URL, used to record how the buyer was redirected to the online store. ","type":"string"},"refunds":{"name":"refunds","description":"Refund list.","type":"array","items":{"type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the refund order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Refund ID.","type":"string"},"note":{"name":"note","description":"Refund notes of merchant.","type":"string"},"order_adjustments":{"name":"order_adjustments","description":"A list of adjusted order information, used to record two types of information: \n- Refund information related to shipping costs ( `kind` is `shipping_refund` ).\n- The difference between the automatically calculated refund amount and the actual refund amount ( `kind` is `refund_discrepancy` ).","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The adjustment order amount. The value is rounded to two decimal places.","type":"string"},"amount_set":{"name":"amount_set","description":"The adjustment order amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The adjustment order amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The adjustment order amount. The value is rounded to two decimal places. ","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The adjustment order amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The adjustment order amount. The value is rounded to two decimal places. ","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"id":{"name":"id","description":"The adjustment order ID. ","type":"string"},"kind":{"name":"kind","description":"The adjustment order type. Valid values are:\n- `refund_discrepancy`: shipping amount adjustment\n- `shipping_refund`: payment order amount adjustment","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"reason":{"name":"reason","description":"Reason for adjustment.","type":"string"},"refund_id":{"name":"refund_id","description":"The refund order ID. ","type":"string"},"tax_amount":{"name":"tax_amount","description":"The tax amount of the adjusted order in store currency. The value is rounded to two decimal places. ","type":"string"},"tax_amount_set":{"name":"tax_amount_set","description":"The tax amount of the adjustment order, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"processed_at":{"name":"processed_at","description":"Refund initiation date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"A list of refund details for each item line. ","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Refund order number.","type":"string"},"line_item":{"name":"line_item","description":"The product line information in the fulfillment order.","type":"object","properties":{"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining fulfillable quantity at product line level.","type":"integer"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g). ","type":"double"},"id":{"name":"id","description":"The ID of the product snapshots table, generated by the system. Combined with the `order.id`, it uniquely identifies a product. ","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"sku":{"name":"sku","description":"Product SKU serial number.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"A unique code assigned to a distinct product in inventory.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"}}},"line_item_id":{"name":"line_item_id","description":"The ID of the product snapshots table, generated by the system. Combined with the `order.id`, it uniquely identifies a product. ","type":"string"},"quantity":{"name":"quantity","description":"The quantity of refunded products.","type":"integer"},"restock_type":{"name":"restock_type","description":"Inventory return type. Valid values are:\n- `no_restock`: not returned\n- `cancel`: canceled\n- `return`: returned","type":"string"},"subtotal":{"name":"subtotal","description":"The total amount of the refund in the store currency. It is calculated as the product of the unit price and quantity. ","type":"double"},"subtotal_set":{"name":"subtotal_set","description":"The total amount of the refund displayed in both the buyer currency and the store currency. It is calculated as the product of the unit price and quantity. ","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The refund amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The refund amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_tax":{"name":"total_tax","description":"The tax amount of the refunded products, displayed in the store currency. The value is rounded to two decimal places.","type":"double"},"total_tax_set":{"name":"total_tax_set","description":"The tax amount of the refunded products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"transactions":{"name":"transactions","description":"A list of refund transaction information. ","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"channel_refund_id":{"name":"channel_refund_id","description":"A unique identifier for the refund order from the external channel or payment provider.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the refund transaction order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"currency":{"name":"currency","description":"Three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"gateway":{"name":"gateway","description":"Payment channel code. ","type":"string"},"id":{"name":"id","description":"Refund ID.","type":"string"},"kind":{"name":"kind","description":"Transaction type. The value is fixed to `refund`.","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"processed_at":{"name":"processed_at","description":"Refund order update date and time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"settle_amount":{"name":"settle_amount","description":"Refund amount in the settlement currency ( `settle_currency` ). The value is rounded to two decimal places. ","type":"string"},"settle_currency":{"name":"settle_currency","description":"Refund settlement currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"status":{"name":"status","description":"Refund status. Valid values are: \n- `pending`: refund in progress\n- `failure`: refund failed\n- `success`: refund successful\n- `error`: refund error","type":"string"},"status_update_at":{"name":"status_update_at","description":"Update time of the refund order status.","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"}}}},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"}}}},"service":{"name":"service","description":"Shipping method type. Valid values are:\n- `Pickup`: pick up at the store\n- `null`: other shipping methods","type":"string"},"shipping_address":{"name":"shipping_address","description":"The address used for receiving packages.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"company":{"name":"company","description":"The company name of the recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"delivery_store_code":{"name":"delivery_store_code","description":"Store code for the \"Deliver to Store\" delivery method in Taiwan.","type":"string"},"delivery_store_name":{"name":"delivery_store_name","description":"Store name for the \"Deliver to Store\" delivery method in Taiwan.","type":"string"},"district":{"name":"district","description":"The district in the address.","type":"string"},"district_code":{"name":"district_code","description":"The district code in the address.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient. ","type":"string"},"latitude":{"name":"latitude","description":"The latitude where the address is located.","type":"string"},"longitude":{"name":"longitude","description":"The longitude where the address is located.","type":"string"},"name":{"name":"name","description":"The full name of the recipient. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient. ","type":"string"},"province":{"name":"province","description":"The province in the address.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}},"shipping_lines":{"name":"shipping_lines","description":"A list of shipping fee.","type":"array","items":{"type":"object","properties":{"code":{"name":"code","description":"Only local delivery shipping methods will return a value, displayed as `Local delivery` .","type":"string"},"discount_allocations":{"name":"discount_allocations","description":"A list of discount details.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The discount amount in store currency. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"The position of the discount applied to the product within the `orders.discount_applications` list.","type":"integer"}}}},"discounted_price":{"name":"discounted_price","description":"Discount amount. The value is rounded to two decimal places, is displayed in the store currency","type":"string"},"discounted_price_set":{"name":"discounted_price_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"phone":{"name":"phone","description":"Buyer's phone.","type":"string"},"price":{"name":"price","description":"The shipping fee amount in store currency. The value is rounded to two decimal places.","type":"string"},"price_set":{"name":"price_set","description":"The shipping fee amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"requested_fulfillment_service_id":{"name":"requested_fulfillment_service_id","description":"Transportation service code.","type":"string"},"shipping_price":{"name":"shipping_price","description":"The original shipping fee in store currency, excluding the amount after discount. The value is rounded to two decimal places.","type":"string"},"shipping_price_set":{"name":"shipping_price_set","description":"The original shipping fee, excluding the amount after discount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"shipping_strategy_name":{"name":"shipping_strategy_name","description":"The name of the shipping strategy. It has a corresponding value only when the shipping method is `SHIPPING` or `LOCAL_DELIVERY`.","type":"string"},"source":{"name":"source","description":"Logistics carrier type. Valid values are:\n- `Shipper`: Shipper logistics\n- `Oneship`: Oneship logistics\n- `Api`: logistics carriers added via open API capabilities\n- `null`: system logistics or custom logistics","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of logistics tax information.","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"title":{"name":"title","description":"Logistics company name.","type":"string"}}}},"source_identifier":{"name":"source_identifier","description":"The marketing referral code carried by the store link through which the customer accesses the store. The field value is extracted from the URL parameter `ref`, `resource`, or `r`. For example, if the customer visits the URL `myshopline.com/products/slide?ref=22dd9dctg`, then the value of this field is `22dd9dctg`. ","type":"string"},"source_name":{"name":"source_name","description":"Indicates the category of the app that initiated this API. Valid values are:\n- `sales_plugin_of`: The distribution app in the marketing system \n- `member_plugin_referral`: The referral app in the membership system","type":"string"},"source_url":{"name":"source_url","description":"Attribution URL, used to record how the buyer was redirected to the online store. ","type":"string"},"status":{"name":"status","description":"Order status. Valid values are:\n- `open`: The order is processing.\n- `canceled`: The order is cancelled.","type":"string"},"store_id":{"name":"store_id","description":"Store ID.","type":"string"},"subtotal_price":{"name":"subtotal_price","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. The amount is displayed in the store currency.","type":"string"},"subtotal_price_set":{"name":"subtotal_price_set","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The final price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The final price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"tags":{"name":"tags","description":"Order tag.","type":"string"},"tax_description":{"name":"tax_description","description":"The description for the tax.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"tax_number":{"name":"tax_number","description":"Tax ID.","type":"string"},"tax_type":{"name":"tax_type","description":"The type of tax applicable to the order. Valid values are:\n- `product_tax`: product tax\n- `shipping_tax`: shipping tax","type":"string"},"taxes_included":{"name":"taxes_included","description":"Indicates whether this order includes taxes.\n- `true`: including taxes\n- `false`: excluding taxes","type":"boolean"},"total_discounts":{"name":"total_discounts","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. The amount is rounded to two decimal places and displayed in the store currency.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"string"},"total_discounts_set":{"name":"total_discounts_set","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_line_items_price":{"name":"total_line_items_price","description":"The total original price of the products, rounded to two decimal places, displayed in the store currency.","type":"string"},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"The total original price of the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The original price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The original price information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_outstanding":{"name":"total_outstanding","description":"The total unpaid amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_shipping_price_set":{"name":"total_shipping_price_set","description":"The total shipping fee for the order, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_tax":{"name":"total_tax","description":"The total tax amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_tip_received":{"name":"total_tip_received","description":"The tip amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_tip_received_set":{"name":"total_tip_received_set","description":"The tip amount, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tip amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tip amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tip amount information recorded by the store.","type":"object","properties":{"amount":{"name":"amount","description":"The tip amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_weight":{"name":"total_weight","description":"The total weight of products in grams(g).","type":"double"},"updated_at":{"name":"updated_at","description":"The date and time when the order was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"},"utm_parameters":{"name":"utm_parameters","description":"Parameters specifically designed for the advertising business, used for ad attribution calculation. \n\n:::danger \t\n**DEPRECATED**:This parameter is deprecated from API version v20251201. Please fetch data from the [Get order attribution in bulk](https://developer.shopline.com/zh-hans-cn/docs/admin-rest-api/order/order-management/get-order-attribution-in-bulk?version=v20251201) API. \n:::","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get orders","version":"v20250601"},"authIndexes":["read_orders"]},"4GOFr2bU":{"tags":["Update an order"],"description":"Update information for a specified order. If the field is passed with an empty value, or not passed at all, it means the information of this field will not be updated.","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| ORDER_NOT_EXIST | 422 | The order does not exist. |\n| INTERNAL_ERROR | 500 | An internal error occured. |\n| INVALID_PARAMETER | 400 | The provided parameter is invalid. |\n| SUCCESS | 200 | request success |\n| ORDER_OVERDUE_DATA | 422 | Order data has expired, try again later |\n| ORDER_STATUS_CANCEL | 422 | Order has been canceled. |\n| ORDER_HAS_BEEN_DELIVERED | 422 | Order has been delivered. |\n| ORDER_HAS_BUYER | 422 | The customer information already exists and cannot be updated. |\n| ITEM_NOT_EXIST | 422 | The product line %s does not exist. |\n| ORDER_IS_NULL | 422 | order not exist |\n"},"operationId":"4GOFr2bU","parameters":[{"name":"id","in":"path","description":"The order ID.","required":true,"style":"simple","schema":{"name":"id","description":"The order ID.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"order":{"name":"order","description":"Order details.","type":"object","properties":{"note_attributes":{"name":"note_attributes","description":"A list of merchant note logs.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Merchant ID, indicating the note source.","type":"string"},"value":{"name":"value","description":"Note content.","type":"string"}}}},"phone":{"name":"phone","description":"The phone number of the buyer.","type":"string"},"area_code":{"name":"area_code","description":"The international dialing code for the buyer's phone number.","type":"string"},"id":{"name":"id","description":"Order ID.","type":"string"},"line_items":{"name":"line_items","description":"Products that require label updates.","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item. ","type":"string"},"tags":{"name":"tags","description":"Product tags, with multiple tags separated by English commas. This input will overwrite any existing tags.","type":"string"}}}},"shipping_address":{"name":"shipping_address","description":"The address used for receiving packages.","type":"object","properties":{"area":{"name":"area","description":"The district in the address.","type":"string"},"area_code":{"name":"area_code","description":"The district code in the address.","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient.","type":"string"},"province":{"name":"province","description":"The province in the address.","type":"string"},"latitude":{"name":"latitude","description":"The latitude where the address is located.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city in the address.","type":"string"},"city_code":{"name":"city_code","description":"The city code in the address.","type":"string"},"country":{"name":"country","description":"The country or region in the address.\nMaximum length:64","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address.","type":"string"},"email":{"name":"email","description":"The email of the recipient.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province or region in the address, automatically generated by the system.","type":"string"},"company":{"name":"company","description":"The company name of the recipient.\nMaximum length:64","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address.","type":"string"},"longitude":{"name":"longitude","description":"The longitude where the address is located.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient.\nMaximum length:64","type":"string"}}},"tags":{"name":"tags","description":"Product tags, with multiple tags separated by English commas. This input will overwrite any existing tags.","type":"string"},"customer_id":{"name":"customer_id","description":"Buyer's ID.","type":"string"},"email":{"name":"email","description":"The email of the buyer.","type":"string"}}}}}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"order":{"name":"order","description":"Order details.","type":"object","properties":{"tax_number":{"name":"tax_number","description":"Tax ID.","type":"string"},"total_discounts_set":{"name":"total_discounts_set","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"},"currency":{"name":"currency","description":"The transaction currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"deduct_member_point_amount":{"name":"deduct_member_point_amount","description":"The amount deducted from the order using member points, displayed in the store currency and rounded to two decimal places.","type":"string"},"note_attributes":{"name":"note_attributes","description":"A list of merchant note logs.","type":"array","items":{"type":"object","properties":{"create_time":{"name":"create_time","description":"Note creation time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"name":{"name":"name","description":"Merchant ID, indicating the note source.","type":"string"},"value":{"name":"value","description":"Notes.","type":"string"}}}},"refunds":{"name":"refunds","description":"Refund list.","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Refund ID.","type":"string"},"note":{"name":"note","description":"Merchant's refund notes.","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"processed_at":{"name":"processed_at","description":"Refund initiation time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"A list of refund details for each item line. ","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Refund order number.","type":"string"},"line_item":{"name":"line_item","description":"The product line information in the fulfillment.","type":"object","properties":{"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item. ","type":"string"},"sku":{"name":"sku","description":"The product SKU.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in the store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"title":{"name":"title","description":"Product title.","type":"string"},"price":{"name":"price","description":"The product price in the store currency. The value is rounded to two decimal places. ","type":"string"},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g). ","type":"double"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"}}},"total_tax":{"name":"total_tax","description":"The tax amount of the refunded products, displayed in the store currency. The value is rounded to two decimal places.","type":"double"},"total_tax_set":{"name":"total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"line_item_id":{"name":"line_item_id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item. ","type":"string"},"quantity":{"name":"quantity","description":"The quantity of refunded products.","type":"integer"},"restock_type":{"name":"restock_type","description":"Inventory return type. Valid values are:\n- `no_restock`: not returned\n- `cancel`: canceled\n- `return`: returned","type":"string"},"subtotal":{"name":"subtotal","description":"The total amount of the refund in the store currency. It is calculated as the product of the unit price and quantity. ","type":"double"},"subtotal_set":{"name":"subtotal_set","description":"The total amount of the refund displayed in both the buyer currency and the store currency. It is calculated as the product of the unit price and quantity. ","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The refund amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The refund amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"transactions":{"name":"transactions","description":"A list of refund transaction information. ","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The refund amount. The value is rounded to two decimal places. ","type":"string"},"currency":{"name":"currency","description":"Three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"kind":{"name":"kind","description":"Transaction type. The value is fixed to `refund`.","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"status":{"name":"status","description":"Refund status. Valid values are: \n- `pending`: refund in progress\n- `failure`: refund failed\n- `success`: refund successful\n- `error`: refund error","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the refund transaction was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Refund ID.","type":"string"},"processed_at":{"name":"processed_at","description":"Refund order update time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"}}}},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the refund was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}},"shipping_address":{"name":"shipping_address","description":"Shipping address.","type":"object","properties":{"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient. ","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province or region in an address, represented by the last two or three characters of the [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) standard, such as `RI` or `ENG`. ","type":"string"},"company":{"name":"company","description":"The company name of the recipient. ","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"longitude":{"name":"longitude","description":"The longitude where the address is located.","type":"string"},"name":{"name":"name","description":"The full name of the recipient. ","type":"string"},"province":{"name":"province","description":"The province in the shipping address.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province or region in the address, automatically generated by the system.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient. ","type":"string"},"latitude":{"name":"latitude","description":"The latitude where the address is located.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}},"shipping_lines":{"name":"shipping_lines","description":"A list of shipping fees.","type":"array","items":{"type":"object","properties":{"title":{"name":"title","description":"Logistics company name.","type":"string"},"code":{"name":"code","description":"Only local delivery shipping methods will return a value, displayed as `Local delivery` .","type":"string"},"discounted_price":{"name":"discounted_price","description":"Discount amount. The value is rounded to two decimal places and displayed in the store currency.","type":"string"},"discounted_price_set":{"name":"discounted_price_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"}}}}},"phone":{"name":"phone","description":"The phone number of the buyer.","type":"string"},"price":{"name":"price","description":"The shipping fee amount in the store currency. The value is rounded to two decimal places.","type":"string"},"price_set":{"name":"price_set","description":"The shipping fee amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"}}}}},"source":{"name":"source","description":"Logistics carrier type. Valid values are:\n- `Shipper`: Shipper logistics\n- `Oneship`: Oneship logistics\n- `Api`: logistics carriers added via open API capabilities\n- `null`: system logistics or custom logistics","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"Tax name.","type":"string"},"price":{"name":"price","description":"Tax in the store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"discount_allocations":{"name":"discount_allocations","description":"A list of discount details.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The discount amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"The position of the discount applied to the product within the `orders.discount_applications` list.","type":"integer"}}}},"requested_fulfillment_service_id":{"name":"requested_fulfillment_service_id","description":"Transportation service code.","type":"string"},"shipping_price":{"name":"shipping_price","description":"The original shipping fee in the store currency, excluding any discounts. The value is rounded to two decimal places.","type":"string"},"shipping_price_set":{"name":"shipping_price_set","description":"The original shipping fee, excluding any discounts, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}}}}},"customer":{"name":"customer","description":"Buyer information.","type":"object","properties":{"addresses":{"name":"addresses","description":"Buyer address information.","type":"object","properties":{"province_code":{"name":"province_code","description":"The code for the province or region in the address, automatically generated by the system.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address.","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the buyer.","type":"string"},"name":{"name":"name","description":"The full name of the buyer.","type":"string"},"province":{"name":"province","description":"The province in the address.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the buyer.","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer.","type":"string"}}},"area_code":{"name":"area_code","description":"The international dialing code for the buyer's phone number.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the buyer information was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"email":{"name":"email","description":"The email of the buyer. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer. ","type":"string"},"currency":{"name":"currency","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the buyer.","type":"string"},"id":{"name":"id","description":"Buyer's ID.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the buyer.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the buyer information was updated. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}},"customer_locale":{"name":"customer_locale","description":"Formed by combining a language code ([ISO 639](https://www.iso.org/iso-639-language-code)) with a country or region code ([ISO 3166-1](https://www.iso.org/glossary-for-iso-3166.html)), for example,`enUS`. \n\nOnly the country or region code is returned if language information is unavailable, for example, `US`. ","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the order was updated. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"checkout_id":{"name":"checkout_id","description":"Abandoned checkout ID.","type":"string"},"current_subtotal_price":{"name":"current_subtotal_price","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in the store currency.","type":"string"},"discount_codes":{"name":"discount_codes","description":"A list of promo code information. ","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Discount amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"code":{"name":"code","description":"Promo code.","type":"string"},"type":{"name":"type","description":"Type of discount. Valid values are:\n- `减金额`: amount reduction\n- `打折`: offer a discount\n- `免运费`: free shipping\n- `加价品`: add-on purchase deal\n- `任意N件优惠价`: discount for purchasing any N items\n- `A+B组合优惠价`: discount for purchasing the product A and B combo\n- `赠品`: free gift\n- `固定售价`: fixed price\n- `最低价商品免费`: lowest-priced product free\n- `打包价`: package price\n- `第N件打折`: discount on the Nth item\n- `买x送y`: buy x and get y free\n- `自定义`: custom discount\n\n:::danger\n**DEPRECATED**: The returned enum values are in Chinese.\nThis parameter is deprecated from API version v20250601.\n:::","type":"string"}}}},"company":{"name":"company","description":"The buyer's company information as presented at the time the order was placed.","type":"object","properties":{"id":{"name":"id","description":"Company ID.","type":"string"},"location_id":{"name":"location_id","description":"Location ID.","type":"string"},"tax_registration_id":{"name":"tax_registration_id","description":"Tax registration ID.","type":"string"}}},"current_total_discounts_set":{"name":"current_total_discounts_set","description":"The total discount amount displayed in both the buyer currency and the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"current_total_tax_set":{"name":"current_total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax information recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"}}}}},"order_status_url":{"name":"order_status_url","description":"Order status page URL.","type":"string"},"total_shipping_price_set":{"name":"total_shipping_price_set","description":"The total shipping fee for the order, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping fee information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping fee information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping fee. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_price":{"name":"current_total_price","description":"The total order amount, displayed in the store currency.","type":"string"},"current_total_price_set":{"name":"current_total_price_set","description":"The total order amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total order amount presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total order amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"deduct_member_point_amount_set":{"name":"deduct_member_point_amount_set","description":"The amount deducted from the order using member points, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The currency amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The deduction amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The deduction amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped\n","type":"string"},"tags":{"name":"tags","description":"Order tags.","type":"string"},"taxes_included":{"name":"taxes_included","description":"Indicates whether this order includes taxes.\n- `true`: including taxes\n- `false`: excluding taxes","type":"boolean"},"total_tax":{"name":"total_tax","description":"The total tax amount in the store currency. The value is rounded to two decimal places.","type":"string"},"name":{"name":"name","description":"Store custom order number, starting from 1001. You can set a prefix for this value, such as `test1001`.","type":"string"},"processed_at":{"name":"processed_at","description":"Order completion time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"current_total_duties_set":{"name":"current_total_duties_set","description":"The total customs duties for the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The total customs duties information for the products recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The total customs duties information for the products presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"processed_user_id":{"name":"processed_user_id","description":"The ID of the order creator.","type":"string"},"total_line_items_price":{"name":"total_line_items_price","description":"The total original price of the products, rounded to two decimal places and displayed in the store currency.","type":"string"},"total_tip_received_set":{"name":"total_tip_received_set","description":"The tip amount, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tip amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tip amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tip amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tip amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"cart_token":{"name":"cart_token","description":"The unique identifier for shopping cart data.","type":"string"},"subtotal_price":{"name":"subtotal_price","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. The amount is displayed in the store currency.","type":"string"},"subtotal_price_set":{"name":"subtotal_price_set","description":"The final price after discounts, calculated as the total product price minus any marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The final price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The final price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"current_total_tax":{"name":"current_total_tax","description":"The total tax amount, displayed in the store currency.","type":"string"},"id":{"name":"id","description":"Order ID, system-defined number.","type":"string"},"line_items":{"name":"line_items","description":"A list of order product snapshots.","type":"array","items":{"type":"object","properties":{"sku":{"name":"sku","description":"The product SKU.","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax details list.","type":"array","items":{"type":"object","properties":{"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"},"type":{"name":"type","description":"Tax type. Valid values are:\n- `product_tax`: product tax \n- `shipping_tax`: shipping tax","type":"string"},"price":{"name":"price","description":"Tax in the store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"}}}},"title":{"name":"title","description":"Product title.","type":"string"},"discount_allocations":{"name":"discount_allocations","description":"The discount amount, displayed in both the buyer currency and the store currency.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"amount_set":{"name":"amount_set","description":"Discount details in multiple currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"The position of the discount applied to the product within the `orders.discount_applications` list.","type":"integer"}}}},"properties":{"name":"properties","description":"A list of product customization information. ","type":"array","items":{"type":"object","properties":{"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: text type\n- `picture`: picture type\n- `link`: hyperlink type","type":"string"},"urls":{"name":"urls","description":"URL list. \nIf `type` is `picture`, thumbnails are retrieved via the `urls` values. \nIf `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value.","type":"string"},"additional":{"name":"additional","description":"Additional custom fields for products. For example, if `name` is `text`, `additional` can include attributes such as font size, font style, and color. ","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"}}}},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"tags":{"name":"tags","description":"Product tags. Multiple tags are separated by commas. ","type":"string"},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"location_id":{"name":"location_id","description":"Local delivery location number or standard delivery location number.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g).","type":"double"},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item. ","type":"string"},"price":{"name":"price","description":"The product price in the store currency. The value is rounded to two decimal places. ","type":"string"},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of products in the order.","type":"integer"},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"duties":{"name":"duties","description":"A list of duty information.","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"The duty amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The duty amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The duty amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The duty amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"rate_percentage":{"name":"rate_percentage","description":"The tax rate as a percentage numerical value, rounded to two decimal places. For example, a 2% tax rate is represented as `2.00`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country or region code indicating the place of origin or shipping origin. Format: [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html).","type":"string"},"harmonized_system_code":{"name":"harmonized_system_code","description":"Harmonized system code, used to categorize a product in international trade. ","type":"string"},"id":{"name":"id","description":"Tariff number.","type":"string"}}}},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"order_source":{"name":"order_source","description":"The order source channel handle. The handle is a semantic identifier.","type":"string"},"payment_details":{"name":"payment_details","description":"A list of order payment information. ","type":"array","items":{"type":"object","properties":{"pay_status":{"name":"pay_status","description":"Payment status. Valid values are:\n- `unpaid`: unpaid\n- `pending`: payment in process\n- `risking`: under risk control\n- `paid`:paid\n- `paid_overtime`: payment timeout\n- `paid_failed`: payment failed","type":"string"},"status_code":{"name":"status_code","description":"Payment gateway standard status code.","type":"string"},"status_msg":{"name":"status_msg","description":"The description of `status_code`.","type":"string"},"create_time":{"name":"create_time","description":"The date and time when the payment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"processed_at":{"name":"processed_at","description":"Actual payment time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"order_seq":{"name":"order_seq","description":"The order ID.","type":"string"},"pay_amount":{"name":"pay_amount","description":"Payment amount in the store currency. The value is rounded to two decimal places.","type":"double"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"Payment serial number from the external channel.","type":"string"},"pay_seq":{"name":"pay_seq","description":"Payment order number.","type":"string"}}}},"browser_ip":{"name":"browser_ip","description":"The IP address of the customer's browser used during order placement.","type":"string"},"credit_limit":{"name":"credit_limit","description":"Credit payment information. ","type":"object","properties":{"is_credit_limit":{"name":"is_credit_limit","description":"Indicates whether the order used credit payment.\n- `true`: used\n- `false`: not used","type":"boolean"},"outstanding_credit_limit":{"name":"outstanding_credit_limit","description":"The current occupied credit amount, initially equal to `total_credit_limit`. This value decreases with actions like repayments.","type":"string"},"total_credit_limit":{"name":"total_credit_limit","description":"The total credit amount used to pay for this order.","type":"string"},"credit_limit_currency":{"name":"credit_limit_currency","description":"The currency of the credit payment, same as the store currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"current_total_discounts":{"name":"current_total_discounts","description":"The total discount amount in the store currency. It is calculated by adding marketing discounts and custom discounts, with the resulting amount rounded to two decimal places.","type":"string"},"total_tip_received":{"name":"total_tip_received","description":"The tip amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"checkout_token":{"name":"checkout_token","description":"The unique identifier for abandoned checkout data. After a customer initiates the checkout process, an abandoned checkout is generated. ","type":"string"},"email":{"name":"email","description":"Buyer's email.","type":"string"},"fulfillments":{"name":"fulfillments","description":"A list of fulfillment information. ","type":"array","items":{"type":"object","properties":{"tracking_url":{"name":"tracking_url","description":"\nThe domain name of the logistics company.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the fulfillment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"line_items":{"name":"line_items","description":"Product list.","type":"array","items":{"type":"object","properties":{"quantity":{"name":"quantity","description":"Quantity of products in the order.","type":"integer"},"tax_lines":{"name":"tax_lines","description":"Tax information.","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"The title for the tax description, for display only. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"Tax name.","type":"string"}}}},"title":{"name":"title","description":"Product title.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"sku":{"name":"sku","description":"The product SKU.","type":"string"},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g). ","type":"double"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item. ","type":"string"},"price":{"name":"price","description":"The product price in the store currency. The value is rounded to two decimal places. ","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"}}}},"name":{"name":"name","description":"Fulfillment code.","type":"string"},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"shipment_status":{"name":"shipment_status","description":"Fulfillment shipping status. Valid values are:\n- `out_for_delivery`: out for delivery\n- `delivered`: delivered\n- `faliure`: delivery failed\n- `picked_up`: picked up","type":"string"},"status":{"name":"status","description":"Fulfillment status. Valid values are:\n- `success`: shipment dispatched\n- `cancelled`: shipment has been canceled","type":"string"},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.\n:::danger \t\n**DEPRECATED**:This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the fulfillment was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Fulfillment ID.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider.\n:::danger\n**DEPRECATED**:\nThis parameter is deprecated from API version v20250601. Refer to `tracking_info_list`.\n:::\n","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"A list of tracking information.","type":"array","items":{"type":"object","properties":{"tracking_number":{"name":"tracking_number","description":"The tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider.","type":"string"}}}}}}},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"The total original price of the products, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The original price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The original price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The original price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"financial_status":{"name":"financial_status","description":"Order payment status. Valid values are:\n- `unpaid`: order not paid\n- `authorized`: order payment has been authorized\n- `pending`: order payment in progress\n- `partially_paid`: order partially paid\n- `paid`: order paid\n- `partially_refunded`: order partially refunded\n- `refunded`: order refunded","type":"string"},"note":{"name":"note","description":"Merchant notes.","type":"string"},"payment_gateway_names":{"name":"payment_gateway_names","description":"Payment method list. Valid values are:\n- `SLpayments`\n- `Paypal`\n- `Oceanpay`\n- `TwoCheckout`\n- `AsiaBill`\n- `Stripe`\n- `Pacypay`\n- `WorldPay`\n- `COD`\n- `CUSTOM`\n- `adjustPay`\n- `Xendit`\n- `XenditOther`","type":"array","items":{"type":"string"}},"tax_type":{"name":"tax_type","description":"The type of tax applicable to the order. Valid values are:\n- `product_tax`: product tax\n- `shipping_tax`: shipping tax","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"The total tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"Tax amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_weight":{"name":"total_weight","description":"The total weight of products in grams(g).","type":"double"},"current_subtotal_price_set":{"name":"current_subtotal_price_set","description":"The total amount of products, calculated by multiplying the unit price by the quantity and displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The order amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"}}}}},"phone":{"name":"phone","description":"Buyer's mobile phone number.","type":"string"},"po_number":{"name":"po_number","description":"Purchase order number for a B2B order.","type":"string"},"store_id":{"name":"store_id","description":"Store ID.","type":"string"},"app_id":{"name":"app_id","description":"App ID.","type":"string"},"pos_location_id":{"name":"pos_location_id","description":"POS trading location ID.","type":"string"},"presentment_currency":{"name":"presentment_currency","description":"Buyer currency, the same as the store currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"total_outstanding":{"name":"total_outstanding","description":"The total unpaid amount in the store currency. The value is rounded to two decimal places. ","type":"string"},"total_outstanding_set":{"name":"total_outstanding_set","description":"Unpaid amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The unpaid amount presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"Unpaid amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The unpaid amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"Unpaid amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"cancel_reason":{"name":"cancel_reason","description":"Merchant's reason for cancellation.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"locations":{"name":"locations","description":"A list of product pickup location addresses. ","type":"array","items":{"type":"object","properties":{"type":{"name":"type","description":"Location type. Valid values are:\n- `posLocation`: The store location where this order was created through the POS channel. It is recommended to use `pos_location_id`, as this field will be deprecated.\n- `pickupLocation`: When the order's fulfillment method is self-pickup, this indicates the store location for pickup.\n- `productLocation`: The inventory location of the items in the order. It is recommended to use the `location_id` information in the line items, as this field will be deprecated.","type":"string"},"location_id":{"name":"location_id","description":"Unique code of the pickup location.","type":"string"},"name":{"name":"name","description":"Pickup location name.","type":"string"}}}},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate as a decimal value, rounded to four decimal places. For example, a 2% tax rate is represented as `0.0200`. This field value is for display only.","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"},"price":{"name":"price","description":"Tax in the store currency. The value is rounded to two decimal places. ","type":"string"}}}},"total_discounts":{"name":"total_discounts","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. The amount is rounded to two decimal places and displayed in the store currency.\n\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20210901.\n:::","type":"string"},"billing_address":{"name":"billing_address","description":"The address for sending billing invoices. ","type":"object","properties":{"province":{"name":"province","description":"The province in the address.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province or region in the address, automatically generated by the system.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient. ","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. ","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province or region in an address, represented by the last two or three characters of the [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) standard, such as `RI` or `ENG`. ","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"},"city":{"name":"city","description":"The city in the address. ","type":"string"},"country":{"name":"country","description":"The country or region in the address. ","type":"string"},"first_name":{"name":"first_name","description":"The first name of the billing recipient.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the billing recipient.","type":"string"},"name":{"name":"name","description":"The full name of the billing recipient.","type":"string"},"phone":{"name":"phone","description":"The phone number of the billing recipient.","type":"string"}}},"cancelled_at":{"name":"cancelled_at","description":"The date and time when the order was canceled.\nFormat: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"client_details":{"name":"client_details","description":"Client details.","type":"object","properties":{"browser_ip":{"name":"browser_ip","description":"The IP address of the customer's browser used during order placement.","type":"string"},"session_hash":{"name":"session_hash","description":"Member session encrypted information.","type":"string"},"user_agent":{"name":"user_agent","description":"User agent.","type":"string"}}},"discount_applications":{"name":"discount_applications","description":"Discount information.","type":"array","items":{"type":"object","properties":{"type":{"name":"type","description":"Discount type. Valid values are:\n- `manual`: manual discount\n- `automatic`: automatic discount\n- `discount_code`: discount applied through a discount code","type":"string"},"value":{"name":"value","description":"The specific value of the discount, in the store currency. \n- When `value_type` is `fix_amount`, this field value represents a specific discount amount. For example, if the value is `10` and the store currency is USD, it means a discount of 10 dollars. \n- When `value_type` is `percentage`, the value of this field represents a specific discount percentage. For example, `10` means 10% off of the order amount. ","type":"string"},"value_type":{"name":"value_type","description":"The type of discount value. Valid values are:\n- `fix_amount`: Fixed amount discount. For example, if `value` is `10` in USD, it means a discount of 10 dollars. \n- `percentage`: Percentage-based discount. For example, if `value` is `10`, it means 10% off of the order amount. ","type":"string"},"allocation_method":{"name":"allocation_method","description":"The discount scope. Valid values are:\n- `across`: The discount is applied to the total product amount. \n- `each`: The discount is applied to each product individually. \n\nFor example, for a purchase of three identical products with a discount amount `value` of 10 dollars. If the `allocation_method` is `across`, the total amount of the three products is reduced by 10 dollars. If the `allocation_method` is `each`, the amount of each product is individually reduced by 10 dollars.","type":"string"},"title":{"name":"title","description":"Automatic discount title.","type":"string"},"code":{"name":"code","description":"Discount code.","type":"string"},"description":{"name":"description","description":"Custom discount description.","type":"string"},"target_selection":{"name":"target_selection","description":"Discount allocation method for line items. Valid values are: \n- `explicit`: The discount is allocated only to the explicitly specified line items. \n- `all`: The discount is allocated to all line items.\n- `entitled`: The discount is allocated only to the line items that are entitled to use the discount. ","type":"string"},"target_type":{"name":"target_type","description":"Discount target type. Valid values are:\n- `line_item`: discount applied to the product\n- `shipping_line`: discount applied to the shipping fee","type":"string"}}}}}}}}}}},"400":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"name":"errors","description":"Error message. ","type":"string"}},"required":["errors"]}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/orders/:id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update an order","version":"v20250601"},"authIndexes":["write_orders"]},"NjTxSauJ":{"tags":["Cancel order"],"description":"Cancel order","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| ORDER_NOT_EXIST | 422 | The order does not exist. |\n| INTERNAL_ERROR | 500 | An internal error occured. |\n| INVALID_PARAMETER | 400 | The provided parameter is invalid. |\n| SUCCESS | 200 | request success |\n| ORDER_OVERDUE_DATA | 422 | Order data has expired, try again later |\n| ORDER_STATUS_CANCEL | 422 | Order has been canceled. |\n| ORDER_HAS_BEEN_DELIVERED | 422 | Order has been delivered. |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ORDER_IS_NULL | 422 | order not exist |\n| ILLEGAL_STATE | 422 | illegal state |\n"},"operationId":"NjTxSauJ","parameters":[{"name":"id","in":"path","description":"Order number","required":true,"style":"simple","schema":{"name":"id","description":"Order number","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"processed_at":{"name":"processed_at","description":"Cancel the order actual time","type":"string"},"refund_type":{"name":"refund_type","description":"Refund type:\n\n- `OriginalPayment Refund`: Refund by original payment method\n\n- `Manual`: Manually mark refund\n\nWhen the payment channel is Paypal, the default value is: `OriginalPayment Refund` if not passed. The default value for other payment channels is: `Manual`.","type":"string"},"restock":{"name":"restock","description":"\"Will the inventory be rolled back?\"\ntrue :roll back the inventory \nfalse or null : don’t roll back the inventory ","type":"boolean"},"amount":{"name":"amount","description":"amount","type":"double"},"cancel_reason":{"name":"cancel_reason","description":"cancelReason","type":"string"},"currency":{"name":"currency","description":"currency","type":"string"},"email":{"name":"email","description":"Send mail or not","type":"boolean"}}}}},"required":true},"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"order":{"name":"order","description":"For order information, field descriptions and examples, please refer to the response result of the order list","type":"object","properties":{"checkout_id":{"name":"checkout_id","description":"abandoned order id","type":"string"},"currency":{"name":"currency","description":"Transaction currency","type":"string"},"current_total_discounts_set":{"name":"current_total_discounts_set","description":"Discount sum multi-currency information, there is no multi-currency, so the currency and amount of the buyer and seller are the same; { currentTotalDiscountsSet \"shopMoney\": { \"amount\": \"100\", \"currency_code\": \"CNY\" }, \"presentmentMoney\": { \"amount\": \"100\", \"currency_code\": \"CNY\" } }","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency information","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"order_status_url":{"name":"order_status_url","description":"Order status page URL","type":"string"},"payment_gateway_names":{"name":"payment_gateway_names","description":"List of payment methods, list of payment methods used for this order, SLpayments, Paypal (PayPal payment), Oceanpay (Oceanpayment), TwoCheckout, AsiaBill, Stripe, Pacypay, WorldPay, COD (cash on delivery), CUSTOM (custom), adjustPay (funding adjustment), Xendit (xendit credit card), XenditOther","type":"array","items":{"type":"string"}},"company":{"name":"company","description":"Company info","type":"object","properties":{"id":{"name":"id","description":"Company id","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"},"tax_registration_id":{"name":"tax_registration_id","description":"Tax registration id","type":"string"}}},"subtotal_price_set":{"name":"subtotal_price_set","description":"Multi-currency information of total product price after discount","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}}}},"tax_type":{"name":"tax_type","description":"Types of tax ID","type":"string"},"taxes_included":{"name":"taxes_included","description":"Does the total include tax?","type":"boolean"},"total_outstanding":{"name":"total_outstanding","description":"Sum of unpaid amount, precision 2","type":"string"},"email":{"name":"email","description":"Buyer's mailbox, there must be one of the two","type":"string"},"current_subtotal_price_set":{"name":"current_subtotal_price_set","description":"Multi-currency information of the current commodity sum, the buyer's and seller's currency and the amount are the same","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency code","type":"string"}}}}},"current_total_tax":{"name":"current_total_tax","description":"Total tax, product tax + shipping tax","type":"string"},"deduct_member_point_amount_set":{"name":"deduct_member_point_amount_set","description":"Current order membership credit to the amount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}}}},"shipping_address":{"name":"shipping_address","description":"Shipping address","type":"object","properties":{"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"zip":{"name":"zip","description":"Postal code","type":"string"},"country":{"name":"country","description":"Country","type":"string"},"first_name":{"name":"first_name","description":"First name","type":"string"},"name":{"name":"name","description":"Full name","type":"string"},"phone":{"name":"phone","description":"Phone","type":"string"},"province":{"name":"province","description":"Province","type":"string"},"address2":{"name":"address2","description":"Detailed address 2, optional","type":"string"},"longitude":{"name":"longitude","description":"longitude","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"latitude":{"name":"latitude","description":"latitude","type":"string"},"address1":{"name":"address1","description":"Detailed address 1","type":"string"},"city":{"name":"city","description":"City","type":"string"},"company":{"name":"company","description":"Company Name","type":"string"},"last_name":{"name":"last_name","description":"Last name","type":"string"},"province_code":{"name":"province_code","description":"Province code","type":"string"}}},"tags":{"name":"tags","description":"order label","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax amount , accuracy 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"title":{"name":"title","description":"Tax name","type":"string"}}}},"billing_address":{"name":"billing_address","description":"Billing address information","type":"object","properties":{"address1":{"name":"address1","description":"Detailed address 1","type":"string"},"address2":{"name":"address2","description":"Detailed address 2, optional","type":"string"},"city":{"name":"city","description":"City","type":"string"},"country":{"name":"country","description":"Country","type":"string"},"first_name":{"name":"first_name","description":"Last name","type":"string"},"province":{"name":"province","description":"Province","type":"string"},"province_code":{"name":"province_code","description":"Province code","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"company":{"name":"company","description":"Company Name","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"last_name":{"name":"last_name","description":"First name","type":"string"},"name":{"name":"name","description":"Full name","type":"string"},"phone":{"name":"phone","description":"Phone","type":"string"},"zip":{"name":"zip","description":"Postal code","type":"string"}}},"cart_token":{"name":"cart_token","description":"shopping cart token","type":"string"},"customer_locale":{"name":"customer_locale","description":"Buyer country, language code + country name abbreviation","type":"string"},"tax_number":{"name":"tax_number","description":"TIN","type":"string"},"checkout_token":{"name":"checkout_token","description":"Checkout page token","type":"string"},"current_total_discounts":{"name":"current_total_discounts","description":"Sum of discounts, precision 2, marketing offers + artificial discounts","type":"string"},"presentment_currency":{"name":"presentment_currency","description":"Buy side currency, same as sell side currency","type":"string"},"total_discounts":{"name":"total_discounts","description":"Total discount, marketing discount + artificial discount","type":"string"},"cancelled_at":{"name":"cancelled_at","description":"Order cancellation time (end) (see IOS8601 for the format), 2012-05-01T14:22:25-04:00","type":"string"},"discount_codes":{"name":"discount_codes","description":"Promo code information","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Discount amount, precision 2","type":"string"},"amount_set":{"name":"amount_set","description":"Discount amount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"code":{"name":"code","description":"Promo code","type":"string"},"type":{"name":"type","description":"Type of discount, reduced amount; discount; free shipping; fixed price; the lowest price item is free; package price; the Nth item is discounted;","type":"string"}}}},"fulfillment_status":{"name":"fulfillment_status","description":"The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;","type":"string"},"id":{"name":"id","description":"Order number, system-defined number","type":"string"},"phone":{"name":"phone","description":"Buyer contact information, there must be one of the two","type":"string"},"store_id":{"name":"store_id","description":"store ID","type":"string"},"current_subtotal_price":{"name":"current_subtotal_price","description":"Sum of current products, total price of products * quantity","type":"string"},"current_total_price":{"name":"current_total_price","description":"The total order amount, displayed in the store currency.","type":"string"},"deduct_member_point_amount":{"name":"deduct_member_point_amount","description":"Current order membership credit","type":"string"},"payment_details":{"name":"payment_details","description":"Payment slip information","type":"array","items":{"type":"object","properties":{"pay_amount":{"name":"pay_amount","description":"Payment amount","type":"double"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number","type":"string"},"status_code":{"name":"status_code","description":"Payment status code","type":"string"},"pay_seq":{"name":"pay_seq","description":"Payment slip number","type":"string"},"pay_status":{"name":"pay_status","description":"Payment order status, unpaid-unpaid; pending-paying; risking-risk control; paid-paid; paid_overtime-payment failed; paid_failed-payment failed;","type":"string"},"processed_at":{"name":"processed_at","description":"Payment creation time , format : 2023-04-12T22 : 59 : 52+08 : 00","type":"string"},"status_msg":{"name":"status_msg","description":"Payment order status code description","type":"string"},"create_time":{"name":"create_time","description":"Payment slip create time ( format see IOS8601 )","type":"string"},"order_seq":{"name":"order_seq","description":"Order number","type":"string"}}}},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"Sum of original price of goods, multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"cancel_reason":{"name":"cancel_reason","description":"Seller's reason for cancellation","type":"string"},"financial_status":{"name":"financial_status","description":"Payment status, unpaid, authorized, pending, partially_paid, paid, partially_refunded, refunded","type":"string"},"note":{"name":"note","description":"Merchant notes","type":"string"},"refunds":{"name":"refunds","description":"Refund list","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Refund ID","type":"string"},"note":{"name":"note","description":"Refund Notes","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"processed_at":{"name":"processed_at","description":"Update time (see IOS8601 for the format)","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"Refund Details","type":"array","items":{"type":"object","properties":{"total_tax":{"name":"total_tax","description":"Tax amount of refunded goods, precision 2","type":"double"},"total_tax_set":{"name":"total_tax_set","description":"Total tax amount, multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"line_item":{"name":"line_item","description":"Refund Product line","type":"object","properties":{"variant_title":{"name":"variant_title","description":"Commodity attribute value, multiple divided by \" / \", such as: \"155 / red / large\"","type":"string"},"name":{"name":"name","description":"SKU title, same as title","type":"string"},"price":{"name":"price","description":"Commodity price, precision 2","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"sku":{"name":"sku","description":"Product code, barCode","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"id":{"name":"id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"title":{"name":"title","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"}}}},"fulfillment_status":{"name":"fulfillment_status","description":"The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;","type":"string"},"grams":{"name":"grams","description":"Weight ( grams )","type":"double"},"price_set":{"name":"price_set","description":"Product selling price , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number","type":"string"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order","type":"integer"},"title":{"name":"title","description":"Product title","type":"string"},"variant_id":{"name":"variant_id","description":"Product SKU serial number","type":"string"}}},"line_item_id":{"name":"line_item_id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"},"quantity":{"name":"quantity","description":"Quantity, quantity of goods","type":"integer"},"restock_type":{"name":"restock_type","description":"Inventory return type, no_restock-not returned, cancel-cancelled, return-returned only not returned","type":"string"},"subtotal":{"name":"subtotal","description":"Total refund amount, precision 2","type":"double"},"id":{"name":"id","description":"Refund order number","type":"string"},"subtotal_set":{"name":"subtotal_set","description":"Total refund amount, multi-currency information, same on seller and buyer side","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}}}}},"transactions":{"name":"transactions","description":"Refund transaction information","type":"array","items":{"type":"object","properties":{"created_at":{"name":"created_at","description":"Creation time (see IOS8601 for the format)","type":"string"},"kind":{"name":"kind","description":"Transaction type (authorization, capture, sale, void, refund)","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"status":{"name":"status","description":"Handling status, pending, failure, success, and error","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"},"currency":{"name":"currency","description":"Currency","type":"string"},"id":{"name":"id","description":"Refund ID","type":"string"},"processed_at":{"name":"processed_at","description":"Update time (see IOS8601 for the format)","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID","type":"string"}}}},"user_id":{"name":"user_id","description":"User ID","type":"string"},"created_at":{"name":"created_at","description":"Refund form creation time (see IOS8601 for the format)","type":"string"}}}},"total_weight":{"name":"total_weight","description":"Total product weight ( g )","type":"double"},"updated_at":{"name":"updated_at","description":"Order update time ( format see IOS8601 )","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"Total taxes and fees, multi-currency information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Amount","type":"string"},"amount":{"name":"amount","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"line_items":{"name":"line_items","description":"Order product snapshot information","type":"array","items":{"type":"object","properties":{"variant_title":{"name":"variant_title","description":"Commodity attribute value, multiple divided by \" / \", such as: \"155 / red / large\"","type":"string"},"gift_card":{"name":"gift_card","description":"Is it a gift card product?","type":"boolean"},"product_id":{"name":"product_id","description":"SPU serial number","type":"string"},"sku":{"name":"sku","description":"Product code, barCode","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"title":{"name":"title","description":"Tax name","type":"string"},"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax. The enumeration value is as follows product_tax: commodity tax shipping_tax: freight tax","type":"string"}}}},"title":{"name":"title","description":"Product title","type":"string"},"discount_allocations":{"name":"discount_allocations","description":"Marketing discount details in multiple currencies","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Discount details","type":"string"},"amount_set":{"name":"amount_set","description":"Discount details in multiple currencies","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Payment currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"Discount index information : marked in the position of the discount details","type":"integer"}}}},"grams":{"name":"grams","description":"Weight ( grams )","type":"double"},"harmonized_system_code":{"name":"harmonized_system_code","description":"harmonized system code","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order","type":"integer"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"duties":{"name":"duties","description":"Duty information","type":"array","items":{"type":"object","properties":{"harmonized_system_code":{"name":"harmonized_system_code","description":"Customs code","type":"string"},"id":{"name":"id","description":"Tariff number","type":"string"},"price":{"name":"price","description":"Tariff multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"tax_lines":{"name":"tax_lines","description":"Tax details list","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"rate_percentage":{"name":"rate_percentage","description":"Tax rate (percentage value, i.e. rate * 100)","type":"double"},"title":{"name":"title","description":"Tax title","type":"string"}}}},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country code of origin/shipping point","type":"string"}}}},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;","type":"string"},"id":{"name":"id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"},"location_id":{"name":"location_id","description":"The corresponding location of the store in the POS scenario","type":"string"},"price":{"name":"price","description":"Commodity price, precision 2","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"country_code_of_origin":{"name":"country_code_of_origin","description":"Country of origin","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"name":{"name":"name","description":"SKU title, same as title","type":"string"},"price_set":{"name":"price_set","description":"Product selling price , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"variant_id":{"name":"variant_id","description":"Product SKU serial number","type":"string"}}}},"note_attributes":{"name":"note_attributes","description":"Merchant note log, date content","type":"array","items":{"type":"object","properties":{"create_time":{"name":"create_time","description":"Remark creation time (see IOS8601 for the format)","type":"string"},"name":{"name":"name","description":"Remark source (seller ID)","type":"string"},"value":{"name":"value","description":"Notes","type":"string"}}}},"total_tax":{"name":"total_tax","description":"Sum of taxes, precision 2, commodity tax + shipping tax","type":"string"},"total_tip_received":{"name":"total_tip_received","description":"Tip, precision 2","type":"string"},"client_details":{"name":"client_details","description":"Client Details","type":"object","properties":{"user_agent":{"name":"user_agent","description":"Client Proxy","type":"string"},"browser_ip":{"name":"browser_ip","description":"Detailed address 1","type":"string"},"session_hash":{"name":"session_hash","description":"sessionId","type":"string"}}},"order_source":{"name":"order_source","description":"Order source","type":"string"},"app_id":{"name":"app_id","description":"App ID","type":"string"},"processed_user_id":{"name":"processed_user_id","description":"Order creator","type":"string"},"subtotal_price":{"name":"subtotal_price","description":"Total product price after discount, total product price - marketing discount - artificial discount","type":"string"},"total_line_items_price":{"name":"total_line_items_price","description":"Sum of original prices of goods, precision 2","type":"string"},"total_outstanding_set":{"name":"total_outstanding_set","description":"The total amount of payment is total , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"total_shipping_price_set":{"name":"total_shipping_price_set","description":"Order shipping sum, multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"browser_ip":{"name":"browser_ip","description":"Client IP","type":"string"},"current_total_tax_set":{"name":"current_total_tax_set","description":"Multi-currency information of the sum of taxes, the currency and amount of buyers and sellers are the same","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"shipping_lines":{"name":"shipping_lines","description":"Logistics information","type":"array","items":{"type":"object","properties":{"discounted_price_set":{"name":"discounted_price_set","description":"Discount multi-currency amounts","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"price":{"name":"price","description":"Logistics freight, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Logistics freight multi-resource information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"shipping_price":{"name":"shipping_price","description":"Original shipping value ( non-discounted amount )","type":"string"},"shipping_price_set":{"name":"shipping_price_set","description":"Original shipping value ( non-discounted amount ) , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"source":{"name":"source","description":"Freight source","type":"string"},"tax_lines":{"name":"tax_lines","description":"Logistics tax list","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"title":{"name":"title","description":"Tax name","type":"string"},"price":{"name":"price","description":"taxes","type":"string"}}}},"discount_allocations":{"name":"discount_allocations","description":"Discount details","type":"array","items":{"type":"object","properties":{"amount_set":{"name":"amount_set","description":"Discount multi-currency amounts","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"discount_application_index":{"name":"discount_application_index","description":"Discount index information : marked in the position of the discount details","type":"integer"},"amount":{"name":"amount","description":"Discount amount, precision 2","type":"string"}}}},"discounted_price":{"name":"discounted_price","description":"Discount amount, precision 2","type":"string"},"requested_fulfillment_service_id":{"name":"requested_fulfillment_service_id","description":"Transportation service code","type":"string"},"title":{"name":"title","description":"Logistics name","type":"string"},"code":{"name":"code","description":"Logistics number","type":"string"}}}},"total_tip_received_set":{"name":"total_tip_received_set","description":"Tip , multi-currency message","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller side currency information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"created_at":{"name":"created_at","description":"Order creation time (see IOS8601 for the format)","type":"string"},"current_total_price_set":{"name":"current_total_price_set","description":"The total order amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The order price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The total order amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"customer":{"name":"customer","description":"Buyer information","type":"object","properties":{"last_name":{"name":"last_name","description":"Last name","type":"string"},"phone":{"name":"phone","description":"User mobile phone number","type":"string"},"area_code":{"name":"area_code","description":"Phone area code","type":"string"},"created_at":{"name":"created_at","description":"Buyer creation time (see IOS8601 for the format)","type":"string"},"currency":{"name":"currency","description":"Currency","type":"string"},"first_name":{"name":"first_name","description":"First name","type":"string"},"updated_at":{"name":"updated_at","description":"Buyer update time","type":"string"},"addresses":{"name":"addresses","description":"Buyer address information","type":"object","properties":{"address1":{"name":"address1","description":"Detailed address 1","type":"string"},"address2":{"name":"address2","description":"Detailed address 2, optional","type":"string"},"city":{"name":"city","description":"City","type":"string"},"country":{"name":"country","description":"Country","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"last_name":{"name":"last_name","description":"First name","type":"string"},"name":{"name":"name","description":"Full name","type":"string"},"phone":{"name":"phone","description":"Phone","type":"string"},"first_name":{"name":"first_name","description":"Last name","type":"string"},"province":{"name":"province","description":"Province","type":"string"},"province_code":{"name":"province_code","description":"Province code","type":"string"},"zip":{"name":"zip","description":"Postal code","type":"string"}}},"email":{"name":"email","description":"User mailbox","type":"string"},"id":{"name":"id","description":"User ID","type":"string"}}},"name":{"name":"name","description":"Custom order number","type":"string"},"processed_at":{"name":"processed_at","description":"Processed_at time , format : 2023-04-12T22 : 59 : 52+08 : 00","type":"string"},"total_discounts_set":{"name":"total_discounts_set","description":"Multi-currency information of discount total","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"current_total_duties_set":{"name":"current_total_duties_set","description":"Current Product total duty","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"discount_applications":{"name":"discount_applications","description":"All discount information for this order application","type":"array","items":{"type":"object","properties":{"target_type":{"name":"target_type","description":"Discount application for event object 1 ) line_item 2 ) shipping_line","type":"string"},"value":{"name":"value","description":"Discount value for event","type":"string"},"target_selection":{"name":"target_selection","description":"Discount application for event specific object 1 ) explicit ( discount distribution to clear selected Product or shipping ) 2 ) all ( discount distribution to all Product or shipping ) 3 ) ENTITLED ( discount only distribution to its right to the shipping line ) 3 ) ENTITLED ( discount only to the shipping line of the","type":"string"},"title":{"name":"title","description":"Specific description of the event","type":"string"},"type":{"name":"type","description":"Event discount type 1 ) manual 2 ) automatic ( auto discount type ) 3 ) discount_code ( discount code type )","type":"string"},"value_type":{"name":"value_type","description":"Activity discount value type , containing percentage and fixed amount two types","type":"string"},"allocation_method":{"name":"allocation_method","description":"Discount application range 1 ) across ( the value is distributed in all authorized lines ) 2 ) the echo ( the value is applied to each authorized line )","type":"string"},"code":{"name":"code","description":"Specific description of the event","type":"string"},"description":{"name":"description","description":"Specific description of the event","type":"string"}}}},"fulfillments":{"name":"fulfillments","description":"Package information","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Package number","type":"string"},"line_items":{"name":"line_items","description":"Product list","type":"array","items":{"type":"object","properties":{"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"fulfillment_status":{"name":"fulfillment_status","description":"The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;","type":"string"},"price":{"name":"price","description":"Commodity price, precision 2","type":"string"},"quantity":{"name":"quantity","description":"Quantity of items in the order","type":"integer"},"title":{"name":"title","description":"Product name","type":"string"},"id":{"name":"id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"},"variant_title":{"name":"variant_title","description":"Commodity attribute value, multiple divided by \" / \", such as: \"155 / red / large\"","type":"string"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"sku":{"name":"sku","description":"Product code, barCode","type":"string"},"grams":{"name":"grams","description":"Weight ( grams )","type":"double"},"name":{"name":"name","description":"SKU title, same as title","type":"string"},"price_set":{"name":"price_set","description":"Product selling price , multi-currency information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number","type":"string"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Currency information","type":"object","properties":{"amount":{"name":"amount","description":"Description amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"title":{"name":"title","description":"Tax name","type":"string"}}}},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"variant_id":{"name":"variant_id","description":"Product SKU serial number","type":"string"}}}},"shipment_status":{"name":"shipment_status","description":"Package tracking","type":"string"},"status":{"name":"status","description":"Logistics delivery status, success-shipped; cancelled-cancelled;","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"updated_at":{"name":"updated_at","description":"Update time (see IOS8601 for the format)","type":"string"},"created_at":{"name":"created_at","description":"Creation time (see IOS8601 for the format)","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters tracking_url, tracking_number, and tracking_company will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"type":"object","properties":{"tracking_number":{"name":"tracking_number","description":"The logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The tracking number.","type":"string"},"tracking_company":{"name":"tracking_company","description":"The URL for tracking the package.","type":"string"}}}},"tracking_number":{"name":"tracking_number","description":"Third party tracking number","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics company URL","type":"string"}}}},"user_id":{"name":"user_id","description":"Buyer ID","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/:id/cancel.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Cancel order","version":"v20250601"},"authIndexes":["write_orders"]},"wxH6Iy4T":{"description":"Deletes an order. Orders that interact with an online gateway can't be deleted","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"wxH6Iy4T","parameters":[{"name":"order_id","in":"path","description":"order id","required":true,"style":"simple","schema":{"name":"order_id","description":"order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/orders/:order_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Delete an order","version":"v20240601"},"authIndexes":["write_orders"]},"sEnRib5i":{"tags":["Get fraud risks for an order"],"description":"Get a list of fraud risks for a specific order. ","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"sEnRib5i","parameters":[{"name":"order_id","in":"path","description":"Order ID.","required":true,"style":"simple","schema":{"name":"order_id","description":"Order ID.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"risks":{"name":"risks","description":"A list of fraud risks.","type":"array","items":{"type":"object","properties":{"checkout_id":{"name":"checkout_id","description":"The abandoned checkout ID associated with the order.","type":"string"},"display":{"name":"display","description":"Whether to display the risk warning indicator on the order detail page:\n- `true`: Display\n- `false`: Do not display","type":"boolean"},"id":{"name":"id","description":"Fraud risk ID.","type":"string"},"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"A list of fraud risk details.","type":"array","items":{"type":"object","properties":{"message":{"name":"message","description":"Information about the fraud risk. ","type":"string"},"risk_detail_level":{"name":"risk_detail_level","description":"Level of the fraud risk. Valid values are::\n- `cancel`: High risk \n- `investigate`: Medium risk\n- `accept`: Low risk\n- `unknown`: Unknown risk","type":"string"}}}},"score":{"name":"score","description":"Fraud risk score ranging from 0 to 1, where 1 indicates the highest risk level.","type":"string"},"cause_cancel":{"name":"cause_cancel","description":"Indicates whether to cancel the order. Valid values are:\n- `true`: Cancel\n- `false`: Do not cancel","type":"boolean"},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"recommendation":{"name":"recommendation","description":"Fraud risk level. Valid values are:\n- `cancel`: High risk \n- `investigate`: Medium risk\n- `accept`: Low risk","type":"string"},"source":{"name":"source","description":"The identifier of the fraud risk resource. Valid values are:\n- `Internal`: The fraud risk determination result from our internal system\n- `External`: The fraud risk determination result from external app","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/v2/:order_id/risks.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get fraud risks for an order","version":"v20220901"},"authIndexes":["read_orders"]},"9dTzkrIq":{"externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"9dTzkrIq","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"risk_id","in":"path","description":"Risk id","required":true,"style":"simple","schema":{"name":"risk_id","description":"Risk id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"risk":{"name":"risk","description":"Risk information","type":"object","properties":{"recommendation":{"name":"recommendation","description":"Fraud risk rating : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"},"source":{"name":"source","description":"Source logo , Internal- internal 、External- external","type":"string"},"order_id":{"name":"order_id","description":"Order serial number","type":"string"},"display":{"name":"display","description":"Show the logo on the detail page , true- display , false- not display or not","type":"boolean"},"id":{"name":"id","description":"Risk id","type":"string"},"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"Fraud risk node","type":"array","items":{"name":"risk_detail_msg_list","description":"Fraud risk node","type":"object","properties":{"message":{"name":"message","description":"Fraud risk node details","type":"string"},"risk_detail_level":{"name":"risk_detail_level","description":"Fraud risk details class : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"}}}},"score":{"name":"score","description":"Fraud risk score , 0-1 , 1 score the highest risk score","type":"string"},"cause_cancel":{"name":"cause_cancel","description":"Cancel order logo , true- cancel , false- do not cancel","type":"boolean"},"checkout_id":{"name":"checkout_id","description":"Order associated discard id","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/v2/:order_id/risks/:risk_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query risk fraud for order specify","version":"v20220901"},"authIndexes":["read_orders"]},"HFgk9L11":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"HFgk9L11","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"risk":{"name":"risk","description":"Order risk information","type":"object","properties":{"recommendation":{"name":"recommendation","description":"Fraud risk rating : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"},"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"array","items":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"object","properties":{"message":{"name":"message","description":"Fraud risk node details","type":"string"},"risk_detail_level":{"name":"risk_detail_level","description":"Fraud risk node details category : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"}},"required":["message","risk_detail_level"]}},"score":{"name":"score","description":"Fraud risk score , 0.0-1.0 , 1 score the highest risk","type":"string"},"source":{"name":"source","description":"Source logo , fixed to : External- external","type":"string"},"cause_cancel":{"name":"cause_cancel","description":"Cancel order logo , true- cancel , false- do not cancel","type":"boolean"},"checkout_id":{"name":"checkout_id","description":"Order associated discard id","type":"string"},"display":{"name":"display","description":"Show the logo on the detail page , true- display , false- not display or not","type":"boolean"}},"required":["cause_cancel","display","recommendation","score","source"]}},"required":["risk"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"risk":{"name":"risk","description":"Risk fraud information","type":"object","properties":{"id":{"name":"id","description":"Fraud risk id","type":"string"},"source":{"name":"source","description":"Source logo , Internal- internal 、External- external","type":"string"},"recommendation":{"name":"recommendation","description":"Fraud risk rating : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"},"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"array","items":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"object","properties":{"message":{"name":"message","description":"Fraud risk node details","type":"string"},"risk_detail_level":{"name":"risk_detail_level","description":"Fraud risk node details category : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"}}}},"order_id":{"name":"order_id","description":"Order serial number","type":"string"},"score":{"name":"score","description":"Fraud risk score , 0-1 , 1 score the highest risk score","type":"string"},"checkout_id":{"name":"checkout_id","description":"Order associated discard id","type":"string"},"display":{"name":"display","description":"Show the logo on the detail page , true- display , false- not display or not","type":"boolean"},"cause_cancel":{"name":"cause_cancel","description":"Cancel order logo , true- cancel , false- do not cancel","type":"boolean"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/v2/:order_id/risks.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Add risk fraud","version":"v20220901"},"authIndexes":["write_orders"]},"Cijz1xYx":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"Cijz1xYx","parameters":[{"name":"order_id","in":"path","description":"Order number","required":true,"style":"simple","schema":{"name":"order_id","description":"Order number","type":"string"}},{"name":"risk_id","in":"path","description":"Fraud risk id","required":true,"style":"simple","schema":{"name":"risk_id","description":"Fraud risk id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"risk":{"name":"risk","description":"Order risk information","type":"object","properties":{"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"array","items":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"object","properties":{"risk_detail_level":{"name":"risk_detail_level","description":"Fraud risk node details category : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"},"message":{"name":"message","description":"Fraud risk node details","type":"string"}},"required":["message","risk_detail_level"]}},"score":{"name":"score","description":"Fraud risk score , 0.0-1.0 , 1 score the highest risk","type":"string"},"source":{"name":"source","description":"Source logo , fixed to : External- external","type":"string"},"cause_cancel":{"name":"cause_cancel","description":"Cancel order logo , true- cancel , false- do not cancel","type":"boolean"},"display":{"name":"display","description":"Show the logo on the detail page , true- display , false- not display or not","type":"boolean"},"recommendation":{"name":"recommendation","description":"Fraud risk rating : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"}}}},"required":["risk"]}}},"required":true},"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"risk":{"name":"risk","description":"Risk fraud information","type":"object","properties":{"recommendation":{"name":"recommendation","description":"Fraud risk rating : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"},"risk_detail_msg_list":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"array","items":{"name":"risk_detail_msg_list","description":"Fraud risk details node","type":"object","properties":{"message":{"name":"message","description":"Fraud risk node details","type":"string"},"risk_detail_level":{"name":"risk_detail_level","description":"Fraud risk node details category : cancel ( high risk ) 、investigate ( medium risk ) 、accept ( low risk )","type":"string"}}}},"id":{"name":"id","description":"Fraud risk id","type":"string"},"order_id":{"name":"order_id","description":"Order serial number","type":"string"},"source":{"name":"source","description":"Source logo , Internal- internal 、External- external","type":"string"},"score":{"name":"score","description":"Fraud risk score , 0-1 , 1 score the highest risk score","type":"string"},"checkout_id":{"name":"checkout_id","description":"Order associated discard id","type":"string"},"cause_cancel":{"name":"cause_cancel","description":"Cancel order logo , true- cancel , false- do not cancel","type":"boolean"},"display":{"name":"display","description":"Show the logo on the detail page , true- display , false- not display or not","type":"boolean"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/orders/v2/:order_id/risks/:risk_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update order risk fraud","version":"v20220901"},"authIndexes":["write_orders"]},"jR9NsjQ4":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"jR9NsjQ4","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/orders/v2/:order_id/risks.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Delete all risk fraud related to the order","version":"v20220901"},"authIndexes":["write_orders"]},"1nznIN9g":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"1nznIN9g","parameters":[{"name":"order_id","in":"path","description":"Order number","required":true,"style":"simple","schema":{"name":"order_id","description":"Order number","type":"string"}},{"name":"risk_id","in":"path","description":"Risk id","required":true,"style":"simple","schema":{"name":"risk_id","description":"Risk id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/orders/v2/:order_id/risks/:risk_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Remove the specify of the order risk fraud","version":"v20220901"},"authIndexes":["write_orders"]},"zrWzh9y7":{"tags":["Get refunds associated with an order"],"description":"Get refunds for a specified order.","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n"},"operationId":"zrWzh9y7","parameters":[{"name":"order_id","in":"path","description":"Order ID.","required":true,"style":"simple","schema":{"name":"order_id","description":"Order ID.","type":"string"}},{"name":"limit","in":"query","description":"Specify the maximum number of refunds to return.\n\nValue range: 1-250","style":"form","explode":true,"schema":{"name":"limit","description":"Specify the maximum number of refunds to return.\n\nValue range: 1-250","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"refunds":{"name":"refunds","description":"A list of refunds.","type":"array","items":{"type":"object","properties":{"total_duties_set":{"name":"total_duties_set","description":"The refund tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"transactions_v2":{"name":"transactions_v2","description":"A list of refund transactions.","type":"array","items":{"type":"object","properties":{"giftcard_presentment_money":{"name":"giftcard_presentment_money","description":"The amount paid by gift card, displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"id":{"name":"id","description":"Transaction ID.","type":"string"},"kind":{"name":"kind","description":"Transaction type. The value `refund` is always returned in refund scenarios.","type":"string"},"status":{"name":"status","description":"Transaction status. Valid values are: \n- `created`: transaction created \n- `pending`: processing by the channel\n- `success`: transaction succeeded\n- `fail`: transaction failed","type":"string"},"amount":{"name":"amount","description":"Transaction amount. The value is rounded to two decimal places.","type":"string"},"error_msg":{"name":"error_msg","description":"Payment failure message returned by the channel.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the transaction was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"currency":{"name":"currency","description":"Transaction currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"error_code":{"name":"error_code","description":"Payment failure reason code returned by the channel.","type":"string"},"gateway":{"name":"gateway","description":"Payment channel code.","type":"string"}}}},"created_at":{"name":"created_at","description":"The date and time when the refund was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"note":{"name":"note","description":"Refund note.","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"A list of refunded products.","type":"array","items":{"type":"object","properties":{"total_tax":{"name":"total_tax","description":"Tax amount of the product, displayed in the store currency. The value is rounded to two decimal places.","type":"double"},"total_tax_set":{"name":"total_tax_set","description":"Tax amount of the product, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"id":{"name":"id","description":"Refund ID.","type":"string"},"line_item":{"name":"line_item","description":"Product snapshot information.","type":"object","properties":{"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"price":{"name":"price","description":"The product price in the store currency. The value is rounded to two decimal places. ","type":"string"},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"quantity":{"name":"quantity","description":"Quantity of products in the order.","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`: Shipping is required.\n- `false`: Shipping is not required.","type":"boolean"},"attribute":{"name":"attribute","description":"The option information of the product variant, composed of the variant name and the option value. ","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"sku":{"name":"sku","description":"The product SKU.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in the store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only. ","type":"double"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Shipping status. Valid values are:\n- `fulfilled`: order shipped\n- `partial`: order partially shipped\n- `null`: order not shipped","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g). ","type":"double"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"}}},"quantity":{"name":"quantity","description":"The quantity of refunds for the product.","type":"integer"},"restock_type":{"name":"restock_type","description":"Whether the inventory has been returned. Valid values are:\n- `no_restock`: not returned\n- `return`: returned","type":"string"},"line_item_id":{"name":"line_item_id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"subtotal":{"name":"subtotal","description":"Maximum refundable amount, displayed in the store currency. The value is rounded to two decimal places.","type":"double"},"subtotal_set":{"name":"subtotal_set","description":"Maximum refundable amount displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"transactions":{"name":"transactions","description":"Refund transaction information.\n:::danger{title=\"DEPRECATED\"}\nThis parameter is deprecated from API version v20251201. Refer to ``transaction_v2`` for related information.\n:::","type":"array","items":{"type":"object","properties":{"gateway":{"name":"gateway","description":"Payment channel code. ","type":"string"},"kind":{"name":"kind","description":"The refund transaction type always returns `refund`.","type":"string"},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"status":{"name":"status","description":"Refund processing status.\n- `pending`:Refund in progress\n- `failure`:Refund failed\n- `success`:Refund successful\n- `error`:Refund error occurred\n","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"},"amount":{"name":"amount","description":"Refund amount.The value is rounded to two decimal places. ","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the order transaction was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"currency":{"name":"currency","description":"The currency of the payment order.","type":"string"},"id":{"name":"id","description":"Payment order ID.","type":"string"},"processed_at":{"name":"processed_at","description":"The date and time when the order transaction was created, which can be customized. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}},"user_id":{"name":"user_id","description":"Buyer ID.","type":"string"},"id":{"name":"id","description":"Refund ID.","type":"string"},"order_adjustments":{"name":"order_adjustments","description":"A list of adjustments.","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Adjustment ID.","type":"string"},"kind":{"name":"kind","description":"Adjustment type. Valid values are:\n- `refund_discrepancy`: The actual refund amount of the product is less than the maximum refundable amount.\n- `shipping_refund`: The shipping refund amount is less than the shipping fee.","type":"string"},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"refund_id":{"name":"refund_id","description":"Refund ID.","type":"string"},"tax_amount":{"name":"tax_amount","description":"Tax amount of the adjustment in the store currency. The value is rounded to two decimal places. Calculation method: The amount of the `refund_discrepancy` adjustment is divided by the refundable amount (maximum refundable amount for the product + shipping refund amount), and then multiplied by the total tax (consumption tax + duty + shipping tax).","type":"string"},"amount":{"name":"amount","description":"The adjustment amount in the store currency. The value is rounded to two decimal places.","type":"string"},"amount_set":{"name":"amount_set","description":"The adjustment amount, displayed in both the buyer currency and the store currency. For the `shipping_refund` type, the value of this parameter is the entered shipping fee when the refund occurred. For the `refund_discrepancy` type, the value of this parameter is equal to the refundable amount for the product minus the actual refunded amount for the product (refund amount - refunded shipping fee - refunded shipping tax).","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"reason":{"name":"reason","description":"Adjustment reason. Valid values are:\n- `Refund discrepancy`: The actual refund amount of the product is less than the maximum refundable amount.\n- `Shipping refund`: The shipping refund amount is less than the shipping fee.","type":"string"},"tax_amount_set":{"name":"tax_amount_set","description":"Tax amount of the adjustment, displayed in both the buyer currency and the store currency. For the `shipping_refund` type, the value of this parameter is the shipping tax calculated based on the entered shipping fee when the refund occurred. For the `refund_discrepancy` type, the value of this parameter is calculated based on the following method: The amount of the `refund_discrepancy` adjustment is divided by the refundable amount (maximum refundable amount for the product + shipping refund amount), and then multiplied by the total tax (consumption tax + duty + shipping tax).","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"double"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"processed_at":{"name":"processed_at","description":"The date and time when the refund was created, which can be customized. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}}}}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/:order_id/refunds.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get refunds associated with an order","version":"v20251201"},"authIndexes":["read_orders"]},"vUbfUhfM":{"externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"vUbfUhfM","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"refund_id","in":"path","description":"Refund single id","required":true,"style":"simple","schema":{"name":"refund_id","description":"Refund single id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"refund":{"name":"refund","description":"Refund order","type":"object","properties":{"transactions":{"name":"transactions","description":"Refund transaction information","type":"array","items":{"name":"transactions","description":"Refund transaction information","type":"object","properties":{"currency":{"name":"currency","description":"Currency","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"amount":{"name":"amount","description":"Refund amount , accuracy 2","type":"string"},"user_id":{"name":"user_id","description":"Buyer ID","type":"string"},"kind":{"name":"kind","description":"Transaction type (authorization, capture, sale, void, refund)","type":"string"},"id":{"name":"id","description":"Refund ID","type":"string"},"status":{"name":"status","description":"Handling status, pending, failure, success, and error","type":"string"},"created_at":{"name":"created_at","description":"Creation time","type":"string"},"processed_at":{"name":"processed_at","description":"Creation time","type":"string"}}}},"processed_at":{"name":"processed_at","description":"Update time (see IOS8601 for the format)","type":"string"},"created_at":{"name":"created_at","description":"Refund form creation time (see IOS8601 for the format)","type":"string"},"order_adjustments":{"name":"order_adjustments","description":"Adjust the order information","type":"array","items":{"name":"order_adjustments","description":"Adjust the order information","type":"object","properties":{"kind":{"name":"kind","description":"Adjust single type","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"reason":{"name":"reason","description":"Adjust the reason","type":"string"},"tax_amount":{"name":"tax_amount","description":"Adjust the single tax amount","type":"string"},"tax_amount_set":{"name":"tax_amount_set","description":"Adjust the single tax amount","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store adjusts the amount of single tax","type":"object","properties":{"amount":{"name":"amount","description":"Store adjusts the amount of single tax","type":"double"},"currency_code":{"name":"currency_code","description":"Store adjustment of single tax currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Store adjustment single display tax amount","type":"object","properties":{"amount":{"name":"amount","description":"Store adjustment single display tax amount","type":"double"},"currency_code":{"name":"currency_code","description":"Store adjustment single display tax currency","type":"string"}}}}},"id":{"name":"id","description":"Refund adjustment single id","type":"string"},"amount_set":{"name":"amount_set","description":"Adjust the single amount","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Store adjustment of display","type":"object","properties":{"amount":{"name":"amount","description":"Store adjustment of display","type":"double"},"currency_code":{"name":"currency_code","description":"Store adjustment of display amount currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store adjustment amount","type":"object","properties":{"amount":{"name":"amount","description":"Store adjustment amount","type":"double"},"currency_code":{"name":"currency_code","description":"Store adjust the amount currency","type":"string"}}}}},"amount":{"name":"amount","description":"Adjust the single amount","type":"string"},"refund_id":{"name":"refund_id","description":"Refund single id","type":"string"}}}},"refund_line_items":{"name":"refund_line_items","description":"Refund Details","type":"array","items":{"name":"refund_line_items","description":"Refund Details","type":"object","properties":{"id":{"name":"id","description":"Refund order number","type":"string"},"line_item":{"name":"line_item","description":"Product rows","type":"object","properties":{"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"name":{"name":"name","description":"SKU title, same as title","type":"string"},"variant_id":{"name":"variant_id","description":"Product SKU serial number","type":"string"},"id":{"name":"id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;","type":"string"},"grams":{"name":"grams","description":"Weight ( grams )","type":"double"},"quantity":{"name":"quantity","description":"Quantity of items in the order","type":"integer"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"title":{"name":"title","description":"Product title","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"variant_title":{"name":"variant_title","description":"Commodity attribute value, multiple divided by \" / \", such as: \"155 / red / large\"","type":"string"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"attribute":{"name":"attribute","description":"Product attributes : name-attribute value multiple comma \" , \" division like : color-red , size-x","type":"string"},"sku":{"name":"sku","description":"Product code, barCode","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"name":"tax_lines","description":"Tax information","type":"object","properties":{"rate":{"name":"rate","description":"Tax rate","type":"double"},"title":{"name":"title","description":"Headline","type":"string"},"price":{"name":"price","description":"Tax, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}}}}},"price":{"name":"price","description":"Commodity price, precision 2","type":"string"},"price_set":{"name":"price_set","description":"Product selling price , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"fulfillment_service":{"name":"fulfillment_service","description":"Logistics company name","type":"string"},"product_id":{"name":"product_id","description":"SPU serial number","type":"string"}}},"restock_type":{"name":"restock_type","description":"Inventory return type , no_restock- is not returned , cancel- is cancelled , return- is returned","type":"string"},"subtotal_set":{"name":"subtotal_set","description":"Total refund amount, multi-currency information, same on seller and buyer side","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"quantity":{"name":"quantity","description":"Quantity, quantity of goods","type":"integer"},"subtotal":{"name":"subtotal","description":"Total refund amount, precision 2","type":"double"},"total_tax":{"name":"total_tax","description":"Tax amount of refunded goods, precision 2","type":"double"},"total_tax_set":{"name":"total_tax_set","description":"Total tax amount, multi-currency information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"line_item_id":{"name":"line_item_id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"string"}}}},"user_id":{"name":"user_id","description":"User ID","type":"string"},"note":{"name":"note","description":"Refund Notes","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"id":{"name":"id","description":"Refund ID","type":"string"},"total_duties_set":{"name":"total_duties_set","description":"Refund total duty","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/:order_id/refunds/:refund_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query order specify of your money back order","version":"v20231201"},"authIndexes":["read_orders"]},"G11MNGS1":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"G11MNGS1","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"name":"order_id","description":"Order number","type":"string"},"processed_at":{"name":"processed_at","description":"Refund order launch time","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"Refund Product line information , can be associated with multiple Product lines","type":"array","items":{"name":"refund_line_items","description":"Refund Product line information , can be associated with multiple Product lines","type":"object","properties":{"restock_type":{"name":"restock_type","description":"Product inventory processing","type":"string"},"type":{"name":"type","description":"Dangyi shipping status is required when making a refund when in Product Unshipped : Product not shipped , Returned : the product has been returned","type":"string"},"line_item_id":{"name":"line_item_id","description":"Product row id","type":"long"},"location_id":{"name":"location_id","description":"Product stock back place","type":"string"},"quantity":{"name":"quantity","description":"Trial refund Product quantity","type":"long"}},"required":["type"]}},"shipping":{"name":"shipping","description":"Refund policy for shipping amount","type":"object","properties":{"amount":{"name":"amount","description":"Specify refund amount","type":"string"},"full_refund":{"name":"full_refund","description":"Return shipping fee or not","type":"boolean"}}},"transactions":{"name":"transactions","description":"Payment slip refund information","type":"array","items":{"name":"transactions","description":"Payment slip refund information","type":"object","properties":{"amount":{"name":"amount","description":"Refund amount, which the settlement currency amount corresponding to the payment order","type":"string"},"currency":{"name":"currency","description":"the settlement currency of the payment, which is optional. If the input currency is null, the application will verify whether the currency is the store currency, If it is not the store currency, an error will be reported and promp like: \"the input currency must be the settlement currency of the payment:X”; If the input currency is passed, check whether the currency is the settlement currency of the payment. If not, an error will be reported and the prompt will be the same as above","type":"string"},"gateway":{"name":"gateway","description":"Payment channels","type":"string"},"id":{"name":"id","description":"Payment slip number , start with 230","type":"string"},"kind":{"name":"kind","description":"Payment slip type","type":"string"},"type":{"name":"type","description":"Refund type , ture : refund on the original road","type":"boolean"}}}},"currency":{"name":"currency","description":"settlement currency of the order, which is optional. If the input currency is null, the application will verify whether the order settlement currency is the store currency, If it is not the store currency, an error will be reported, prompting like: \"currency must be X”;\nIf the input currency is passed, check whether the currency is the settlement currency of the order. If not, an error will be reported and the prompt will be: \"currency must be X\"","type":"string"},"note":{"name":"note","description":"Refund Notes","type":"string"},"notify":{"name":"notify","description":"Send message notifications ( logic with existing b-end refund message )","type":"boolean"}},"required":["order_id","transactions"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"name":"data","description":"Data return body","type":"object","properties":{"note":{"name":"note","description":"Refund Notes","type":"string"},"order_adjustments":{"name":"order_adjustments","description":"Adjust the order information","type":"array","items":{"name":"order_adjustments","description":"Adjust the order information","type":"object","properties":{"amount":{"name":"amount","description":"Adjustment order amount","type":"string"},"kind":{"name":"kind","description":"Adjustment order type: refund_discrepancy, shipping_refund","type":"string"},"amount_set":{"name":"amount_set","description":"Adjust the single amount according to the store currency and transaction currency","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store amount information","type":"object","properties":{"amount":{"name":"amount","description":"Store amount","type":"string"},"currency_code":{"name":"currency_code","description":"Store currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Marketplace amount information","type":"object","properties":{"amount":{"name":"amount","description":"Marketplace amount","type":"string"},"currency_code":{"name":"currency_code","description":"Market currency","type":"string"}}}}},"id":{"name":"id","description":"Adjust single size","type":"string"},"tax_amount":{"name":"tax_amount","description":"Adjust single tax amount","type":"string"},"order_id":{"name":"order_id","description":"Order number for this adjustment of the single link","type":"string"},"tax_amount_set":{"name":"tax_amount_set","description":"Adjust the single tax amount according to the store currency and transaction currency","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Store currency","type":"string"},"amount":{"name":"amount","description":"Store amount","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Marketplace amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Market currency","type":"string"},"amount":{"name":"amount","description":"Marketplace amount information","type":"string"}}}}},"reason":{"name":"reason","description":"Reason for adjustment: Refund discrepancy, shipping_refund","type":"string"},"refund_id":{"name":"refund_id","description":"Refund id , unique recognition","type":"string"}}}},"order_id":{"name":"order_id","description":"Order number associated with this refund order","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"Refund related Product line information","type":"array","items":{"name":"refund_line_items","description":"Refund related Product line information","type":"object","properties":{"restock_type":{"name":"restock_type","description":"Return- returns only not back","type":"string"},"subtotal":{"name":"subtotal","description":"Refund Product row total amount , accuracy 2","type":"string"},"subtotal_set":{"name":"subtotal_set","description":"Total amount of refund Product bank by store currency and transaction currency","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Marketplace amount information","type":"object","properties":{"amount":{"name":"amount","description":"Marketplace amount","type":"string"},"currency_code":{"name":"currency_code","description":"Market currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency amount information","type":"object","properties":{"amount":{"name":"amount","description":"Store amount","type":"string"},"currency_code":{"name":"currency_code","description":"Store currency","type":"string"}}}}},"total_tax":{"name":"total_tax","description":"Refund Product row tax total amount , accuracy 2","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"Total amount of refund Product bank tax , sold in store currency and transaction currency","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store currency amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Store currency","type":"string"},"amount":{"name":"amount","description":"Store amount","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Marketplace amount information","type":"object","properties":{"amount":{"name":"amount","description":"Store amount","type":"string"},"currency_code":{"name":"currency_code","description":"Store currency","type":"string"}}}}},"id":{"name":"id","description":"Product row id","type":"long"},"line_item_id":{"name":"line_item_id","description":"The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number","type":"long"},"quantity":{"name":"quantity","description":"Refund Product quantity","type":"long"}}}},"total_duties_set":{"name":"total_duties_set","description":"Refund total duty","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"transactions":{"name":"transactions","description":"Refund payment slip information","type":"array","items":{"name":"transactions","description":"Refund payment slip information","type":"object","properties":{"processed_at":{"name":"processed_at","description":"Refund form update time","type":"string"},"status":{"name":"status","description":"Handling status, pending, failure, success, and error","type":"string"},"amount":{"name":"amount","description":"The refund amount corresponding to the settlement currency of the refund payment order, precision 2","type":"long"},"create_at":{"name":"create_at","description":"Creation time","type":"string"},"currency":{"name":"currency","description":"Payment currency , payment slip corresponding settlement currency","type":"string"},"id":{"name":"id","description":"Payment slip number","type":"string"},"kind":{"name":"kind","description":"Payment slip type , here is only refund","type":"string"},"order_id":{"name":"order_id","description":"Order number for this adjustment of the single link","type":"string"}}}},"create_at":{"name":"create_at","description":"Refund single creation time","type":"string"},"id":{"name":"id","description":"Refund id , unique recognition","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/order/refund.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Order refund","version":"v20230901"},"authIndexes":["write_orders"]},"WdjOC38Q":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"WdjOC38Q","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"shipping":{"name":"shipping","description":"Shipping rates","type":"object","properties":{"amount":{"name":"amount","description":"Shipping amount to be returned , double type string , accuracy 2","type":"string"},"full_refund":{"name":"full_refund","description":"Return shipping fee or not","type":"boolean"}}},"currency":{"name":"currency","description":"Settlement currency of the order, which is optional. If the input currency is null, the application will verify whether the order settlement currency is the store currency, If it is not the store currency, an error will be reported, prompting like: \"currency must be X”;\nIf the input currency is passed, check whether the currency is the settlement currency of the order. If not, an error will be reported and the prompt will be: \"currency must be X\"","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"Trial Product","type":"array","items":{"name":"refund_line_items","description":"Trial Product","type":"object","properties":{"line_item_id":{"name":"line_item_id","description":"Trial refund Product row id","type":"string"},"quantity":{"name":"quantity","description":"Trial refund Product quantity","type":"long"},"type":{"name":"type","description":"The Product to calculate belongs to , Unshipped : Product not shipped , Returned : the product has been returned","type":"string"}},"required":["type"]}}}}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"refund":{"name":"refund","description":"Trial results","type":"object","properties":{"total_duties_set":{"name":"total_duties_set","description":"Refund total duty","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"transactons":{"name":"transactons","description":"When the trial amount is greater than 0 , the original return system automatically returns the payment slip and amount according to the rules","type":"array","items":{"name":"transactons","description":"When the trial amount is greater than 0 , the original return system automatically returns the payment slip and amount according to the rules","type":"object","properties":{"kind":{"name":"kind","description":"suggested_refund","type":"string"},"maximum_refundable":{"name":"maximum_refundable","description":"Current payment slip when the largest amount is returned","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"parent_id":{"name":"parent_id","description":"Payment slip number","type":"string"},"amount":{"name":"amount","description":"payment amount, which the corresponding amount in the settlement currency of the payment order","type":"string"},"currency":{"name":"currency","description":"the currency, which the settlement currency corresponding of the payment","type":"string"},"gateway":{"name":"gateway","description":"Payment channels","type":"string"}}}},"currency":{"name":"currency","description":"\nthe currency, which the settlement currency corresponding to the refund","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"When Product should return the amount to the request for trial , return","type":"array","items":{"name":"refund_line_items","description":"When Product should return the amount to the request for trial , return","type":"object","properties":{"line_item_id":{"name":"line_item_id","description":"Product line ( Product line in ginseng )","type":"string"},"price":{"name":"price","description":"Product selling price","type":"string"},"quantity":{"name":"quantity","description":"Quantity ( actual can be returned )","type":"integer"},"subtotal":{"name":"subtotal","description":"Product should be refunded","type":"string"},"total_tax":{"name":"total_tax","description":"Product the tax refund amount should be available","type":"string"},"type":{"name":"type","description":"The Product to calculate belongs to , Unshipped : Product not shipped , Shipped : Product has been shipped , Returned : the product has been returned","type":"string"},"discount_total_amount":{"name":"discount_total_amount","description":"Product total discount amount","type":"string"}}}},"shipping":{"name":"shipping","description":"When shipping charges are required return","type":"object","properties":{"amount":{"name":"amount","description":"Order shipping","type":"string"},"maximum_refundable":{"name":"maximum_refundable","description":"Maximum return shipping","type":"string"},"tax":{"name":"tax","description":"Order shipping tax","type":"string"}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/:order_id/refunds/calculate.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Order refund trial","version":"v20220901"},"authIndexes":["write_orders"]},"MO3GAeBj":{"tags":["Get an order count"],"description":"Retrieve the count of orders based on the specified parameters.","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"MO3GAeBj","parameters":[{"name":"updated_at_min","in":"query","description":"Specify the start creation date and time for orders to query. Orders updated on and after this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Specify the start creation date and time for orders to query. Orders updated on and after this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"created_at_max","in":"query","description":"Specify the cutoff creation date and time for orders to query. Orders created on and before this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"created_at_max","description":"Specify the cutoff creation date and time for orders to query. Orders created on and before this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"created_at_min","in":"query","description":"Specify the start creation date and time for orders to query. Orders created on and after this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"created_at_min","description":"Specify the start creation date and time for orders to query. Orders created on and after this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"financial_status","in":"query","description":"The payment status of the order. Valid values are: \n- `unpaid`: Order not paid\n- `authorized`: Order payment has been authorized\n- `pending`: Order payment in progress\n- `partially_paid`: Order partially paid\n- `paid`: Order paid\n- `partially_refunded`: Order partially refunded\n- `refunded`: Order refunded\n- `any`: Contains all statuses\n\nDefault value: `any`\n","style":"form","explode":true,"schema":{"name":"financial_status","description":"The payment status of the order. Valid values are: \n- `unpaid`: Order not paid\n- `authorized`: Order payment has been authorized\n- `pending`: Order payment in progress\n- `partially_paid`: Order partially paid\n- `paid`: Order paid\n- `partially_refunded`: Order partially refunded\n- `refunded`: Order refunded\n- `any`: Contains all statuses\n\nDefault value: `any`\n","type":"string"}},{"name":"fulfillment_status","in":"query","description":"The fulfillment status of the order. Valid values are: \n- `unshipped`: Not shipped\n- `partial`: Partially shipped\n- `shipped`: Shipped\n- `any`: All fulfillment statuses \n\nDefault value: `any`","style":"form","explode":true,"schema":{"name":"fulfillment_status","description":"The fulfillment status of the order. Valid values are: \n- `unshipped`: Not shipped\n- `partial`: Partially shipped\n- `shipped`: Shipped\n- `any`: All fulfillment statuses \n\nDefault value: `any`","type":"string"}},{"name":"location_id","in":"query","description":"Location ID.","style":"form","explode":true,"schema":{"name":"location_id","description":"Location ID.","type":"string"}},{"name":"order_source","in":"query","description":"Sales channel. Valid values are: \n- `oneshop`: One-page store\n- `web`: Online store\n- `mc`: Message center\n- `live`: Live shopping\n- `post`: Post shopping\n- `shopee`: Shopee\n- `lazada`: Lazada\n- `buy_button`: Buy button app\n- `pos`: POS\n- `any`: Contains all sales channels\n\nDefault value: `any`","style":"form","explode":true,"schema":{"name":"order_source","description":"Sales channel. Valid values are: \n- `oneshop`: One-page store\n- `web`: Online store\n- `mc`: Message center\n- `live`: Live shopping\n- `post`: Post shopping\n- `shopee`: Shopee\n- `lazada`: Lazada\n- `buy_button`: Buy button app\n- `pos`: POS\n- `any`: Contains all sales channels\n\nDefault value: `any`","type":"string"}},{"name":"status","in":"query","description":"Order status. Valid values are: \n- `open`: Order in process\n- `cancelled`: Order canceled\n- `hidden`: Order archived\n- `any`: Contains all statuses\n\nDefault value: `any`","style":"form","explode":true,"schema":{"name":"status","description":"Order status. Valid values are: \n- `open`: Order in process\n- `cancelled`: Order canceled\n- `hidden`: Order archived\n- `any`: Contains all statuses\n\nDefault value: `any`","type":"string"}},{"name":"updated_at_max","in":"query","description":"Specify the cutoff creation date and time for orders to query. Orders updated on and before this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Specify the cutoff creation date and time for orders to query. Orders updated on and before this date are counted. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"count":{"name":"count","description":"Order count based on the query parameters.","type":"long"}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/count.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get an order count","version":"v20220901"},"authIndexes":["read_orders"]},"dnygegkfuzcxquxe":{"tags":["Get order attribution in bulk"],"description":"Get a list of attribution details based on the specified order IDs. ","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| ORDERS_QUANTITY_EXCEEDS_LIMIT | 500 | The length of orders cannot exceed 500. |\n"},"operationId":"dnygegkfuzcxquxe","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"orders":{"name":"orders","description":"A list of order IDs.<br/>\nMaximum size: 500 ","type":"array","items":{"type":"string"}}},"required":["orders"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"data":{"name":"data","description":"List of order attribution data. ","type":"array","items":{"type":"object","properties":{"days_for_conversion":{"name":"days_for_conversion","description":"The number of days taken for order conversion. ","type":"integer"},"first_interaction":{"name":"first_interaction","description":"The details of the buyer's first interaction that led to the order. ","type":"object","properties":{"first_landing_page_url":{"name":"first_landing_page_url","description":"First landing page URL. ","type":"string"},"first_referrer_name":{"name":"first_referrer_name","description":"First referrer name. ","type":"string"},"first_referrer_url":{"name":"first_referrer_url","description":"First referrer URL. ","type":"string"},"first_utm_parameters":{"name":"first_utm_parameters","description":"UTM parameters from the first interaction, used for advertising order attribution. ","type":"object","properties":{"first_utm_campaign":{"name":"first_utm_campaign","description":"First UTM campaign theme. ","type":"string"},"first_utm_content":{"name":"first_utm_content","description":"First UTM campaign content. ","type":"string"},"first_utm_medium":{"name":"first_utm_medium","description":"First UTM campaign medium. ","type":"string"},"first_utm_name":{"name":"first_utm_name","description":"First UTM campaign name. ","type":"string"},"first_utm_source":{"name":"first_utm_source","description":"First UTM campaign source. ","type":"string"},"first_utm_term":{"name":"first_utm_term","description":"First UTM campaign term. ","type":"string"}}},"first_interact_time":{"name":"first_interact_time","description":"Time of the first interaction. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"first_interaction_source":{"name":"first_interaction_source","description":"First referrer source type. Valid values are: \n- `Direct` : Directly visiting the store \n- `Social` : Visiting the store through social media recommendations\n- `Search` : Visiting the store via search engine recommendations\n- `Other` : Visiting the store through recommendations from other websites\n- `AI Chat` : Visiting the store through recommendations from AI chat conversations","type":"string"}}},"last_interaction":{"name":"last_interaction","description":"The details of the buyer's latest interaction that led to the order. ","type":"object","properties":{"last_referrer_name":{"name":"last_referrer_name","description":"Latest referrer name. ","type":"string"},"last_referrer_url":{"name":"last_referrer_url","description":"Latest referrer URL. ","type":"string"},"last_utm_parameters":{"name":"last_utm_parameters","description":"UTM parameters from the latest interaction, used for advertising order attribution. ","type":"object","properties":{"last_utm_source":{"name":"last_utm_source","description":"Latest UTM campaign source. ","type":"string"},"last_utm_term":{"name":"last_utm_term","description":"Latest UTM campaign term. ","type":"string"},"last_utm_campaign":{"name":"last_utm_campaign","description":"Latest UTM campaign theme. ","type":"string"},"last_utm_content":{"name":"last_utm_content","description":"Latest UTM campaign content. ","type":"string"},"last_utm_medium":{"name":"last_utm_medium","description":"Latest UTM campaign medium. ","type":"string"},"last_utm_name":{"name":"last_utm_name","description":"Latest UTM campaign name. ","type":"string"}}},"last_interact_time":{"name":"last_interact_time","description":"Time of the latest interaction. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"last_interaction_source":{"name":"last_interaction_source","description":"Latest referrer source type. Valid values are: \n- `Direct` : Directly visiting the store \n- `Social` : Visiting the store through social media recommendations\n- `Search` : Visiting the store via search engine recommendations\n- `Other` : Visiting the store through recommendations from other websites\n- `AI Chat` : Visiting the store through recommendations from AI chat conversations","type":"string"},"last_landing_page":{"name":"last_landing_page","description":"Latest landing page URL. ","type":"string"}}},"order_seq":{"name":"order_seq","description":"Order ID. ","type":"string"},"order_time":{"name":"order_time","description":"Order completion time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"total_traffics":{"name":"total_traffics","description":"The number of interactions a user has before order conversion. ","type":"integer"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/order_attribution_info.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get order attribution in bulk","version":"v20251201"},"authIndexes":["read_orders"]},"zmymuw8884fmeb8c":{"tags":["Send an order invoice email"],"description":"Send an invoice email for a specified order. Each order is limited to five attempts within one calendar day.","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| INVALID_GROUP_STATUS | 422 | The group status is invalid. |\n| SUCCESS | 200 | request success |\n| INVALID_ARGUMENT | 422 | T-OFC-A-INVALID_ARGUMENT |\n| ORDER_PAYMENT_NOTIFY_EMAIL_ALREADY_PAID | 422 | Sending disabled: The order financial status is not Unpaid or Partially Paid or Partially Refunded. |\n| ORDER_PAYMENT_NOTIFY_EMAIL_ORDER_TOO_OLD | 422 | Email blocked for orders placed over 365 days ago. |\n| ORDER_PAYMENT_NOTIFY_EMAIL_DAILY_LIMIT_EXCEEDED_N | 422 | Daily limit reached: Only 5 emails per order are allowed. |\n"},"operationId":"zmymuw8884fmeb8c","parameters":[{"name":"order_id","in":"path","description":"Order ID. ","required":true,"style":"simple","schema":{"name":"order_id","description":"Order ID. ","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"subject":{"name":"subject","description":"Email subject. If provided, the system will override the `Order Invoice Notification` email template subject with the specified value. If not provided, the system will use the `Order Invoice Notification` email template subject.\n\nMaximum length: 255","type":"string"},"to":{"name":"to","description":"The email of the recipient.","type":"string"},"custom_message":{"name":"custom_message","description":"Email content. If provided, the system will override the `Order Invoice Notification` email template content with the specified value. If not provided, the system will use the `Order Invoice Notification` email template content.\n\nMaximum length: 1000","type":"string"}},"required":["to"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/:order_id/send_order_email.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Send an order invoice email","version":"v20250601"},"authIndexes":["write_orders"]},"5a8yyg9gpen3gaay":{"tags":["Get a list of refunds"],"description":"Get a list of refunds based on specified criteria.","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n"},"operationId":"5a8yyg9gpen3gaay","parameters":[{"name":"created_at_max","in":"query","description":"Specify the latest creation time for refunds to query. Refunds created within one year up to and including this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\nEither `created_at_min` or `created_at_max` must be provided, or both can be provided together.","style":"form","explode":true,"schema":{"name":"created_at_max","description":"Specify the latest creation time for refunds to query. Refunds created within one year up to and including this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\nEither `created_at_min` or `created_at_max` must be provided, or both can be provided together.","type":"string"}},{"name":"created_at_min","in":"query","description":"Specify the earliest creation time for refunds to query. Refunds created within one year starting from this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\nEither `created_at_min` or `created_at_max` must be provided, or both can be provided together.","style":"form","explode":true,"schema":{"name":"created_at_min","description":"Specify the earliest creation time for refunds to query. Refunds created within one year starting from this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\nEither `created_at_min` or `created_at_max` must be provided, or both can be provided together.","type":"string"}},{"name":"limit","in":"query","description":"Specify the maximum number of refunds to return.\n\nValue range: 1-20","style":"form","explode":true,"schema":{"name":"limit","description":"Specify the maximum number of refunds to return.\n\nValue range: 1-20","type":"string"}},{"name":"page_info","in":"query","description":"The unique identifier for pagination queries, used to locate a specific page. \n\nThis parameter value is obtained from the `link` value in the response header of this API after you have queried the pagination information. \n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/refunds/refunds_search.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` , the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9` . \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism).","style":"form","explode":true,"schema":{"name":"page_info","description":"The unique identifier for pagination queries, used to locate specific pages.\n\nThis parameter value is obtained from the `link` value in the response header of this APl after you have queried the pagination information.\n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/products/products.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` then the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9`.\n\nFor more information on how to use\npagination, refer to [Paging Mechanism](https://developer.shopline.com/docsv2/ec20/3cv5d7wpfgr6a8z5/gfzeraeezj4ff96u?version=v20250301).","type":"string"}},{"name":"since_id","in":"query","description":"The refund ID. Start querying refunds from this specified ID (including this ID).","style":"form","explode":true,"schema":{"name":"since_id","description":"The refund ID. Start querying refunds from this specified ID (including this ID).","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"link":{"description":"The URL link that provides the pagination data. You can obtain `page_info` from this parameter for subsequent pagination requests. \n\nThis parameter is returned when the requested page has a previous or next page. \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism)."},"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"refunds":{"name":"refunds","description":"A list of refunds.","type":"array","items":{"type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the refund was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"note":{"name":"note","description":"Refund note.","type":"string"},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"processed_at":{"name":"processed_at","description":"The date and time when the refund was created, which can be customized. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"refund_line_items":{"name":"refund_line_items","description":"A list of refunded products.","type":"array","items":{"type":"object","properties":{"total_tax_set":{"name":"total_tax_set","description":"Tax amount of the product, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"line_item":{"name":"line_item","description":"Product snapshot information.","type":"object","properties":{"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"sku":{"name":"sku","description":"The product SKU. ","type":"string"},"title":{"name":"title","description":"Product title.","type":"string"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"}}},"line_item_id":{"name":"line_item_id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"quantity":{"name":"quantity","description":"The quantity of refunds for the product.","type":"long"},"restock_type":{"name":"restock_type","description":"Whether the inventory has been returned. Valid values are:\n- `no_restock`:not returned\n- `return`:returned","type":"string"},"subtotal_set":{"name":"subtotal_set","description":"Maximum refundable amount displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}}}}},"total_duties_set":{"name":"total_duties_set","description":"The refund tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer. ","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"transactions":{"name":"transactions","description":"A list of refund transactions.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Transaction amount. The value is rounded to two decimal places.","type":"string"},"currency":{"name":"currency","description":"Transaction currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"error_code":{"name":"error_code","description":"Payment failure reason code returned by the channel.","type":"string"},"gateway":{"name":"gateway","description":"Payment channel code.","type":"string"},"id":{"name":"id","description":"Transaction ID.","type":"string"},"status":{"name":"status","description":"Refund transaction status. Valid values are:\n- `pending`: Refund in progress\n- `failure`: Refund failed\n- `success`: Refund successful\n- `error`: Refund error occurred\n","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the transaction was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"error_msg":{"name":"error_msg","description":"Payment failure message returned by the channel.","type":"string"},"giftcard_presentment_money":{"name":"giftcard_presentment_money","description":"The amount paid by gift card, displayed to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"kind":{"name":"kind","description":"Transaction type. The value `refund` is always returned in refund scenarios.","type":"string"}}}},"buyer_id":{"name":"buyer_id","description":"Buyer ID.","type":"string"},"id":{"name":"id","description":"Refund ID.","type":"string"},"order_adjustments":{"name":"order_adjustments","description":"A list of adjustments.","type":"array","items":{"type":"object","properties":{"amount_set":{"name":"amount_set","description":"The adjustment amount, displayed in both the buyer currency and the store currency. For the `shipping_refund` type, the value of this parameter is the entered shipping fee when the refund occurred. For the `refund_discrepancy` type, the value of this parameter is equal to the refundable amount for the product minus the actual refunded amount for the product (refund amount - refunded shipping fee - refunded shipping tax).","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"id":{"name":"id","description":"Adjustment ID.","type":"string"},"kind":{"name":"kind","description":"Adjustment type. Valid values are:\n- `refund_discrepancy`: The actual refund amount of the product is less than the maximum refundable amount.\n- `shipping_refund`: The shipping refund amount is less than the shipping fee.","type":"string"},"reason":{"name":"reason","description":"Adjustment reason. Valid values are:\n- `Refund discrepancy`: The actual refund amount of the product is less than the maximum refundable amount.\n- `Shipping refund`: The shipping refund amount is less than the shipping fee.","type":"string"},"tax_amount_set":{"name":"tax_amount_set","description":"Tax amount of the adjustment, displayed in both the buyer currency and the store currency. For the `shipping_refund` type, the value of this parameter is the shipping tax calculated based on the entered shipping fee when the refund occurred. For the `refund_discrepancy` type, the value of this parameter is calculated based on the following method: The amount of the `refund_discrepancy` adjustment is divided by the refundable amount (maximum refundable amount for the product + shipping refund amount), and then multiplied by the total tax (consumption tax + duty + shipping tax).","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The amount displayed to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The amount recorded by the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The monetary value, rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code following the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}}}}},"order_number":{"name":"order_number","description":"Order number. Different from the order ID, this number can have a custom prefix set in the SHOPLINE Admin.","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/refunds/refunds_search.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get a list of refunds","version":"v20251201"},"authIndexes":["read_orders"]},"cVEivicN":{"externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"cVEivicN","parameters":[{"name":"created_at_max","in":"query","description":"Abandoned order create time: end (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"created_at_max","description":"Abandoned order create time: end (see IOS8601 for the format)","type":"string"}},{"name":"created_at_min","in":"query","description":"Abandoned order create time: start (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"created_at_min","description":"Abandoned order create time: start (see IOS8601 for the format)","type":"string"}},{"name":"status","in":"query","description":"Status of abandoned orders (Valid input includes: draft, open, recovered)","style":"form","explode":true,"schema":{"name":"status","description":"Status of abandoned orders (Valid input includes: draft, open, recovered)","type":"string"}},{"name":"updated_at_max","in":"query","description":"Abandoned order update time: end (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Abandoned order update time: end (see IOS8601 for the format)","type":"string"}},{"name":"updated_at_min","in":"query","description":"Abandoned order update time: start (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Abandoned order update time: start (see IOS8601 for the format)","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"name":"count","description":"The count of abandoned orders that satisfy the conditions specified by given input parameters","type":"long"}}}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/abandoned_orders/count.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Retrieves a count of checkouts","version":"v20220901"},"authIndexes":["read_orders"]},"hO79yrCM":{"tags":["Get abandoned checkouts"],"description":"Get a list of abandoned checkouts for the store. You can use this interface to query generated abandoned checkouts and archived abandoned checkouts.","externalDocs":{"description":"Permission point used by the interface is `read_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n"},"operationId":"hO79yrCM","parameters":[{"name":"since_id","in":"query","description":"The ID of a specific abandoned checkout. Start querying abandoned checkouts from this specified ID. ","style":"form","explode":true,"schema":{"name":"since_id","description":"The ID of a specific abandoned checkout. Start querying abandoned checkouts from this specified ID. ","type":"string"}},{"name":"sorts","in":"query","description":"Sorting method for abandoned checkouts. Pass a URL-encoded JSON array that includes the following fields:\n- `key`: sorting field\n- `sort_type`: sorting type ( ascending asc , descending tec )","style":"form","explode":true,"schema":{"name":"sorts","description":"Sorting method for abandoned checkouts. Pass a URL-encoded JSON array that includes the following fields:\n- `key`: sorting field\n- `sort_type`: sorting type ( ascending asc , descending tec )","type":"string","hide":true}},{"name":"checkout_tokens","in":"query","description":"The unique credential of the abandoned checkout, with multiple ones separated by commas.\nA maximum of 100 credentials can be passed. ","style":"form","explode":true,"schema":{"name":"checkout_tokens","description":"The unique credential of the abandoned checkout, with multiple ones separated by commas.\nA maximum of 100 credentials can be passed. ","type":"string"}},{"name":"created_at_max","in":"query","description":"Specify the latest creation date and time for abandoned checkouts to query. Abandoned checkouts created on and before this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","style":"form","explode":true,"schema":{"name":"created_at_max","description":"Specify the latest creation date and time for abandoned checkouts to query. Abandoned checkouts created on and before this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","type":"string"}},{"name":"updated_at_max","in":"query","description":"Specify the earliest update date and time for abandoned checkouts to query. Abandoned checkouts updated on and before this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Specify the earliest update date and time for abandoned checkouts to query. Abandoned checkouts updated on and before this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","type":"string"}},{"name":"page_info","in":"query","description":"The unique identifier for pagination queries, used to locate a specific page. \n\nThis parameter value is obtained from the `link` value in the response header of this API after you have queried the pagination information. \n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/orders/abandoned_orders.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` , the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9` . \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism).","style":"form","explode":true,"schema":{"name":"page_info","description":"Pagination Parameters. Obtained in the link response header, used in page_info mode (querying non-first page data). Refer to the [Paging Mechanism](https://developer.shopline.com/docsv2/ec20/3cv5d7wpfgr6a8z5/gfzeraeezj4ff96u?lang=en) for details about pagination.","type":"string"}},{"name":"query_page_link_param","in":"query","description":":::danger\n**DEPRECATED**: This field is deprecated from API version 20240601.\n:::","style":"form","explode":true,"schema":{"name":"query_page_link_param","description":":::danger\n**DEPRECATED**: This field is deprecated from API version 20240601.\n:::","type":"string"}},{"name":"updated_at_min","in":"query","description":"Specify the earliest update date and time for abandoned checkouts to query. Abandoned checkouts updated on and after this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Specify the earliest update date and time for abandoned checkouts to query. Abandoned checkouts updated on and after this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","type":"string"}},{"name":"limit","in":"query","description":"The maximum number of quried abandoned checkouts. \nDefault value: `20` \nValue range: 0-100","style":"form","explode":true,"schema":{"name":"limit","description":"The maximum number of quried abandoned checkouts. \nDefault value: `20` \nValue range: 0-100","type":"string"}},{"name":"status","in":"query","description":"The status of the abandoned checkout. Valid values are:\n- `draft`: The customer's contact email or mobile phone number is not filled in on the checkout page.\n- `open`: The customer's contact email or mobile phone number is filled in on the checkout page, but no order is generated at this time. \n- `recovered`: The customer's contact email or mobile phone number is filled in on the checkout page, the recall email is sent, and the order is generated. ","style":"form","explode":true,"schema":{"name":"status","description":"The status of the abandoned checkout. Valid values are:\n- `draft`: The customer's contact email or mobile phone number is not filled in on the checkout page.\n- `open`: The customer's contact email or mobile phone number is filled in on the checkout page, but no order is generated at this time. \n- `recovered`: The customer's contact email or mobile phone number is filled in on the checkout page, the recall email is sent, and the order is generated. ","type":"string"}},{"name":"created_at_min","in":"query","description":"Specify the earliest creation date and time for abandoned checkouts to query. Abandoned checkouts created on and after this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","style":"form","explode":true,"schema":{"name":"created_at_min","description":"Specify the earliest creation date and time for abandoned checkouts to query. Abandoned checkouts created on and after this time are returned. Format:[ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) .","type":"string"}},{"name":"ids","in":"query","description":"The unique identifier of the abandoned checkout, with multiple ones separated by commas.\nA maximum of 100 IDs can be passed. ","style":"form","explode":true,"schema":{"name":"ids","description":"The unique identifier of the abandoned checkout, with multiple ones separated by commas.\nA maximum of 100 IDs can be passed. ","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"link":{"description":"The URL link that provides the pagination data. You can obtain `page_info` from this parameter for subsequent pagination requests. \n\nThis parameter is returned when the requested page has a previous or next page. \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism)."},"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"abandoned_orders":{"name":"abandoned_orders","description":"A list of abandoned checkouts.","type":"array","items":{"type":"object","properties":{"line_items":{"name":"line_items","description":"Product information.","type":"array","items":{"type":"object","properties":{"quantity":{"name":"quantity","description":"Product quantity.","type":"integer"},"sku":{"name":"sku","description":"Product SKU serial number defined by the system.","type":"string"},"title":{"name":"title","description":"Product title.","type":"string"},"image":{"name":"image","description":"The URL address that stores the product image.","type":"string"},"price":{"name":"price","description":"Product amount. The value is rounded to two decimal places. ","type":"string"},"product_id":{"name":"product_id","description":"The unique identifier for the product. ","type":"string"}}}},"note":{"name":"note","description":"Customer's notes.","type":"string"},"shipping_lines":{"name":"shipping_lines","description":"Shipping address information.","type":"array","items":{"type":"object","properties":{"code":{"name":"code","description":"The shipping template code. When the value is `Local delivery`, it indicates local delivery; in other cases, it returns the name of the delivery method.","type":"string"},"phone":{"name":"phone","description":"The merchant contact phone number for the local delivery location.","type":"string"},"title":{"name":"title","description":"Shipping plan name.","type":"string"}}}},"abandoned_checkout_url":{"name":"abandoned_checkout_url","description":"Link to the checkout page associated with the abandoned checkout.","type":"string"},"customer":{"name":"customer","description":"Customer information for the abandoned checkout.","type":"object","properties":{"last_name":{"name":"last_name","description":"The last name of the recipient. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the recipient. ","type":"string"},"addresses":{"name":"addresses","description":"The customer address of the abandoned checkout.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"city":{"name":"city","description":"The city in the address.","type":"string"},"country":{"name":"country","description":"The country or region in the address.","type":"string"},"name":{"name":"name","description":"The full name of the customer. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the customer. ","type":"string"},"province":{"name":"province","description":"The state or province of the address. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the state or province in the address, which can be a custom code or a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code.\n","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the abandoned checkout shipping address.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the customer. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the customer. ","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address. ","type":"string"}}},"currency":{"name":"currency","description":"Settlement currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"email":{"name":"email","description":"Customer's contact email.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. ","type":"string"},"id":{"name":"id","description":"The unique identifier of the customer.","type":"string"}}},"id":{"name":"id","description":"The unique identifier for the abandoned checkout.","type":"string"},"presentment_currency":{"name":"presentment_currency","description":"The order transaction currency displayed to buyers. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"recovery_status":{"name":"recovery_status","description":"The recovery status of the abandoned checkout. Valid values are:\n- `not_recovered`: Indicates that a recall email for the abandoned checkout was sent but did not result in a completed order.\n- `recovered`: Indicates that an abandoned checkout was successfully converted into a completed order after sending a recall email.","type":"string"},"shipping_address":{"name":"shipping_address","description":"Buyer's shipping address information.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the shipping address. This typically includes information such as the street address or a post office box number.","type":"string"},"company":{"name":"company","description":"Company name of the shipping customer.","type":"string"},"country":{"name":"country","description":"Country or region in the shipping address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the shipping address.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the customer.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the customer.","type":"string"},"name":{"name":"name","description":"The full name of the customer.","type":"string"},"phone":{"name":"phone","description":"The phone number of the customer.","type":"string"},"address2":{"name":"address2","description":"The second line of the shipping address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city":{"name":"city","description":"The city in the shipping address.","type":"string"},"province":{"name":"province","description":"The state or province of the customer's shipping address.","type":"string"},"province_code":{"name":"province_code","description":"The code for the state or province in the customer address, which can be a custom code or a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code. It differs from the `province_code` response parameter, which uses a custom code.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the customer shipping address.","type":"string"}}},"subtotal_price":{"name":"subtotal_price","description":"The item price after discount. The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"total_duties":{"name":"total_duties","description":"Total tariff. The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"note_attributes":{"name":"note_attributes","description":"Additional information from the merchant.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"The name of the additional information from the merchant.","type":"string"},"value":{"name":"value","description":"The value of the additional information from the merchant.","type":"string"}}}},"checkout_token":{"name":"checkout_token","description":"The unique credential for the abandoned checkout.","type":"string"},"status":{"name":"status","description":"The status of the abandoned checkout. Valid values are:\n- `draft`: The customer's contact email or mobile phone number is not filled in on the checkout page.\n- `open`: The customer's contact email or mobile phone number is filled in on the checkout page, but no order is generated at this time. \n- `recovered`: The customer's contact email or mobile phone number is filled in on the checkout page, the recall email is sent, and the order is generated. ","type":"string"},"total_discounts":{"name":"total_discounts","description":"Total discount amount. The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"total_tax":{"name":"total_tax","description":"The total tax amount of the order.The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the abandoned checkout was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"user_id":{"name":"user_id","description":"The unique identifier for the buyer.","type":"string"},"close_at":{"name":"close_at","description":"Abandoned checkout closing time. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\nThe closing process occurs in the following two ways: \n- Automatic closing: The system automatically closes the checkout if the order is not completed within 60 days.\n- Order generation: Closing is triggered when an order is generated through the abandoned checkout. ","type":"string"},"currency":{"name":"currency","description":"Settlement currency. A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"phone":{"name":"phone","description":"The phone number of the buyer.","type":"string"},"total_line_items_price":{"name":"total_line_items_price","description":"The total price of all products after discounts. The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"total_price":{"name":"total_price","description":"Total discounted order amount, including shipping fees and taxes. The amount value must be rounded to two decimal places. The currency of this amount is specified by the `presentment_currency` field.","type":"string"},"billing_address":{"name":"billing_address","description":"The address for sending billing invoices.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city in the billing address.","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient.","type":"string"},"province":{"name":"province","description":"The state or province in the billing address. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which is a system custom code. It is recommended to use `standard_province_code`.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code. It differs from the `province_code` response parameter, which uses a custom code.","type":"string"},"country":{"name":"country","description":"Country or region in the billing address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the billing address.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the billing recipient. ","type":"string"},"last_name":{"name":"last_name","description":"The last name of the billing recipient. ","type":"string"},"name":{"name":"name","description":"The full name of the billing recipient.","type":"string"},"phone":{"name":"phone","description":"The phone number of the billing recipient. ","type":"string"},"zip":{"name":"zip","description":"The postal code information of the billing address. ","type":"string"}}},"completed_at":{"name":"completed_at","description":"The date and time when the order was generated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the abandoned checkout was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"discount_codes":{"name":"discount_codes","description":"The list of promo code information.","type":"array","items":{"type":"object","properties":{"amount":{"name":"amount","description":"Discount amount. The amount is rounded to two decimal places and displayed in the currency corresponding to `presentment_currency`.","type":"string"},"code":{"name":"code","description":"Discount code. This parameter is empty if no code is used.","type":"string"},"type":{"name":"type","description":"The discount type. Valid values are:\n- `-1`: No discount\n- `1`: Amount reduction\n- `2`: Discount (percentage off)\n- `3`: Free shipping\n- `4`: Marked-up item\n- `5`: Preferential price for any N items\n- `6`: Preferential price for A+B combination\n- `7`: Free gift\n- `8`: Fixed selling price\n- `9`: Lowest-priced item free\n- `11`: Discount for Nth item\n- `12`: Buy X get Y free \n- `13`: Customized\n- `14`: Price for multiple items","type":"string"}}}},"email":{"name":"email","description":"Buyer's contact email.","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/abandoned_orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get abandoned checkouts","version":"v20250601"},"authIndexes":["read_orders"]},"DDW5SP6j":{"tags":["Archive and unarchive abandoned checkouts"],"description":"Archive or unarchive abandoned checkouts in the store.","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"DDW5SP6j","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"hide_mark":{"name":"hide_mark","description":"Identifies the type of archiving operation:\n- `0`: unarchive\n- `1`: archive","type":"string"},"checkout_tokens":{"name":"checkout_tokens","description":"A list of checkout identifiers.\n\nMaximum size: 100","type":"array","items":{"type":"string"}}},"required":["hide_mark","checkout_tokens"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"count":{"name":"count","description":"Number of abandoned checkouts successfully archived or successfully unarchived.","type":"integer"}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/abandoned_order/hide_mark.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Archive and unarchive abandoned checkouts","version":"v20240601"},"authIndexes":["write_orders"]},"nlzONz0Z":{"tags":["Create a draft order"],"description":"Create a draft order for the customer.","externalDocs":{"description":"Permission point used by the interface is `write_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| INNER_PARTY_ERROR | 500 | Internal service call exception |\n| DELIVERY_PLAN_NOT_EXIST | 422 | logistics method does not exist |\n| ILLEGAL_PRODUCT_STATUS | 422 | Commodity Status Illegal / Insufficient Inventory |\n| DRAFT_ORDER_RESERVE_STOCK_OPERATE_ERROR | 422 | Failed to reserve inventory in draft order |\n| ORDER_PAY_CHANNEL_ID_ERROR | 422 | The order payment channel is abnormal |\n| DRAFT_ORDER_REPEAT_SUBMIT | 422 | Duplicate submission of draft order operation |\n"},"operationId":"nlzONz0Z","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"draft_order":{"name":"draft_order","description":"The draft order object.","type":"object","properties":{"customer":{"name":"customer","description":"Buyer's information.","type":"object","properties":{"area_code":{"name":"area_code","description":"International dialing code.","type":"string"},"email":{"name":"email","description":"Buyer's email address.","type":"string"},"first_name":{"name":"first_name","description":"Buyer's first name.\n\nMaximum length: 64","type":"string"},"id":{"name":"id","description":"The unique identifier for the buyer.","type":"string"},"last_name":{"name":"last_name","description":"Buyer's last name.\n\nMaximum length: 64","type":"string"},"phone":{"name":"phone","description":"Buyer's mobile phone number.\n\nMaximum length: 32","type":"string"}},"required":["id"]},"line_items":{"name":"line_items","description":"List of products.","type":"array","items":{"type":"object","properties":{"gift_card":{"name":"gift_card","description":":::danger{title=\"Deprecated\"}\nThis parameter is deprecated from API version v20251201.\n:::","type":"boolean"},"price":{"name":"price","description":"The product price.","type":"string"},"product_source":{"name":"product_source","description":"Product source. Valid values are:\n- `main_site`: online store product\n- `customize`: custom product\n","type":"string"},"properties":{"name":"properties","description":"Product customization information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Custom attribute name.","type":"string"},"show":{"name":"show","description":"Indicates whether this message should be displayed on the frontend.\n- `true`: Displayed\n- `false`: Not displayed \n","type":"boolean"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: character or string type \n- `picture`: image type\n- `link`: hyperlink type","type":"string"},"urls":{"name":"urls","description":"URL list.\n- If the `type` is `picture`, thumbnails are retrieved via the `urls` values.\n- If the `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value.","type":"string"}}}},"quantity":{"name":"quantity","description":"Quantity of Items in the draft order.\n\nValue range: 1-99999","type":"integer"},"sku":{"name":"sku","description":"Merchant-defined product SKU.\n\nMaximum length: 255","type":"string"},"taxable":{"name":"taxable","description":"Indicates whether the product is subject to tax. \n- `true`: Tax is required.\n- `false`: No tax is required. \n\nDefault: `true`","type":"boolean"},"title":{"name":"title","description":"Product title.","type":"string"},"applied_discount":{"name":"applied_discount","description":"Product discount information.","type":"object","properties":{"description":{"name":"description","description":"The discount description.","type":"string"},"title":{"name":"title","description":":::danger{title=\"Deprecated\"}\nThis parameter is deprecated from API version v20251201.\n:::","type":"string"},"value":{"name":"value","description":"Discount amount. When `value_type` is `percentage`, the minimum value is 0 and the maximum value is 100.","type":"long"},"value_type":{"name":"value_type","description":"The type of `value`. Valid values are:\n- `fixed_amount`: fixed amount discount\n- `percentage`: percentage discount","type":"string"}},"required":["value_type","value"]},"discountable":{"name":"discountable","description":":::danger{title=\"Deprecated\"}\nThis parameter is deprecated from API version v20251201.\n:::","type":"boolean"},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether shipping is required. This field is only valid when `product_source` is set to `customize`.\n- `true`: Shipping is required.\n- `false`: Shipping is not required.\n\nDefault: `true`","type":"boolean"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"}},"required":["product_id","variant_id","quantity","product_source"]}},"tax_exempt":{"name":"tax_exempt","description":"Indicates whether the product is subject to tax. \n- `true`: Tax is required.\n- `false`: Tax is not required. ","type":"boolean"},"discountable":{"name":"discountable","description":":::danger{title=\"Deprecated\"}\nThis parameter is deprecated from API version v20251201.\n:::","type":"boolean"},"note_attributes":{"name":"note_attributes","description":"Additional information for the draft order.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Custom attribute name.","type":"string"},"value":{"name":"value","description":"Custom attribute value.","type":"string"}}}},"payment_terms":{"name":"payment_terms","description":"Payment information.","type":"object","properties":{"pay_channel_id":{"name":"pay_channel_id","description":"The unique identifier for the order.","type":"string"},"pay_status":{"name":"pay_status","description":"Payment status. Valid values are:\n- `unpaid`: Order not yet paid\n- `paid`: Order paid \n\nDefault: `unpaid`","type":"string"},"payment_channel_name":{"name":"payment_channel_name","description":"Payment channel name.","type":"string"}},"required":["pay_channel_id"]},"stock_reserved":{"name":"stock_reserved","description":"Indicates whether there is a reserved product identifier at the order level.\n- `true`: with reserved product identifier\n- `false`: without reserved product identifier","type":"boolean"},"tags":{"name":"tags","description":"A list of tags. Multiple tags are separated by commas. \nMaximum size: 99","type":"array","items":{"type":"string"}},"calc_sku_stock_mode":{"name":"calc_sku_stock_mode","description":"Used to identify the inventory mode. Valid values are:\n- `not_limit`: Infinity inventory \n- `real`: Actual inventory\n- `reserve_real`: Reserve inventory and actual inventory","type":"string"},"discount_amount_ext":{"name":"discount_amount_ext","description":"Order discount amount. The value is rounded to two decimal places.","type":"string"},"discount_amount_ext_name":{"name":"discount_amount_ext_name","description":"Order discount description.\n\nMaximum length: 64","type":"string"},"language_info":{"name":"language_info","description":"Language information.","type":"object","properties":{"customer_language":{"name":"customer_language","description":"The language used by the buyer when placing an order. This language takes priority.","type":"string"},"merchant_language":{"name":"merchant_language","description":"The language used by the seller. The buyer's language takes priority.","type":"string"}}},"outer_id":{"name":"outer_id","description":"The unique request ID generated by the client. Requests with the same ID will only be processed once.","type":"string"},"shipping_lines":{"name":"shipping_lines","description":"Logistics information.\n\nWhen `shipping_type` is set to `system`, `delivery_id` is required. \nWhen `shipping_type` is set to `custom`, both `title` and `price` are required. \nIf free shipping is desired, `shipping_type` must be set to `custom`, and both `title` and `price` must be provided, with the `price` value set to `0`.","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping template ID.","type":"string"},"price":{"name":"price","description":"Custom shipping fee. The value is rounded to two decimal places. ","type":"string"},"shipping_type":{"name":"shipping_type","description":"Logistics type. Valid values are:\n- `system`: system logistics\n- `custom`: custom logistics\n\n","type":"string"},"title":{"name":"title","description":"Custom shipping carrier name.","type":"string"}},"required":["shipping_type"]},"stock_reserved_time":{"name":"stock_reserved_time","description":"Product reservation time at the order level, formatted as a 13-digit millisecond timestamp.","type":"long"},"market_region_country_code":{"name":"market_region_country_code","description":"The country or region code of the target market. Complies with the [ISO 3166](https://www.iso.org/iso-3166-country-codes.html) standard.","type":"string"},"note":{"name":"note","description":"The note of the draft order.\n\nMaximum length: 1024","type":"string"},"shipping_address":{"name":"shipping_address","description":"Recipient's shipping address information.","type":"object","properties":{"address2":{"name":"address2","description":"The second line of the shipping address. This typically includes information such as apartment, suite, or unit number.\n\nMaximum length: 256","type":"string"},"city":{"name":"city","description":"The city in the shipping address.\n\nMaximum length: 64","type":"string"},"district":{"name":"district","description":"The district or county in the shipping address.\n\nMaximum length: 64","type":"string"},"phone":{"name":"phone","description":"Recipient's phone number.","type":"string"},"city_code":{"name":"city_code","description":"The city code in the shipping address.","type":"string"},"district_code":{"name":"district_code","description":"The district or county code in the shipping address.","type":"string"},"province":{"name":"province","description":"The province in the shipping address.","type":"string"},"address1":{"name":"address1","description":"The first line of the shipping address. This typically includes information such as the street address or a post office box number.\n\nMaximum length: 256","type":"string"},"country":{"name":"country","description":" The country or region in the shipping address.\n \nMaximum length: 64","type":"string"},"country_code":{"name":"country_code","description":"The country or region code in the shipping address.\nTwo-letter country code ([ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard) for the country or region.","type":"string"},"last_name":{"name":"last_name","description":"Recipient's last name.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the shipping address, which can be a custom code or a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code.","type":"string"},"company":{"name":"company","description":"The company name of the recipient.","type":"string"},"first_name":{"name":"first_name","description":"Recipient's first name.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address.","type":"string"}}},"billing_address":{"name":"billing_address","description":"The address for mailing bills and invoices.","type":"object","properties":{"address2":{"name":"address2","description":"The second line of the billing address. This typically includes information such as apartment, suite, or unit number.\n\nMaximum length: 256","type":"string"},"city":{"name":"city","description":"The city in the billing address.\n\nMaximum length: 64","type":"string"},"first_name":{"name":"first_name","description":"Payment bill recipient's first name.\n\nMaximum length: 64","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the billing address, which can be a custom code or a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code.","type":"string"},"postcode":{"name":"postcode","description":"The postal code information of the address.","type":"string"},"area":{"name":"area","description":"The district or county in the billing address.\n\nMaximum length: 64","type":"string"},"city_code":{"name":"city_code","description":"The city code in the billing address.","type":"string"},"email":{"name":"email","description":"Payment bill recipient's email.","type":"string"},"phone":{"name":"phone","description":"Payment bill recipient's phone number.","type":"string"},"province":{"name":"province","description":"The province in the billing address.","type":"string"},"area_code":{"name":"area_code","description":"The district or county code in the billing address.","type":"string"},"country_code":{"name":"country_code","description":"The country or region code in the billing address.\nTwo-letter country code ([ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard) for the country or region.","type":"string"},"address1":{"name":"address1","description":"The first line of the billing address. This typically includes information such as the street address or a post office box number.\n\nMaximum length: 256","type":"string"},"company":{"name":"company","description":"The company name of the billing recipient.","type":"string"},"country":{"name":"country","description":"The country or region in the billing address.","type":"string"},"last_name":{"name":"last_name","description":"Payment bill recipient's last name.\n\nMaximum length: 64","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the `billing_address` is the same as the `shipping_address`.\n- `true`: same\n- `false`: different\n","type":"boolean"}}}},"required":["line_items","language_info","stock_reserved","calc_sku_stock_mode"]}}}}},"required":true},"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"draft_order":{"name":"draft_order","description":"Draft order object.","type":"object","properties":{"billing_address":{"name":"billing_address","description":"The address for mailing bills and invoices.","type":"object","properties":{"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the `billing_address` is the same as the `shipping_address`.\n- `true`: same\n- `false`: different\n","type":"boolean"},"zip":{"name":"zip","description":"The postal code for the billing address.","type":"string"},"last_name":{"name":"last_name","description":"Payment bill recipient's last name.\n","type":"string"},"address2":{"name":"address2","description":"The second line of the billing address. This typically includes information such as apartment, suite, or unit number.\n","type":"string"},"company":{"name":"company","description":"Company name of the billing recipient.\n\n","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code. It is different from the `province_code` parameter, which is a custom code. ","type":"string"},"city":{"name":"city","description":"The city in the billing address.\n","type":"string"},"email":{"name":"email","description":"Payment bill recipient's email.","type":"string"},"phone":{"name":"phone","description":"Payment bill recipient's phone number.","type":"string"},"province":{"name":"province","description":"The province in the billing address.","type":"string"},"address1":{"name":"address1","description":"The first line of the billing address. This typically includes information such as the street address or a post office box number.","type":"string"},"area":{"name":"area","description":"The district or county in the billing address.\n","type":"string"},"area_code":{"name":"area_code","description":"The district or county code in the billing address.","type":"string"},"city_code":{"name":"city_code","description":"The city code in the billing address.","type":"string"},"country":{"name":"country","description":"The country in the payment billing address.\n","type":"string"},"country_code":{"name":"country_code","description":"The country or region code in the billing address.\nTwo-letter country code ([ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard) for the country or region.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which is a system custom code.","type":"string"},"first_name":{"name":"first_name","description":"Payment bill recipient's first name.\n","type":"string"}}},"discount_amount_ext":{"name":"discount_amount_ext","description":"Order discount amount. The value is rounded to two decimal places. ","type":"string"},"line_items":{"name":"line_items","description":"List of products.","type":"array","items":{"type":"object","properties":{"image_url":{"name":"image_url","description":"Product image URL.","type":"string"},"price_set":{"name":"price_set","description":"Product amount after applying custom discounts.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product amount information after custom discount presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The product amount after custom discount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product amount information after custom discount recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product amount after custom discount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"gift_card":{"name":"gift_card","description":"Indicates whether the product is a gift card.\n- `true`: Gift card\n- `false`: Not a gift card","type":"boolean"},"name":{"name":"name","description":"SKU title.","type":"string"},"variant_title":{"name":"variant_title","description":"Product SKU title.","type":"string"},"price":{"name":"price","description":"Product amount after applying custom discounts. The value is rounded to two decimal places.","type":"string"},"product_id":{"name":"product_id","description":"The unique identifier for the product.","type":"string"},"product_source":{"name":"product_source","description":"Product source. Valid values are:\n- `main_site`: online store product\n- `customize`: customize product","type":"string"},"properties":{"name":"properties","description":"A list of product customization information.","type":"array","items":{"type":"object","properties":{"urls":{"name":"urls","description":"URL list.\n- If the type is `picture`,thumbnails are retrieved via the `urls` values.\n- If the type is `link`,the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute value","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"show":{"name":"show","description":"Indicates whether this message should be displayed on the frontend.\n- `true`: Displayed\n- `false`: Not displayed ","type":"boolean"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: character or string type \n- `picture`: image type \n- `link`: hyperlink type ","type":"string"}}}},"quantity":{"name":"quantity","description":"Quantity of items in the draft order.","type":"integer"},"tax_lines":{"name":"tax_lines","description":"Tax information.","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"The tax amount information.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate. ","type":"double"},"type":{"name":"type","description":"Tax type. Valid values are:\n- `product_tax`: product tax\n- `shipping_tax`: shipping tax\n- `duty_tax`: duty tax","type":"string"},"name":{"name":"name","description":"The name of the tax.","type":"string"},"price":{"name":"price","description":"The amount of the tax.","type":"string"}}}},"title":{"name":"title","description":"Title of the variant.","type":"string"},"applied_discount":{"name":"applied_discount","description":"Custom product discount information. ","type":"object","properties":{"value_type":{"name":"value_type","description":"Discount type.\n- `fixed_amount`: fixed amount\n- `percentage`: percentage","type":"string"},"amount":{"name":"amount","description":"The amount after applying the discount.","type":"string"},"amount_set":{"name":"amount_set","description":"Detailed information of the discount amount.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The product discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product discount amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The product discount amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The product discount amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"before_amount":{"name":"before_amount","description":"Product price.","type":"string"},"before_amount_set":{"name":"before_amount_set","description":"Price information of the product.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"description":{"name":"description","description":"The discount description.","type":"string"},"title":{"name":"title","description":":::danger{title=\"Deprecated\"} \t\nThis parameter is deprecated from API version v20251201.\n:::","type":"string"},"value":{"name":"value","description":"Discount amount. When the discount type is `percentage`, the minimum value is 0 and the maximum value is 100.","type":"long"}}},"id":{"name":"id","description":"A unique identifier for the line item. ","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether shipping is required.\n- `true`: Shipping is required.\n- `false`: Shipping is not required.\n","type":"boolean"},"sku":{"name":"sku","description":"Merchant-defined product item number.\n\n","type":"string"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"}}}},"logistics_price":{"name":"logistics_price","description":"Total shipping amount.","type":"string"},"market_region_country_code":{"name":"market_region_country_code","description":"A two-letter country or region code that follows the [ISO 3166-1 (alpha 2)](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific market's country or region. ","type":"string"},"note":{"name":"note","description":"The note of the draft order.","type":"string"},"note_attributes":{"name":"note_attributes","description":"Additional information for the draft order.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"The name of the note.","type":"string"},"value":{"name":"value","description":"The value of the note.","type":"string"}}}},"presentment_currency_code":{"name":"presentment_currency_code","description":"Market currency.","type":"string"},"logistics_tax":{"name":"logistics_tax","description":"Total shipping tax.","type":"string"},"order_id":{"name":"order_id","description":":::danger{title=\"Deprecated\"} \t\nThis parameter is deprecated from API version v20251201.\n:::","type":"string"},"shipping_lines":{"name":"shipping_lines","description":"Logistics information.\n\n\nWhen `shipping_type` is set to `system`, `delivery_id` is required. \nWhen `shipping_type` is set to `custom`, both `title` and `price` are required. \nIf free shipping is desired, `shipping_type` must be set to `custom`, and both `title` and `price` must be provided, with the `price` value set to `0`.","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping template ID.","type":"string"},"price":{"name":"price","description":"The shipping cost for logistics.","type":"string"},"price_set":{"name":"price_set","description":"The shipping cost for logistics.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The shipping cost information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping cost. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The shipping cost information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The shipping cost. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"shipping_type":{"name":"shipping_type","description":"Logistics type. Valid values are :\n- `system`: system logistics\n- `custom`: custom logistics","type":"string"},"title":{"name":"title","description":"Logistics name.","type":"string"}}},"tax_lines":{"name":"tax_lines","description":"Tax information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"Specific tax amount.","type":"string"},"price_set":{"name":"price_set","description":"Tax information.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate.","type":"double"},"type":{"name":"type","description":"Tax type. Valid values are:\n- `product_tax`: product tax\n- `shipping_tax`: shipping tax\n- `duty_tax`: duty tax","type":"string"}}}},"logistics_tax_set":{"name":"logistics_tax_set","description":"Total shipping tax.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total shipping tax information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The total shipping tax. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total shipping tax information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total shipping tax. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"customer":{"name":"customer","description":"The buyer's information.","type":"object","properties":{"last_name":{"name":"last_name","description":"The buyer's last name.\n","type":"string"},"phone":{"name":"phone","description":"The buyer's phone number.","type":"string"},"area_code":{"name":"area_code","description":"International dialing code.","type":"string"},"email":{"name":"email","description":"The buyer's email address.","type":"string"},"first_name":{"name":"first_name","description":"The buyer's first name.\n","type":"string"},"id":{"name":"id","description":"The unique identifier for the buyer.\n","type":"string"}}},"product_tax":{"name":"product_tax","description":"Product total tax.","type":"string"},"shipping_address":{"name":"shipping_address","description":"Recipient's shipping address.","type":"object","properties":{"country_code":{"name":"country_code","description":"The country or region code in the shipping address.\n\nTwo-letter country code ([ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard) for the country or region.","type":"string"},"first_name":{"name":"first_name","description":"The recipient's first name.","type":"string"},"last_name":{"name":"last_name","description":"The recipient's last name.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-character [ISO 3166-2](https://www.iso.org/glossary-for-iso-3166.html) international code. It is different from the `province_code` parameter, which is a custom code. ","type":"string"},"country":{"name":"country","description":"The country or region in the shipping address.\n","type":"string"},"zip":{"name":"zip","description":"The postal code information of the shipping address.","type":"string"},"province":{"name":"province","description":"The province in the shipping address.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"city_code":{"name":"city_code","description":"The city code in the shipping address.","type":"string"},"company":{"name":"company","description":"Company name of the recipient.","type":"string"},"district_code":{"name":"district_code","description":"The code for city in the shipping address.","type":"string"},"name":{"name":"name","description":"The recipient's full name.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the address, which is a system custom code.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city in the shipping address.\n","type":"string"},"district":{"name":"district","description":"The city in the shipping address.","type":"string"},"phone":{"name":"phone","description":"The recipient's phone number.","type":"string"}}},"stock_reserved":{"name":"stock_reserved","description":"Indicates whether there is a reserved product identifier at the order level.\n- `true`: with reserved product identifier\n- `false`: without reserved product identifier\n","type":"boolean"},"total_duties_set":{"name":"total_duties_set","description":"Total duty.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The total duty information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total duty amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The total duty information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The total duty amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_line_items_price":{"name":"total_line_items_price","description":"The total amount of products in the current draft order.","type":"string"},"total_price_set":{"name":"total_price_set","description":"Total amount.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total amount information presented to the buyer.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The total amount. The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"logistics_price_set":{"name":"logistics_price_set","description":"Total shipping amount.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total shipping amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The total shipping amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total shipping amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total shipping amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"product_tax_set":{"name":"product_tax_set","description":"Product total tax, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product total tax information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The product total tax. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product total tax information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product total tax. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"status":{"name":"status","description":"Draft order status. Valid values are:\n- `open`: processing\n- `completed`: has been completed","type":"integer"},"discount_amount_ext_set":{"name":"discount_amount_ext_set","description":"Order discount amount information.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order discount amount information presented to the buyer.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The order discount amount. The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The order discount amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"po_number":{"name":"po_number","description":"Purchase order number recorded on the order in B2B scenarios.","type":"string"},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"The total amount of products in the current draft order information.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The total product amount information presented to the buyer.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"amount":{"name":"amount","description":"The total product amount. The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The total product amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The total product amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"total_price":{"name":"total_price","description":"Total amount of the current draft order: the sum of the product selling prices minus the discount, plus tax and shipping fee.","type":"string"},"currency":{"name":"currency","description":"The store currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"},"invoice_url":{"name":"invoice_url","description":"Invoice URL.","type":"string"},"payment_terms":{"name":"payment_terms","description":"Payment terms and payment information.","type":"object","properties":{"due_in_days":{"name":"due_in_days","description":"The number of days between the invoice date and the due date, as defined in the selected payment terms template. Provided when the `payment_terms_type` is `NET`.","type":"integer"},"id":{"name":"id","description":"The unique identifier for the payment term.","type":"string"},"payment_channel_name":{"name":"payment_channel_name","description":"Payment channel name.","type":"string"},"payment_terms_type":{"name":"payment_terms_type","description":"The type of payment terms template used to create the payment terms. Valid values are:\n- `FIXED`: Full payment by the specified date.\n- `FULFILLMENT`: Full payment when the order is fulfilled.\n- `RECEIPT`: Full payment when the invoice is sent.\n- `NET`: NET.\n","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the payment term was created. \n\nFormat: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"overdue":{"name":"overdue","description":"Indicates whether the payment terms have expired.\n- `true`: Expired\n- `false`: Not expired\n","type":"boolean"},"pay_channel_id":{"name":"pay_channel_id","description":"The unique identifier for the payment channel.","type":"string"},"pay_status":{"name":"pay_status","description":"Payment status. Valid values are:\n- `unpaid`: unpaid\n- `paid`: paid","type":"string"},"payment_schedules":{"name":"payment_schedules","description":"A set of schedules associated with the payment terms.","type":"array","items":{"type":"object","properties":{"completed_at":{"name":"completed_at","description":"The date and time when the payment completion is recorded.","type":"string"},"due_at":{"name":"due_at","description":"The date and time when the payment terms are due. \nWhen the value of `payment_terms_type` is `FIXED`, `due_at` must have a value. \nWhen the value of `payment_terms_type` is `NET`, the value of `due_at` is equal to `issued_at` plus `due_in_days`. \nWhen the value of `payment_terms_type` is `FULFILLMENT`, it has a value only when the order is shipped. ","type":"string"},"issued_at":{"name":"issued_at","description":"The date and time when the payment terms take effect. \nWhen the value of `payment_terms_type` is `FIXED`, if `issued_at` is empty, then `issued_at` equals `due_at`. \nWhen the value of `payment_terms_type` is `NET`, `issued_at` must have a value. \nWhen the value of `payment_terms_type` is `FULFILLMENT`, it has a value only when the order is shipped. \nWhen the value of `payment_terms_type` is `RECEIPT`, it has a value only when the invoice is sent.","type":"string"}}}},"payment_terms_name":{"name":"payment_terms_name","description":"The name of the payment term template used to create the payment terms.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the payment term was last updated. \n\nFormat: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"}}},"stock_reserved_time":{"name":"stock_reserved_time","description":"Product reservation time at the order level, formatted as a 13-digit millisecond timestamp.","type":"long"},"update_at":{"name":"update_at","description":"The date and time when the draft order was last updated, formatted as a 13-digit millisecond timestamp.","type":"long"},"create_at":{"name":"create_at","description":"Creation time of the draft order, formatted as a 13-digit millisecond timestamp.\n","type":"long"},"discount_amount_ext_name":{"name":"discount_amount_ext_name","description":"Order discount name.\n\n","type":"string"},"market_name":{"name":"market_name","description":"Market name.","type":"string"},"id":{"name":"id","description":"The unique identifier for the draft order.","type":"string"},"seller_id":{"name":"seller_id","description":"Merchant ID.","type":"string"},"store_id":{"name":"store_id","description":"The unique identifier for the store.","type":"string"},"tags":{"name":"tags","description":"A list of tags. Multiple tags are separated by commas. ","type":"array","items":{"type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/draft_orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create a draft order","version":"v20250601"},"authIndexes":["write_draft_orders"]},"rmfq8vlc":{"tags":["Edit draft order"],"description":"Modify the content of the draft order, such as product list, shipping address, etc.","externalDocs":{"description":"Permission point used by the interface is `write_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| INNER_PARTY_ERROR | 500 | Internal service call exception |\n| DELIVERY_PLAN_NOT_EXIST | 422 | logistics method does not exist |\n| ILLEGAL_PRODUCT_STATUS | 422 | Commodity Status Illegal / Insufficient Inventory |\n| DRAFT_ORDER_RESERVE_STOCK_OPERATE_ERROR | 422 | Failed to reserve inventory in draft order |\n| ORDER_PAY_CHANNEL_ID_ERROR | 422 | The order payment channel is abnormal |\n"},"operationId":"rmfq8vlc","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value application/json; charset=utf-8.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en)to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en)to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"Body location parameters","type":"object","properties":{"draft_order":{"name":"draft_order","description":"Draft order object.","type":"object","properties":{"line_items":{"name":"line_items","description":"List of product.","type":"array","items":{"type":"object","properties":{"applied_discount":{"name":"applied_discount","description":"Product discount information.","type":"object","properties":{"description":{"name":"description","description":"The discount description.","type":"string"},"title":{"name":"title","description":"The discount title.","type":"string"},"value":{"name":"value","description":"Discount value amount. When the discount type is DISCOUNT_AMOUNT_PERCENTAGE, this value can range from a minimum of 0 to a maximum default of 100.","type":"long"},"value_type":{"name":"value_type","description":"Discount type. Valid values are: \n· fixed_amount:Fixed amount\n· percentage: Percentage","type":"string"}}},"id":{"name":"id","description":"Order product line ID. The unique identifier for the product line in the order.","type":"string"},"product_id":{"name":"product_id","description":"The product ID.","type":"string"},"quantity":{"name":"quantity","description":"Product quantity.\nValue range: 0-120","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether shipping is required.\n•true: Required\n•false: Not required","type":"boolean"},"title":{"name":"title","description":"The title of the product.","type":"string"},"discountable":{"name":"discountable","description":"Indicates whether to use online store marketing campaigns.\n•true: Used\n•false: Not used","type":"boolean"},"gift_card":{"name":"gift_card","description":"Indicates whether the product is a gift card item.\n•true: Gift card item\n•false: Not a gift card item","type":"boolean"},"price":{"name":"price","description":"The selling price of the product in two-digit precision, such as '12.41'.","type":"string"},"product_source":{"name":"product_source","description":"Product source。\n•main_site: main station product\n•customize: custom product","type":"string"},"properties":{"name":"properties","description":"Product customization information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Custom attribute name.","type":"string"},"show":{"name":"show","description":"Indicates whether this message should be displayed on the frontend.\n•true: Displayed\n•false: Not displayed","type":"boolean"},"type":{"name":"type","description":"Product attribute types. Valid values are:\n● text: Text type\n● picture:Image type\n● link:Link type","type":"string"},"urls":{"name":"urls","description":"The list of the URL resources.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"The value of custom attribute.","type":"string"}}}},"sku":{"name":"sku","description":"A unique identifier for the item in the fulfillment. Applicable only to custom line items. The maximum length is 255.","type":"string"},"variant_id":{"name":"variant_id","description":"Product SKU serial number.","type":"string"}},"required":["product_id","quantity","product_source","variant_id"]}},"stock_reserved_time":{"name":"stock_reserved_time","description":"Order dimension inventory pre-reserved time.","type":"long"},"tags":{"name":"tags","description":"Draft order tags. Multiple tags should be separated by commas.","type":"array","items":{"type":"string"}},"tax_exempt":{"name":"tax_exempt","description":"Indicates whether the product is subject to tax. \n•true: Tax is required.\n•false: No tax is required. ","type":"string"},"customer":{"name":"customer","description":"Buyer's information.","type":"object","properties":{"area_code":{"name":"area_code","description":"Area code of the buyer's contact address.","type":"string"},"email":{"name":"email","description":"Buyer's email address.","type":"string"},"first_name":{"name":"first_name","description":"User's first name.","type":"string"},"id":{"name":"id","description":"The unique identifier for user.","type":"string"},"last_name":{"name":"last_name","description":"User's last name.","type":"string"},"phone":{"name":"phone","description":"User's mobile phone number.","type":"string"}},"required":["id"]},"discount_amount_ext":{"name":"discount_amount_ext","description":"Order discount amount, represented as a string of type double with a precision of 2.\nFor example, 12.41。","type":"string"},"discount_amount_ext_name":{"name":"discount_amount_ext_name","description":"Order discount name.\nMaximum length: 64","type":"string"},"note":{"name":"note","description":"Draft order note.","type":"string"},"note_attributes":{"name":"note_attributes","description":"The additional information.","type":"array","items":{"type":"object","properties":{"value":{"name":"value","description":"The value of the additional information.","type":"string"},"name":{"name":"name","description":"The name of the additional information.","type":"string"}}}},"shipping_lines":{"name":"shipping_lines","description":"Logistics information.","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping method ID, shipping template ID.","type":"string"},"price":{"name":"price","description":"The shipping cost for logistics, double type string with accuracy 2.","type":"string"},"shipping_type":{"name":"shipping_type","description":"Logistics types. Valid values are:\n· system: System logistics\n· custom: Custom logistics\nWhen the logistics type is system, only the delivery_id needs to be provided.\nWhen the logistics type is custom, both the title and price fields must be provided.","type":"string"},"title":{"name":"title","description":"Logistics name.","type":"string"}},"required":["shipping_type"]},"calc_sku_stock_mode":{"name":"calc_sku_stock_mode","description":"Calculate inventory mode.\n•not_limit : Infinity inventory \n•real : real inventory\n•reserve_real : reserve inventory + real inventory","type":"string"},"shipping_address":{"name":"shipping_address","description":"Buyer's shipping address information.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"city_code":{"name":"city_code","description":"The city code in the shipping address.","type":"string"},"city":{"name":"city","description":"The city in the shipping address.","type":"string"},"country":{"name":"country","description":"The country or district in the shipping address.","type":"string"},"country_code":{"name":"country_code","description":"The country code in the shipping address.\nA two-letter country or region code that follows the ISO 3166-1 (alpha 2) standard, used to identify a specific market's country or region.","type":"string"},"district":{"name":"district","description":"District of the shipping address.","type":"string"},"company":{"name":"company","description":"The company name of the receiver in the shipping address.","type":"string"},"district_code":{"name":"district_code","description":"The code for the district in the shipping address, custom identifier.","type":"string"},"province":{"name":"province","description":"The province in the shipping address.","type":"string"},"province_code":{"name":"province_code","description":"\n创建草稿单 API 整改\n100%\ndistrict\n4 of 7\nE215 district \nJ222\n\nThe code for the province in the shipping address, which can be a custom code or a two-digit ISO 3166-2 international code.\nSummarize this table\n \n \n \t\nThe code for the province in the shipping address, which can be a custom code or a two-digit ISO 3166-2 international code.\nTurn on screen reader support\nTo enable screen reader support, press ⌘+Option+Z To learn about keyboard shortcuts, press ⌘slash","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"first_name":{"name":"first_name","description":"The buyer's first name.","type":"string"},"last_name":{"name":"last_name","description":"The buyer's last name.","type":"string"},"phone":{"name":"phone","description":"The buyer's phone number.","type":"string"},"zip":{"name":"zip","description":"The postal code for the shipping address.","type":"string"}}},"stock_reserved":{"name":"stock_reserved","description":"Indicates whether there is a stock reservation identifier at the order level.\n•true: Present\n•false: No","type":"boolean"},"outer_id":{"name":"outer_id","description":" \n \t\nThe unique identifier for the operation. Each ID can only be used to perform the operation once.","type":"string"},"payment_terms":{"name":"payment_terms","description":"Payment information.","type":"object","properties":{"pay_status":{"name":"pay_status","description":"Payment status.\n•unpaid\n•paid","type":"string"},"payment_channel_name":{"name":"payment_channel_name","description":"The name of the payment channel.","type":"string"},"pay_channel_id":{"name":"pay_channel_id","description":"The unique identifier for the payment channel.","type":"string"}},"required":["pay_channel_id"]},"id":{"name":"id","description":"Draft order ID.","type":"string"},"language_info":{"name":"language_info","description":"The language information.","type":"object","properties":{"merchant_language":{"name":"merchant_language","description":" \n \t\nMerchant side checkout language, prefer using the buyer-side language.","type":"string"},"customer_language":{"name":"customer_language","description":"Buyer side checkout language, prefer using this language.","type":"string"}}},"market_region_country_code":{"name":"market_region_country_code","description":"Market country.","type":"string"},"billing_address":{"name":"billing_address","description":"Billing address information.","type":"object","properties":{"province_code":{"name":"province_code","description":"The code for the province in the payment billing address, which can be a custom code or a two-digit ISO 3166-2 international code.","type":"string"},"company":{"name":"company","description":"The country in the payment billing address.","type":"string"},"first_name":{"name":"first_name","description":"The buyer's first name.","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the address is the same as the shipping information.\n•true: Same\n•false: Different","type":"boolean"},"last_name":{"name":"last_name","description":"The buyer's last name.","type":"string"},"address1":{"name":"address1","description":"The first line of the payment billing address. This typically includes information such as the street address or a post office box number.\nMaximum length: 255","type":"string"},"area":{"name":"area","description":"The administrative region name in payment billing address.","type":"string"},"area_code":{"name":"area_code","description":"The code for administrative district, custom number.","type":"string"},"city_code":{"name":"city_code","description":"The code for city in the payment billing address.","type":"string"},"country_code":{"name":"country_code","description":"The country code in the payment billing address.\nA two-letter country or region code that follows the ISO 3166-1 (alpha 2) standard, used to identify a specific market's country or region.","type":"string"},"email":{"name":"email","description":"Buyer's email address.","type":"string"},"phone":{"name":"phone","description":"The user's mobile phone number.","type":"string"},"province":{"name":"province","description":"The province in the payment billing address.","type":"string"},"zip":{"name":"zip","description":"The postal code information of the address.","type":"string"},"address2":{"name":"address2","description":"The second line of the payment billing address. This typically includes information such as apartment, suite, or unit number.\nMaximum length: 255","type":"string"},"city":{"name":"city","description":"The city in the payment billing address.","type":"string"},"country":{"name":"country","description":"The country in the payment billing address.","type":"string"}}},"discountable":{"name":"discountable","description":"Indicates whether marketing discounts can be stacked.\n•true: Stackable\n•false: Not stackable","type":"boolean"}},"required":["line_items","calc_sku_stock_mode","stock_reserved","id"]}}}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"draft_order":{"name":"draft_order","description":"Draft order object.","type":"object","properties":{"total_line_items_price_set":{"name":"total_line_items_price_set","description":"The total amount of products.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"discount_amount_ext_set":{"name":"discount_amount_ext_set","description":"The discount amount, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer side currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller-side amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The store's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"},"amount":{"name":"amount","description":"Seller-side amount. The value is rounded to two decimal places.","type":"string"}}}}},"logistics_tax":{"name":"logistics_tax","description":"Total shipping tax fee.","type":"string"},"note_attributes":{"name":"note_attributes","description":"Additional information for the draft order.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"The name of the additional attribute.","type":"string"},"value":{"name":"value","description":"The value of the additional attribute.","type":"string"}}}},"presentment_currency_code":{"name":"presentment_currency_code","description":"Market currency.","type":"string"},"product_tax":{"name":"product_tax","description":"Product total tax fee.","type":"string"},"tax_lines":{"name":"tax_lines","description":"The tax information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"The tax amount.","type":"string"},"price_set":{"name":"price_set","description":"The price information.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate.","type":"double"},"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax.\n· product_tax: commodity tax \n· shipping_tax: freight tax","type":"string"}}}},"invoice_url":{"name":"invoice_url","description":"Invoice URL.","type":"string"},"logistics_price":{"name":"logistics_price","description":"Total shipping amount.","type":"string"},"store_id":{"name":"store_id","description":"The unique identifier for the store.","type":"string"},"total_line_items_price":{"name":"total_line_items_price","description":"The total amount of products in the current draft order.","type":"string"},"line_items":{"name":"line_items","description":"List of product.","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"Product line ID, unique confirm a Product line.","type":"string"},"price":{"name":"price","description":"Product amount after participating in custom discounts.","type":"string"},"quantity":{"name":"quantity","description":"Product quantity.\nValue range: 0-120","type":"integer"},"tax_lines":{"name":"tax_lines","description":"Tax information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"The name of the tax fee.","type":"string"},"price":{"name":"price","description":"The amount of the tax fee.","type":"string"},"price_set":{"name":"price_set","description":"The amount information.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"},"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side Amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The store's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only. \nFor Example, if the tax rate is 2%, specify this field as 0.02. \nExample: 0.02","type":"double"},"type":{"name":"type","description":"Tax fee type used to distinguish between commodity tax and freight tax. \nproduct_tax: commodity tax \nshipping_tax: freight tax","type":"string"}}}},"gift_card":{"name":"gift_card","description":"Indicates whether the product is a gift card item.\n•true: Gift card item\n•false: Not a gift card item","type":"boolean"},"product_id":{"name":"product_id","description":"The SPU serial number of the product.","type":"string"},"applied_discount":{"name":"applied_discount","description":"Product custom discount information.","type":"object","properties":{"value":{"name":"value","description":"Discount amount. When the discount type is percentage, the minimum value is 0 and the maximum value is 100 by default.","type":"long"},"value_type":{"name":"value_type","description":"Discount type.\n•fixed_amount\n•percentage","type":"string"},"amount":{"name":"amount","description":"Discount amount , double type string for accuracy 2.\nFor example: 12.41","type":"string"},"amount_set":{"name":"amount_set","description":"Detailed information of discount amount, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side Amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The store's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"before_amount":{"name":"before_amount","description":"The original price of the product, a string of double type with two-digit precision.","type":"string"},"before_amount_set":{"name":"before_amount_set","description":"Original price information of the product, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller-side amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The store's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"},"amount":{"name":"amount","description":"Seller-side Amount. The value is rounded to two decimal places.","type":"string"}}}}},"description":{"name":"description","description":"The discount description.","type":"string"},"title":{"name":"title","description":"The discount name.","type":"string"}}},"image_url":{"name":"image_url","description":"The image URL of the product picture.","type":"string"},"product_source":{"name":"product_source","description":"Product source。\n•main_site: main product\n•customize: customize product","type":"string"},"sku":{"name":"sku","description":"The SKU of the product. The unique identifier for the product variant.\nMaximum length: 64","type":"string"},"variant_title":{"name":"variant_title","description":"Product SKU title.","type":"string"},"price_set":{"name":"price_set","description":"Product amount after participating in custom discounts, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side Amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The store's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"properties":{"name":"properties","description":"The custom properties of the product.","type":"array","items":{"type":"object","properties":{"urls":{"name":"urls","description":"The URL resouces list.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"The value of the custom attribute.","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"show":{"name":"show","description":"Indicates whether this message should be displayed on the frontend.\n•true: Displayed\n•false: Not displayed ","type":"boolean"},"type":{"name":"type","description":"Attribute type:\n● text\n● picture\n● link","type":"string"}}}},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether physical shipping is required.\n•true: Required\n•false: Not required\nDefault value: false","type":"boolean"},"variant_id":{"name":"variant_id","description":"Product SKU serial number.","type":"string"},"title":{"name":"title","description":"Product title.","type":"string"}}}},"market_region_country_code":{"name":"market_region_country_code","description":"Market country.","type":"string"},"total_price_set":{"name":"total_price_set","description":"Draft order total amount, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"billing_address":{"name":"billing_address","description":"Billing address information.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the payment billing address. This typically includes information such as the street address or a post office box number.\nMaximum length: 255","type":"string"},"city_code":{"name":"city_code","description":"The code for city in the payment billing address.","type":"string"},"last_name":{"name":"last_name","description":"The buyer's last name.","type":"string"},"phone":{"name":"phone","description":"The buyer's phone number.","type":"string"},"province_code":{"name":"province_code","description":"The country code in the payment billing address.\nA two-letter country or region code that follows the ISO 3166-1 (alpha 2) standard, used to identify a specific market's country or region.","type":"string"},"city":{"name":"city","description":"The city in the payment billing address.","type":"string"},"country":{"name":"country","description":"The country in the payment billing address.","type":"string"},"country_code":{"name":"country_code","description":"The country code in the payment billing address.\nA two-letter country or region code that follows the ISO 3166-1 (alpha 2) standard, used to identify a specific market's country or region.","type":"string"},"email":{"name":"email","description":"The buyer's email.","type":"string"},"zip":{"name":"zip","description":"The postal code for the shipping address.","type":"string"},"area_code":{"name":"area_code","description":"The code for administrative district, custom number.","type":"string"},"company":{"name":"company","description":"The country in the payment billing address.","type":"string"},"first_name":{"name":"first_name","description":"The buyer's first name.","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the address is the same as the shipping information.\n•true: Same\n•false: Different\nDefalut value: false","type":"boolean"},"address2":{"name":"address2","description":"The second line of the payment billing address. This typically includes information such as apartment, suite, or unit number.\nMaximum length: 255","type":"string"},"area":{"name":"area","description":"The administrative region name in payment billing address.","type":"string"},"province":{"name":"province","description":"The province in the billing payment address.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"}}},"currency":{"name":"currency","description":"The store currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD .","type":"string"},"product_tax_set":{"name":"product_tax_set","description":"Product total tax fee, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"shipping_address":{"name":"shipping_address","description":"Shipping address.","type":"object","properties":{"city":{"name":"city","description":"The city in the shipping address.","type":"string"},"country":{"name":"country","description":"The country in the payment shipping address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the ISO 3166-1 (alpha 2) standard, used to identify a specific country or region in the address. For example, US.","type":"string"},"first_name":{"name":"first_name","description":"The buyer's first name.","type":"string"},"last_name":{"name":"last_name","description":"The buyer's last name.","type":"string"},"phone":{"name":"phone","description":"The buyer's phone number.","type":"string"},"district_code":{"name":"district_code","description":"The code for the district in the shipping address, custom identifier.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number.","type":"string"},"district":{"name":"district","description":"District of the shipping address.","type":"string"},"zip":{"name":"zip","description":"The postal code for the shipping address.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"city_code":{"name":"city_code","description":"The code for city in the shipping address.","type":"string"},"company":{"name":"company","description":"The company name of the receiver in shipping address.","type":"string"},"province":{"name":"province","description":"The province in the shipping address.","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the shipping address, which can be a custom code or a two-digit ISO 3166-2 international code.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"}}},"stock_reserved_time":{"name":"stock_reserved_time","description":"The time reserved for stock at the order level.","type":"long"},"tags":{"name":"tags","description":"The tags for draft orders that separated by a comma between multiple tags. The maximum number of tags is 99 for one store.","type":"array","items":{"type":"string"}},"total_price":{"name":"total_price","description":"The total amount of draft order: Product selling price - discount + tax + shipping.","type":"string"},"note":{"name":"note","description":"The note of the draft order.","type":"string"},"payment_terms":{"name":"payment_terms","description":"Payment terms and Payment information.","type":"object","properties":{"due_in_days":{"name":"due_in_days","description":"When the terms type is NET, the payment is due after how many days if the payment is not made","type":"integer"},"pay_channel_id":{"name":"pay_channel_id","description":"The unique identifier for the payment channel.","type":"string"},"pay_status":{"name":"pay_status","description":"Payment slip status. After the status is paid, this status will not synchronize with the payment status of the final order.\n•unpaid\n•paid","type":"string"},"payment_schedules":{"name":"payment_schedules","description":"A set of schedules associated with the payment terms.","type":"array","items":{"type":"object","properties":{"completed_at":{"name":"completed_at","description":"Payment completion date.","type":"string"},"due_at":{"name":"due_at","description":"The due date and time for the payment.Calculate based on issued_at and due_in_days. If the type is fixed, calculate based on a custom fixed date.","type":"string"},"issued_at":{"name":"issued_at","description":"The date and time when the payment term is activated.\nFormat: ISO 8601. \nExample: 2024-08-31T02:20:26+08:00","type":"string"}}}},"payment_terms_name":{"name":"payment_terms_name","description":"The name used to create the payment term template.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the payment term is last updated. \nFormat: ISO 8601. \nExample: 2024-08-31T02:20:26+08:00","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the payment term is created. Format: ISO 8601.\nExample: 2024-08-31T02:20:26+08:00","type":"string"},"id":{"name":"id","description":"The unique identifier for the payment iterm.","type":"string"},"overdue":{"name":"overdue","description":"Indicates whether the payment terms have expired.\n•true: Expired\n•false: Not expired","type":"boolean"},"payment_channel_name":{"name":"payment_channel_name","description":"Payment channel name.","type":"string"},"payment_terms_type":{"name":"payment_terms_type","description":"The type of payment terms template used to create the payment terms:\n•FIXED: Merchant specified date\n•FULFILLMENT: Fulfillment (Shipment) completion date\n•NET: Fixed condition date\n•RECEIPT: Billing sent date\n•UNKNOWN: Unknown type","type":"string"}}},"stock_reserved":{"name":"stock_reserved","description":"Indicates whether there is a stock reservation identifier at the order level.\n•true: Present\n•false: No","type":"boolean"},"total_duties_set":{"name":"total_duties_set","description":"Total Duties.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"id":{"name":"id","description":"The unique identifier for the draft order.","type":"string"},"po_number":{"name":"po_number","description":"Purchase order number recorded on the order in B2B scenarios.","type":"string"},"update_time":{"name":"update_time","description":"The date and time when the draft order is last updated. \nFormat: ISO 8601. \nExample: 2024-08-31T02:20:26+08:00","type":"long"},"customer":{"name":"customer","description":"The buyer's information.","type":"object","properties":{"first_name":{"name":"first_name","description":"The buyer's first name.","type":"string"},"id":{"name":"id","description":"The unique identifier for the buyer.","type":"string"},"last_name":{"name":"last_name","description":"The buyer's last name.","type":"string"},"phone":{"name":"phone","description":"The buyer's phone number.","type":"string"},"area_code":{"name":"area_code","description":"Area code of the buyer's contact address.","type":"string"},"email":{"name":"email","description":"The buyer's email address.","type":"string"}}},"discount_amount_ext":{"name":"discount_amount_ext","description":"Order discount amount, represented as a string of type double with a precision of 2.\nFor example, 12.41。","type":"string"},"discount_amount_ext_name":{"name":"discount_amount_ext_name","description":"Order discount name.","type":"string"},"logistics_price_set":{"name":"logistics_price_set","description":"The total shipping amount in multi-currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"create_time":{"name":"create_time","description":"The date and time when the draft order is created. Format: ISO 8601.\nExample: 2024-08-31T02:20:26+08:00","type":"long"},"logistics_tax_set":{"name":"logistics_tax_set","description":"The total shipping tax fee in muti-currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"},"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Seller's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"market_name":{"name":"market_name","description":"Market name.","type":"string"},"shipping_lines":{"name":"shipping_lines","description":"Logistics information.","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping method ID, shipping template ID.","type":"string"},"price":{"name":"price","description":"The shipping cost for logistics, double type string with accuracy 2.","type":"long"},"price_set":{"name":"price_set","description":"The shipping cost for logistics in multi-currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer's amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The buyer's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"},"amount":{"name":"amount","description":"Buyer-side amount.The value is rounded to two decimal places.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant's amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Seller-side amount.The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"The seller's used currency. The value of this parameter is a three-letter currency code that follows the ISO 4217 standard. For example, USD.","type":"string"}}}}},"shipping_type":{"name":"shipping_type","description":"Logistics type:\n•system : system logistics\n•custom : custom logistics","type":"string"},"title":{"name":"title","description":"Logistics name.","type":"string"}}},"status":{"name":"status","description":"The draft order statu:\n•completed\n•open","type":"integer"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/orders/draft_orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Edit draft order","version":"v20250601"},"authIndexes":["write_draft_orders"]},"6nWWUIKU":{"tags":["Send a draft order invoice email"],"description":"Send a specific draft order invoice email to the customer.","externalDocs":{"description":"Permission point used by the interface is `write_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"6nWWUIKU","parameters":[{"name":"id","in":"path","description":"The unique identifier of the draft order.","required":true,"style":"simple","schema":{"name":"id","description":"The unique identifier of the draft order.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"body position parameter","type":"object","properties":{"subject":{"name":"subject","description":"Email subject.\n\nMaximum length: 128","type":"string"},"to":{"name":"to","description":"Recipient email address. Only one valid email address is supported.","type":"string"},"custom_message":{"name":"custom_message","description":"Email content.","type":"string"}},"required":["to"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"500":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"name":"errors","description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/draft_orders/:id/send_invoice.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Send a draft order invoice email","version":"v20210901"},"authIndexes":["write_draft_orders"]},"87ii2eok":{"tags":["Query draft order"],"description":"Query information of the draft order according to specified conditions.","externalDocs":{"description":"Permission point used by the interface is `read_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| INNER_PARTY_ERROR | 500 | Internal service call exception |\n"},"operationId":"87ii2eok","parameters":[{"name":"status","in":"query","description":"Draft order status. Valid values are:\n- `open`: processing\n- `completed`: has been completed","style":"form","explode":true,"schema":{"name":"status","description":"Draft order status. Valid values are:\n- `open`: processing\n- `completed`: has been completed","type":"string"}},{"name":"checkout_ids","in":"query","description":"Draft order number, multiple separated by ',' and maximum support of 100.","style":"form","explode":true,"schema":{"name":"checkout_ids","description":"Draft order number, multiple separated by ',' and maximum support of 100.","type":"string"}},{"name":"updated_at_max","in":"query","description":"Set the query end point for the draft order update time. This should be used in conjunction with `updated_at_min` to define the query time range. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Set the query end point for the draft order update time. This should be used in conjunction with `updated_at_min` to define the query time range. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"updated_at_min","in":"query","description":"Set the query start point for the draft order update time. This should be used in conjunction with `updated_at_max` to define the query time range. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Set the query start point for the draft order update time. This should be used in conjunction with `updated_at_max` to define the query time range. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}},{"name":"ids","in":"query","description":"The unique identifier for the draft order, multiple IDs should be separated by commas.\n\nMaximum size: 100","style":"form","explode":true,"schema":{"name":"ids","description":"The unique identifier for the draft order, multiple IDs should be separated by commas.\n\nMaximum size: 100","type":"string"}},{"name":"limit","in":"query","description":"Query the quantity limit of draft orders. \n\nDefault value: `50`\n\nValue range: 0-1000","style":"form","explode":true,"schema":{"name":"limit","description":"Query the quantity limit of draft orders. \n\nDefault value: `50`\n\nValue range: 0-1000","type":"string"}},{"name":"page_info","in":"query","description":"The unique identifier for pagination queries, used to locate a specific page. \n\nThis parameter value is obtained from the `link` value in the response header of this API after you have queried the pagination information. \n\nFor example, if the `link` value you obtained is `<https://{handle}.myshopline.com/admin/openapi/{version}/orders/draft_orders.json?limit=1&page_info=eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9>; rel=\"next\"` , the value of `page_info` is `eyJzaW5jZUlkIjoiMTYwNTc1OTAxNTM4OTA4Mjk1MjExMTI3ODgiLCJkaXJlY3Rpb24iOiJuZXh0IiwibGltaXQiOjF9` . \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism).","style":"form","explode":true,"schema":{"name":"page_info","description":"The encrypted request parameters are used for the previous page and the next page, and the field is directly parsed and accessed.","type":"string"}},{"name":"sort_condition","in":"query","description":"Sorting rule. For fields like ``create_at:desc,id:asc``, first sort in descending order by `create_at`, and then sort in ascending order by `id`.","style":"form","explode":true,"schema":{"name":"sort_condition","description":"Sorting rule. For fields like ``create_at:desc,id:asc``, first sort in descending order by `create_at`, and then sort in ascending order by `id`.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"link":{"description":"The URL link that provides the pagination data. You can obtain `page_info` from this parameter for subsequent pagination requests. \n\nThis parameter is returned when the requested page has a previous or next page. \n\nFor more information on how to use pagination, refer to [Paging Mechanism](/docs/apps/api-instructions-for-use/paging-mechanism)."},"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"draft_orders":{"name":"draft_orders","description":"Draft order listing information.","type":"array","items":{"type":"object","properties":{"invoice_url":{"name":"invoice_url","description":"Invoice link.","type":"string"},"note_attributes":{"name":"note_attributes","description":"Additional information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Name.","type":"string"},"value":{"name":"value","description":"Value.","type":"string"}}}},"shipping_lines":{"name":"shipping_lines","description":"Order logistics information.","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping method ID.","type":"string"},"price":{"name":"price","description":"Logistics shipping. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"price_set":{"name":"price_set","description":"Shipping costs, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"shipping_type":{"name":"shipping_type","description":"Logistics type system. Valid values are:\n- `system`: system logistics\n- `custom`: custom logistics","type":"string"},"title":{"name":"title","description":"Shipping template name.","type":"string"}}},"payment_terms":{"name":"payment_terms","description":"Payment channel information.","type":"object","properties":{"payment_schedules":{"name":"payment_schedules","description":"A set of schedules associated with the payment terms.","type":"array","items":{"type":"object","properties":{"completed_at":{"name":"completed_at","description":"Payment completion date. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample: `2024-08-31T02:20:26+08:00`","type":"string"},"due_at":{"name":"due_at","description":"Expected payment date. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample: `2024-08-31T02:20:26+08:00`","type":"string"},"issued_at":{"name":"issued_at","description":"The time when the payment terms are triggered. When the type is `FIXED`, it is the saved time (if the draft order becomes an order, the order inherits the draft order time); when the type is `FULFILLMENT/RECEIPT`, it is the effective time of the condition; when the type is `NET`, it is the saved time (if the draft order becomes an order, the order inherits the draft order time).","type":"string"}}}},"payment_terms_type":{"name":"payment_terms_type","description":"The type of payment terms template used to create the payment terms. Valid values are:\n- `FIXED`: Merchant specified date.\n- `FULFILLMENT`: Fulfillment (Shipment) completion date.\n- `NET`: Fixed condition date.\n- `RECEIPT`: Billing sent date.\n- `UNKNOWN`: Unknown type.","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the payment term is created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). \n\nExample: `2024-08-31T02:20:26+08:00`","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number.","type":"string"},"payment_terms_name":{"name":"payment_terms_name","description":"The name of the payment terms template used to create the payment terms.","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the payment term is last updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample: `2024-08-31T02:20:26+08:00`","type":"string"},"due_in_days":{"name":"due_in_days","description":"When the terms type is `NET`, the payment is due after how many days if the payment is not made.","type":"integer"},"id":{"name":"id","description":"The unique identifier (ID) that identifies this payment term.","type":"string"},"overdue":{"name":"overdue","description":"Indicates whether the payment terms have expired.\n- `true`:expired\n- `false`:not expired","type":"boolean"},"pay_status":{"name":"pay_status","description":"Payment order status. Valid values are:\n- `unpaid`: unpaid\n- `paid`: paid\n\nAfter a draft order is generated into an order, this status will not synchronize with the payment status of the order.","type":"string"},"payment_channel_name":{"name":"payment_channel_name","description":"Payment channels.","type":"string"}}},"create_by":{"name":"create_by","description":"Creator account ID.","type":"string"},"create_time":{"name":"create_time","description":"The date and time when the draft order was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample: `2024-08-31T02:20:26+08:00`","type":"long"},"currency":{"name":"currency","description":"The store currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"},"customer":{"name":"customer","description":"Buyer information.","type":"object","properties":{"phone":{"name":"phone","description":"User mobile phone number.","type":"string"},"area_code":{"name":"area_code","description":"Contact area ID.","type":"string"},"email":{"name":"email","description":"User mailbox.","type":"string"},"first_name":{"name":"first_name","description":"User's first name.","type":"string"},"id":{"name":"id","description":"The unique identifier for the user.","type":"string"},"last_name":{"name":"last_name","description":"User's last name.","type":"string"}}},"discountable":{"name":"discountable","description":"Indicates whether marketing discounts can be stacked.\n- `true`: stacked\n- `false`: not stacked\n\nDefalut value: `false`","type":"boolean"},"checkout_ids":{"name":"checkout_ids","description":"The unique identifier for abandoned orders, multiple of which are concatenated with commas.","type":"string"},"logistics_amount":{"name":"logistics_amount","description":"Total shipping amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"logistics_tax_set":{"name":"logistics_tax_set","description":"Total shipping tax, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"order_id":{"name":"order_id","description":"Order number generated by current draft order.","type":"string"},"total_price":{"name":"total_price","description":"The total amount of the products, calculated as the product of the unit price and quantity, displayed in the store's currency.","type":"string"},"total_price_set":{"name":"total_price_set","description":"The total amount of the products, calculated as the product of the unit price and quantity, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"update_by":{"name":"update_by","description":"Update account ID.","type":"string"},"id":{"name":"id","description":"The unique identifier for the draft order.","type":"string"},"line_items":{"name":"line_items","description":"A list of product line information.","type":"array","items":{"type":"object","properties":{"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to physical shipping.\n- `true`: required\n- `false`: not required\n\nDefault value: `true`","type":"boolean"},"sku":{"name":"sku","description":"A unique identifier for the item in the fulfillment. Applicable only to custom line items.","type":"string"},"title":{"name":"title","description":"The title of the product.","type":"string"},"variant_id":{"name":"variant_id","description":"The SKU of the product. The unique identifier for the product style.","type":"string"},"applied_discount":{"name":"applied_discount","description":"Product custom discount information.","type":"object","properties":{"description":{"name":"description","description":"The discount description.","type":"string"},"title":{"name":"title","description":"The discount title.","type":"string"},"value":{"name":"value","description":"Discount amount. When the discount type is `DISCOUNT_AMOUNT_PERCENTAGE`, the maximum default value of this amount is 100, and the minimum value is 0.","type":"string"},"value_type":{"name":"value_type","description":"The type of value. Valid values are:\n- `fixed_amount`: fixed amount discount\n- `percentage`: percentage discount","type":"string"},"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"amount_set":{"name":"amount_set","description":"The discount amount,displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"},"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"before_amount":{"name":"before_amount","description":"The product price. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"before_amount_set":{"name":"before_amount_set","description":"The product price, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information..","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"},"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"}}}}}}},"gift_card":{"name":"gift_card","description":"Indicates whether the product is a gift card item.\n- `true`: gift card item\n- `false`: not a gift card item","type":"boolean"},"id":{"name":"id","description":"The unique identifier for the product line.","type":"string"},"product_source":{"name":"product_source","description":"Product source. Valid values are:\n- `main_site`: main station product\n- `customize`: custom product","type":"string"},"taxable":{"name":"taxable","description":"Indicates whether the product is taxable.\n- `true`:taxable\n- `false`:not taxable\n\nDefault value: `true`","type":"boolean"},"variant_title":{"name":"variant_title","description":"Product attribute value.","type":"string"},"image_url":{"name":"image_url","description":"Product image link.","type":"string"},"price":{"name":"price","description":"Product amount after participating in custom discounts.","type":"string"},"product_id":{"name":"product_id","description":"Product SPU serial number.","type":"string"},"properties":{"name":"properties","description":"Product customization information.","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Custom name.","type":"string"},"show":{"name":"show","description":"Indicates whether this message should be displayed on the frontend.\n- `true`: displayed\n- `false`: not displayed ","type":"boolean"},"type":{"name":"type","description":"Property type. Valid values are:\n- `text`:text type\n- `picture`:picture type\n- `link`:link type","type":"string"},"urls":{"name":"urls","description":"The URL for the additional information type redirection.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute values.","type":"string"}}}},"tax_lines":{"name":"tax_lines","description":"The returned product tax information. ","type":"array","items":{"type":"object","properties":{"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax. Valid values are:\n- `product_tax`: commodity tax \n- `shipping_tax`: freight tax","type":"string"},"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"The tax amount. The actual tax collected on the product is based on this field value. ","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate.","type":"double"}}}},"price_set":{"name":"price_set","description":"Product amount after participating in custom discounts, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"}}}},"billing_address":{"name":"billing_address","description":"Payment billing address.","type":"object","properties":{"address2":{"name":"address2","description":"The second line of the payment billing address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"email":{"name":"email","description":"The bill recipient's email address.","type":"string"},"province":{"name":"province","description":"The province in the address","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the payment billing address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"},"street_number":{"name":"street_number","description":"Street encoding, custom numbering.","type":"string"},"address1":{"name":"address1","description":"The first line of the payment billing address. This typically includes information such as the street address or a post office box number.","type":"string"},"city":{"name":"city","description":"The city in the payment billing address.","type":"string"},"company":{"name":"company","description":"Company name.","type":"string"},"country":{"name":"country","description":"The country in the payment billing address.","type":"string"},"country_code":{"name":"country_code","description":"The country code in the payment billing address.\nA two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific market's country or region. For example, `US`.","type":"string"},"first_name":{"name":"first_name","description":"The bill recipient's first name.","type":"string"},"last_name":{"name":"last_name","description":"The bill recipient's last name.","type":"string"},"area":{"name":"area","description":"The administrative region name in payment billing address.","type":"string"},"area_code":{"name":"area_code","description":"The code for administrative district, custom number.","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Indicates whether the address is the same as the shipping information.\n- `true`: same\n- `false`: different","type":"boolean"},"zip":{"name":"zip","description":"Shipping address postal number.","type":"string"},"phone":{"name":"phone","description":"The bill recipient's contact information.","type":"string"},"city_code":{"name":"city_code","description":"The code for city in the payment billing address.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"street_name":{"name":"street_name","description":"Street name.","type":"string"}}},"company":{"name":"company","description":"Company information.","type":"object","properties":{"id":{"name":"id","description":"The unique identifier for the company.","type":"string"},"location_id":{"name":"location_id","description":"The unique identifier for the company location.","type":"string"},"tax_registration_id":{"name":"tax_registration_id","description":"Tax registration ID.","type":"string"}}},"product_tax":{"name":"product_tax","description":"Product total tax.","type":"string"},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"Product total amount, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. \n\nExample: `USD`.","type":"string"}}}}},"update_time":{"name":"update_time","description":"The date and time when the draft order is last updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). \n\nExample: `2024-08-31T02:20:26+08:00`","type":"long"},"status":{"name":"status","description":"Draft order status. Valid values are:\n- `open`: processing\n- `completed`: has been completed","type":"string"},"stock_reserved":{"name":"stock_reserved","description":"Inventory return type. Valid values are:\n- `no_restock`: not returned\n- `cancel`: canceled\n- `return`: returned","type":"boolean"},"stock_reserved_time":{"name":"stock_reserved_time","description":"Order dimension inventory pre-reserved time.","type":"long"},"note":{"name":"note","description":"Draft order note.","type":"string"},"presentment_currency_code":{"name":"presentment_currency_code","description":"Market currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"},"product_tax_set":{"name":"product_tax_set","description":"Product total tax, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"shipping_address":{"name":"shipping_address","description":"Shipping address information.","type":"object","properties":{"city":{"name":"city","description":"The city in the shipping address.","type":"string"},"company":{"name":"company","description":"Company name.","type":"string"},"district":{"name":"district","description":"District of the shipping address.","type":"string"},"province":{"name":"province","description":"The province in the address.","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"street_number":{"name":"street_number","description":"Street encoding, custom numbering.","type":"string"},"country":{"name":"country","description":"Country name.","type":"string"},"delivery_store_code":{"name":"delivery_store_code","description":"Store code, custom number.","type":"string"},"street_name":{"name":"street_name","description":"Street name.","type":"string"},"zip":{"name":"zip","description":"Shipping address postal number.","type":"string"},"first_name":{"name":"first_name","description":"The first name of the recipient. ","type":"string"},"name":{"name":"name","description":"The name of the recipient. ","type":"string"},"phone":{"name":"phone","description":"Contact number.","type":"string"},"address1":{"name":"address1","description":"The first line of the address. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the address. This typically includes information such as apartment, suite, or unit number. ","type":"string"},"city_code":{"name":"city_code","description":"The code for city in the shipping address.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html) standard, used to identify a specific country or region in the address. For example, `US`.","type":"string"},"delivery_store_name":{"name":"delivery_store_name","description":"Store name.","type":"string"},"district_code":{"name":"district_code","description":"The code for district in of the shipping address.","type":"string"},"last_name":{"name":"last_name","description":"The last name of the recipient. ","type":"string"},"province_code":{"name":"province_code","description":"The code for the province in the shipping address, which can be a custom code or a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.","type":"string"}}},"logistics_amount_set":{"name":"logistics_amount_set","description":"Total shipping cost, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"logistics_tax":{"name":"logistics_tax","description":"Total shipping tax.","type":"string"},"market_name":{"name":"market_name","description":"Market name.","type":"string"},"tags":{"name":"tags","description":"The draft order tag uses separated by ',' between multiple tag rooms, and the shop dimension supports up to 99 tag.","type":"array","items":{"type":"string"}},"po_number":{"name":"po_number","description":"Purchase order number recorded on the order in B2B scenarios.","type":"string"},"total_duties_set":{"name":"total_duties_set","description":"Total duty.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"discount_amount_ext_set":{"name":"discount_amount_ext_set","description":"The discount amount, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"},"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"market_region_country_code":{"name":"market_region_country_code","description":"Market country.","type":"string"},"tax_lines":{"name":"tax_lines","description":"The draft order tax information. ","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax information.","type":"string"},"price":{"name":"price","description":"The tax amount. The actual tax collected on the product is based on this field value.","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax, displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Merchant-side amount information.","type":"object","properties":{"amount":{"name":"amount","description":"Merchant-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The merchant-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Buyer-side amount information. The value is rounded to two decimal places. For example, `88.98`.","type":"object","properties":{"amount":{"name":"amount","description":"Buyer-side amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"The buyer-side currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only. ","type":"double"},"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax. Valid values are:\n- `product_tax`: commodity tax \n- `shipping_tax`: freight tax","type":"string"}}}},"total_line_items_price":{"name":"total_line_items_price","description":"Current draft order Product total amount.","type":"string"},"discount_amount_ext":{"name":"discount_amount_ext","description":"The discount amount, displayed in the store's currency.","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/draft_orders.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query draft order","version":"v20250601"},"authIndexes":["read_draft_orders"]},"SLM9GeDh":{"description":"Remove draft single","externalDocs":{"description":"Permission point used by the interface is `write_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"SLM9GeDh","parameters":[{"name":"draft_order_id","in":"path","description":"Draft order id","required":true,"style":"simple","schema":{"name":"draft_order_id","description":"Draft order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/orders/draft_orders/:draft_order_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Delete draft order","version":"v20210901"},"authIndexes":["write_draft_orders"]},"KzkFjESc":{"tags":["Complete draft order"],"description":"Push draft single into order","externalDocs":{"description":"Permission point used by the interface is `write_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| STORE_NOT_EXIST | 400 | The store does not exist. |\n| DRAFT_ORDER_COMPLETED | 422 | The draft order status is completed. Operations on this draft order are not permitted. |\n| DRAFT_ORDER_NOT_EXIST | 422 | The draft order does not exist. |\n| DRAFT_ORDER_RETRIEVAL_FAILED | 200 | Failed to retrieve the draft order. |\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n"},"operationId":"KzkFjESc","parameters":[{"name":"id","in":"path","description":"Draft order number","required":true,"style":"simple","schema":{"name":"id","description":"Draft order number","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value application/json; charset=utf-8.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en)to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en)to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"draft_order":{"name":"draft_order","description":"Draft order","type":"object","properties":{"update_at":{"name":"update_at","description":"Update time , time stamp format","type":"long"},"total_line_items_price":{"name":"total_line_items_price","description":"Current draft order Product total amount","type":"string"},"discount_amount_ext_set":{"name":"discount_amount_ext_set","description":"Order Discount amount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"invoice_url":{"name":"invoice_url","description":"Invoice link","type":"string"},"subtotal_price":{"name":"subtotal_price","description":"Order amount , double type string for accuracy 2 , eg : \" 12.41 \"","type":"string"},"total_line_items_price_set":{"name":"total_line_items_price_set","description":"Current draft order Product total amount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"total_tax":{"name":"total_tax","description":"Total tax , double type string for precision 2 , eg : \" 12.41 \"","type":"string"},"billing_address":{"name":"billing_address","description":"Billing address information","type":"object","properties":{"street_name":{"name":"street_name","description":"Street name","type":"string"},"address1":{"name":"address1","description":"Detailed address information 1 , used as complementary information","type":"string"},"address2":{"name":"address2","description":"Detailed address information 2 , used as complementary information","type":"string"},"country":{"name":"country","description":"Country name","type":"string"},"email":{"name":"email","description":"User mailbox","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the billing address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"city":{"name":"city","description":"City name","type":"string"},"city_code":{"name":"city_code","description":"City coding , custom number","type":"string"},"phone":{"name":"phone","description":"Contact number","type":"string"},"province_code":{"name":"province_code","description":"State or provincial code , custom number","type":"string"},"street_number":{"name":"street_number","description":"Street encoding , custom numbering","type":"string"},"zip":{"name":"zip","description":"Shipping address postal number","type":"string"},"area_code":{"name":"area_code","description":"Administrative district encoding , custom number","type":"string"},"province":{"name":"province","description":"State or provincial name","type":"string"},"same_as_receiver":{"name":"same_as_receiver","description":"Same as receiving information : true、false","type":"boolean"},"area":{"name":"area","description":"Administrative region name","type":"string"},"company":{"name":"company","description":"Company Name","type":"string"},"country_code":{"name":"country_code","description":"Country or region code , two ISO-3166-1","type":"string"},"first_name":{"name":"first_name","description":"User name","type":"string"},"last_name":{"name":"last_name","description":"User last name","type":"string"}}},"id":{"name":"id","description":"Draft order number","type":"string"},"tags":{"name":"tags","description":"The draft order tag uses separated by ',' between multiple tag rooms , and the shop dimension supports up to 99 tag","type":"array","items":{"type":"string"}},"discount_amount_ext":{"name":"discount_amount_ext","description":"Order Discount amount , double type string for accuracy 2 , eg : \" 12.41 \"","type":"string"},"stock_reserved_time":{"name":"stock_reserved_time","description":"Order dimension inventory pre-reserved time","type":"long"},"total_duties_set":{"name":"total_duties_set","description":"Total duty","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"status":{"name":"status","description":"Draft order status : open 、 complete","type":"string"},"total_tax_set":{"name":"total_tax_set","description":"Total tax , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"total_discounts":{"name":"total_discounts","description":"Total discount amount , double type string for precision 2 , eg : \" 12.41 \"","type":"string"},"company":{"name":"company","description":"Company info","type":"object","properties":{"id":{"name":"id","description":"Company id","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"},"tax_registration_id":{"name":"tax_registration_id","description":"Tax registration id","type":"string"}}},"note":{"name":"note","description":"Draft order note","type":"string"},"order_id":{"name":"order_id","description":"Order number generated by current draft order","type":"string"},"seller_id":{"name":"seller_id","description":"Merchant id","type":"string"},"shipping_lines":{"name":"shipping_lines","description":"Logistics information","type":"object","properties":{"delivery_id":{"name":"delivery_id","description":"Shipping method id , shipping template id","type":"string"},"express_type_source":{"name":"express_type_source","description":"Logistics type system- system logistics ; custom- custom logistics","type":"string"},"price":{"name":"price","description":"Logistics shipping , double type string with accuracy 2","type":"string"},"price_set":{"name":"price_set","description":"Logistics shipping , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"title":{"name":"title","description":"Shipping template name","type":"string"}}},"currency":{"name":"currency","description":"Store currency","type":"string"},"discount_amount_ext_name":{"name":"discount_amount_ext_name","description":"Order Discount name","type":"string"},"payment_terms":{"name":"payment_terms","description":"Payment information","type":"object","properties":{"payment_terms_type":{"name":"payment_terms_type","description":"The type of payment terms template used to create the payment terms:\nFIXED: Merchant specified date\nFULFILLMENT: Fulfillment (Shipment) completion date\nNET: Fixed condition date\nRECEIPT: Billing sent date\nUNKNOWN: Unknown type","type":"string"},"id":{"name":"id","description":"The unique identifier (ID) that identifies this payment term","type":"string"},"overdue":{"name":"overdue","description":"Is the payment term overdue: true/false","type":"boolean"},"pay_status":{"name":"pay_status","description":"Payment slip status : after not paying for the paid draft order and generating the order , the payment slip state will not synchronize the payment status of the order","type":"string"},"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"created_at":{"name":"created_at","description":"Create time","type":"string"},"due_in_days":{"name":"due_in_days","description":"When the terms type is NET, the payment is due after how many days if the payment is not made","type":"integer"},"pay_channel_id":{"name":"pay_channel_id","description":"Payment channel id","type":"string"},"payment_channel_name":{"name":"payment_channel_name","description":"Payment channel name","type":"string"},"payment_schedules":{"name":"payment_schedules","description":"A set of schedules associated with the payment terms","type":"array","items":{"type":"object","properties":{"completed_at":{"name":"completed_at","description":"Payment completion date","type":"string"},"due_at":{"name":"due_at","description":"Expected payment date","type":"string"},"issued_at":{"name":"issued_at","description":"The time when the payment terms are triggered. When the type is FIXED, it is the saved time (if the draft order becomes an order, the order inherits the draft order time); when the type is FULFILLMENT/RECEIPT, it is the effective time of the condition; when the type is NET, it is the saved time (if the draft order becomes an order, the order inherits the draft order time).","type":"string"}}}},"payment_terms_name":{"name":"payment_terms_name","description":"The name of the payment terms template used to create the payment terms.","type":"string"}}},"po_number":{"name":"po_number","description":"Purchase order number recorded on the order in B2B scenarios","type":"string"},"line_items":{"name":"line_items","description":"Listing list","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Product amount after participating in custom discounts","type":"string"},"price_set":{"name":"price_set","description":"Product amount after participating in custom discounts , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"product_id":{"name":"product_id","description":"Product s pu serial number","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Needs physical transportation and delivery or not : true、false","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax. The enumeration value is as follows product_tax: commodity tax shipping_tax: freight tax","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax ( store currency amount ) , accuracy 2","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buy side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"}}}},"title":{"name":"title","description":"Product title","type":"string"},"applied_discount":{"name":"applied_discount","description":"Product custom discount information","type":"object","properties":{"title":{"name":"title","description":"Discount name","type":"string"},"value":{"name":"value","description":"Discount amount, discount value, when the discount type is DISCOUNT_AMOUNT_PERCENTAGE, the minimum value is 0 and the maximum value is 100 by default","type":"long"},"value_type":{"name":"value_type","description":"Discount type : fixed_amount ( fixed amount ) 、percentage ( % )","type":"string"},"amount":{"name":"amount","description":"Discount amount , double type string for accuracy 2 , eg : \" 12.41 \"","type":"string"},"amount_set":{"name":"amount_set","description":"Discount amount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"before_amount":{"name":"before_amount","description":"Product selling price , double type string for precision 2 , eg : \" 12.41 \"","type":"string"},"before_amount_set":{"name":"before_amount_set","description":"Zhekou selling price before discount , multi-currency information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"description":{"name":"description","description":"Discount description","type":"string"}}},"id":{"name":"id","description":"Product line id , unique confirm a Product line","type":"string"},"image_url":{"name":"image_url","description":"picture url","type":"string"},"product_source":{"name":"product_source","description":"Product source main_site main station product、customize custom product","type":"string"},"quantity":{"name":"quantity","description":"Product quantity","type":"integer"},"variant_id":{"name":"variant_id","description":"Product SKU serial number","type":"string"},"variant_title":{"name":"variant_title","description":"Commercial sku title","type":"string"},"gift_card":{"name":"gift_card","description":"Wei for gift cards or not : true、false","type":"boolean"}}}},"note_attributes":{"name":"note_attributes","description":"Additional information","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Name","type":"string"},"value":{"name":"value","description":"Value","type":"string"}}}},"shipping_address":{"name":"shipping_address","description":"Logistics information","type":"object","properties":{"city":{"name":"city","description":"City name","type":"string"},"country_code":{"name":"country_code","description":"Country or region code , two ISO-3166-1","type":"string"},"delivery_store_code":{"name":"delivery_store_code","description":"Store code , custom number","type":"string"},"district_code":{"name":"district_code","description":"Administrative district encoding , custom number","type":"string"},"standard_province_code":{"name":"standard_province_code","description":"The code for the province in the shipping address, which is a two-digit [ISO 3166-2](https://www.iso.org/iso-3166-country-codes.html#2012_iso3166-2) international code.This differs from `province_code` - the `province_code` response field uses a custom code.","type":"string"},"street_number":{"name":"street_number","description":"Street encoding , custom numbering","type":"string"},"address1":{"name":"address1","description":"Detailed address information 1 , used as complementary information","type":"string"},"country":{"name":"country","description":"Country name","type":"string"},"district":{"name":"district","description":"Administrative region name","type":"string"},"last_name":{"name":"last_name","description":"Last name","type":"string"},"phone":{"name":"phone","description":"Contact number","type":"string"},"province_code":{"name":"province_code","description":"Province-coding","type":"string"},"delivery_store_name":{"name":"delivery_store_name","description":"Store name","type":"string"},"first_name":{"name":"first_name","description":"First name","type":"string"},"province":{"name":"province","description":"Province","type":"string"},"street_name":{"name":"street_name","description":"Street name","type":"string"},"address2":{"name":"address2","description":"Detailed address information 2 , used as complementary information","type":"string"},"city_code":{"name":"city_code","description":"City coding , custom number","type":"string"},"company":{"name":"company","description":"Company Name","type":"string"},"zip":{"name":"zip","description":"Shipping address postal number","type":"string"}}},"stock_reserved":{"name":"stock_reserved","description":"Order dimension inventory reserve mark : true、flase","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax information","type":"array","items":{"type":"object","properties":{"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Buyer side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Sell side amount information","type":"object","properties":{"amount":{"name":"amount","description":"Amount, Precision 2","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"double"},"type":{"name":"type","description":"Tax fee type, used to distinguish between commodity tax and freight tax. The enumeration value is as follows product_tax: commodity tax shipping_tax: freight tax","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax ( store currency amount ) , accuracy 2","type":"string"}}}},"create_at":{"name":"create_at","description":"Create time , time stamp format","type":"long"},"customer":{"name":"customer","description":"Buyer information","type":"object","properties":{"area_code":{"name":"area_code","description":"Contact area id","type":"string"},"email":{"name":"email","description":"User mailbox","type":"string"},"first_name":{"name":"first_name","description":"User name","type":"string"},"id":{"name":"id","description":"User ID","type":"string"},"last_name":{"name":"last_name","description":"User's last name","type":"string"},"phone":{"name":"phone","description":"User mobile phone number","type":"string"}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/orders/draft_orders/:id/complete.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Complete draft order","version":"v20250601"},"authIndexes":["write_draft_orders"]},"bgBViePh":{"externalDocs":{"description":"Permission point used by the interface is `read_draft_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"bgBViePh","parameters":[{"name":"status","in":"query","description":"Status of draft orders (Valid input includes: open, completed)","style":"form","explode":true,"schema":{"name":"status","description":"Status of draft orders (Valid input includes: open, completed)","type":"string"}},{"name":"updated_at_max","in":"query","description":"Draft order update time: end (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"updated_at_max","description":"Draft order update time: end (see IOS8601 for the format)","type":"string"}},{"name":"updated_at_min","in":"query","description":"Draft order update time: start (see IOS8601 for the format)","style":"form","explode":true,"schema":{"name":"updated_at_min","description":"Draft order update time: start (see IOS8601 for the format)","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"name":"count","description":"The count of draft orders that satisfy the conditions specified by given input parameters","type":"long"}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/draft_orders/count.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Draft order quantity query","version":"v20220901"},"authIndexes":["read_draft_orders"]},"xAV3BmRs":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"xAV3BmRs","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"order_payment_list":{"name":"order_payment_list","description":"orderPaymentList","type":"array","items":{"name":"order_payment_list","description":"orderPaymentList","type":"object","properties":{"order_id":{"name":"order_id","description":"Order number","type":"string"},"payment_details":{"name":"payment_details","description":"Transaction extra fields","type":"object","properties":{"store_payment_name":{"name":"store_payment_name","description":"Merchant payment method name","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number","type":"string"},"store_payment_id":{"name":"store_payment_id","description":"Merchant payment method ID","type":"string"}},"required":["store_payment_id","store_payment_name"]},"processed_at":{"name":"processed_at","description":"Payment actual time , format : 2023-04-12T22 : 59 : 52+08 : 00","type":"string"},"status":{"name":"status","description":"Payment status unpaid (unpaid), paid (payment successful), paid_failed (payment failed)","type":"string"},"amount":{"name":"amount","description":"Payment amount","type":"double"},"create_at":{"name":"create_at","description":"Creation time (timestamp example: 1632638624)","type":"long"},"currency":{"name":"currency","description":"Currency","type":"string"},"gateway":{"name":"gateway","description":"Payment method, only support offline payment customPay","type":"string"}},"required":["amount","currency","gateway","order_id","status"]}}},"required":["order_payment_list"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"transaction_list":{"name":"transaction_list","description":"java.util.Random@7cfadf47","type":"array","items":{"name":"transaction_list","description":"java.util.Random@7cfadf47","type":"object","properties":{"amount":{"name":"amount","description":"Payment amount","type":"double"},"create_at":{"name":"create_at","description":"Creation time","type":"string"},"id":{"name":"id","description":"Payment slip number","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number","type":"string"},"status":{"name":"status","description":"Payment slip status","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/transactions.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create payment slip","version":"v20230901"},"authIndexes":["write_orders"]},"uOlgGTaP":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"uOlgGTaP","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"transactions":{"name":"transactions","description":"Payment slip information list , up to 100","type":"array","items":{"name":"transactions","description":"Payment slip information list , up to 100","type":"object","properties":{"amount":{"name":"amount","description":"Payment amount , only supports two decimals . payment success cannot be reduced","type":"double"},"currency":{"name":"currency","description":"Currency","type":"string"},"gateway":{"name":"gateway","description":"Payment method, only support offline payment customPay","type":"string"},"id":{"name":"id","description":"Payment slip number","type":"string"},"kind":{"name":"kind","description":"Currently only support sale , not passed down default to sale )","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"payment_details":{"name":"payment_details","description":"Additional field","type":"object","properties":{"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number","type":"string"}}},"status":{"name":"status","description":"Payment status unpaid ( not paid ) , paid ( paid success ) 、paid_failed ( paid failure )-payment success to state does not allow modification","type":"string"}},"required":["amount","currency","gateway","id","order_id","status"]}}},"required":["transactions"]}}},"required":true},"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"transaction_list":{"name":"transaction_list","description":"Payment slip listing","type":"array","items":{"name":"transaction_list","description":"Payment slip listing","type":"object","properties":{"create_at":{"name":"create_at","description":"Creation time","type":"string"},"id":{"name":"id","description":"Payment slip number","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"pay_channel_deal_id":{"name":"pay_channel_deal_id","description":"External channel payment serial number","type":"string"},"status":{"name":"status","description":"Payment status","type":"string"},"amount":{"name":"amount","description":"Payment amount","type":"double"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/update_transactions.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update payment slip","version":"v20210901"},"authIndexes":["write_orders"]},"HYsdSg3v":{"externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"HYsdSg3v","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"payment_settings":{"name":"payment_settings","description":"Store payment settings","type":"array","items":{"name":"payment_settings","description":"Store payment settings","type":"object","properties":{"shopline_payments_account_id":{"name":"shopline_payments_account_id","description":"Merchant id by SHOPLINE payments","type":"string"},"currency_code":{"name":"currency_code","description":"Store currency","type":"string"},"enabled_presentment_currencies":{"name":"enabled_presentment_currencies","description":"Supported currency listings","type":"array","items":{"name":"enabled_presentment_currencies","description":"Supported currency listings","type":"string"}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/checkouts/payment_settings.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query payment settings","version":"v20210901"},"authIndexes":["write_orders"]},"JYMd8SUv":{"externalDocs":{"description":"Permission point used by the interface is `read_store_information` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"JYMd8SUv","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"pay_channle_list":{"name":"pay_channle_list","description":"java.util.Random@4841a44d","type":"array","items":{"name":"pay_channle_list","description":"java.util.Random@4841a44d","type":"object","properties":{"channel_status":{"name":"channel_status","description":"channelStatus","type":"string"},"pay_channel_code":{"name":"pay_channel_code","description":"payChannelCode","type":"string"},"pay_channel_desc":{"name":"pay_channel_desc","description":"payChannelDesc","type":"string"},"pay_channel_id":{"name":"pay_channel_id","description":"payChannelId","type":"string"},"pay_channel_name":{"name":"pay_channel_name","description":"payChannelName","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/pay_channels.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query store payment channels","version":"v20210901"},"authIndexes":["read_store_information"]},"lZIf4Z4I":{"description":"Create a new FulfillmentService","externalDocs":{"description":"Permission point used by the interface is `write_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"lZIf4Z4I","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"name":"name","description":"Fulfillment service name","type":"string"}},"required":["name"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_service":{"name":"fulfillment_service","description":"Fulfillment service entity","type":"object","properties":{"id":{"name":"id","description":"Fulfillment service unique id","type":"string"},"location_id":{"name":"location_id","description":"Fulfillment service location unique id","type":"string"},"name":{"name":"name","description":"Fulfillment service name","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillment_service.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create fulfillment service","version":"v20240301"},"authIndexes":["write_fulfillment_service"]},"eYx21xXE":{"description":"Modify an existing FulfillmentService","externalDocs":{"description":"Permission point used by the interface is `write_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"eYx21xXE","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"name":"id","description":"Fulfillment service unique id","type":"string"},"name":{"name":"name","description":"Fulfillment service name","type":"string"}},"required":["id"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_service":{"name":"fulfillment_service","description":"Fulfillment service entity","type":"object","properties":{"location_id":{"name":"location_id","description":"Fulfillment service location unique id","type":"string"},"name":{"name":"name","description":"Fulfillment service name","type":"string"},"id":{"name":"id","description":"Fulfillment service unique id","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/fulfillment_service.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Modify fulfillment service","version":"v20240301"},"authIndexes":["write_fulfillment_service"]},"bBIzaBsv":{"description":"Remove an existing FulfillmentService","externalDocs":{"description":"Permission point used by the interface is `write_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"bBIzaBsv","parameters":[{"name":"id","in":"path","description":"Fulfillment service unique id","required":true,"style":"simple","schema":{"name":"id","description":"Fulfillment service unique id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/fulfillment_service/:id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Delete fulfillment service","version":"v20240301"},"authIndexes":["write_fulfillment_service"]},"usNyGpGE":{"description":"Query fulfillment service","externalDocs":{"description":"Permission point used by the interface is `read_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"usNyGpGE","parameters":[{"name":"id","in":"path","description":"Fulfillment service id","required":true,"style":"simple","schema":{"name":"id","description":"Fulfillment service id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_service":{"name":"fulfillment_service","description":"Fulfillment service entity","type":"object","properties":{"location_id":{"name":"location_id","description":"Id of fulfillment service location","type":"string"},"name":{"name":"name","description":"Fulfillment service name","type":"string"},"id":{"name":"id","description":"Fulfillment service id","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/fulfillment_service/:id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Fulfillment service details","version":"v20240301"},"authIndexes":["read_fulfillment_service"]},"LBtNrWNz":{"description":"Receive a list of all FulfillmentServices","externalDocs":{"description":"Permission point used by the interface is `read_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"LBtNrWNz","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_services":{"name":"fulfillment_services","description":"Fulfillment services entities","type":"array","items":{"name":"fulfillment_services","description":"Fulfillment services entities","type":"object","properties":{"location_id":{"name":"location_id","description":"Fulfillment service location unique id","type":"string"},"name":{"name":"name","description":"Fulfillment service name","type":"string"},"id":{"name":"id","description":"Fulfillment service unique id","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/fulfillment_service.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Fulfillment service list","version":"v20240301"},"authIndexes":["read_fulfillment_service"]},"EU4Xb0F7":{"tags":["Create a fulfillment service location"],"description":"Create a fulfillment service location.","externalDocs":{"description":"Permission point used by the interface is `write_fulfillment_service` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| PERMISSION_DENIED | 403 | You do not have permission to access. |\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n"},"operationId":"EU4Xb0F7","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"location":{"name":"location","description":"The information about the fulfillment service location.","type":"object","properties":{"address1":{"name":"address1","description":"The first line of the location. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the location. This typically includes information such as an apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city.","type":"string"},"city_code":{"name":"city_code","description":"The code for the city.","type":"string"},"country":{"name":"country","description":"The country or region.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1 (alpha 2)](https://www.iso.org/glossary-for-iso-3166.html) standard. ","type":"string"},"inventory_management":{"name":"inventory_management","description":"Whether the product inventory for the location is managed by the fulfillment app.\n- `true`: Managed by the fulfillment app. \n- `false`: Managed by the SHOPLINE Admin.\n\nDefault value: `true`","type":"boolean"},"name":{"name":"name","description":"The location's name.","type":"string"},"permits_sku_sharing":{"name":"permits_sku_sharing","description":"Whether the product inventory for the location is shared by other locations.\n- `true`: The product inventory for the location is shared by other locations.\n- `false`: The product inventory for the location is not shared by other locations.\n\nDefault value: `false`","type":"boolean"},"phone":{"name":"phone","description":"The merchant's phone number.","type":"string"},"phone_code":{"name":"phone_code","description":"The international dialing code for the phone number.","type":"string"},"province":{"name":"province","description":"The state or province.","type":"string"},"province_code":{"name":"province_code","description":"The code for the state or province.","type":"string"},"zip":{"name":"zip","description":"The postal code of the location.","type":"string"}},"required":["zip","country_code","name","phone"]}},"required":["location"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"location":{"name":"location","description":"The information about the fulfillment service location.","type":"object","properties":{"active":{"name":"active","description":"Whether the location is enabled.\n- `true`: Enabled\n- `false`: Not enabled","type":"boolean"},"address1":{"name":"address1","description":"The first line of the location. This typically includes information such as the street address or a post office box number.","type":"string"},"address2":{"name":"address2","description":"The second line of the location. This typically includes information such as an apartment, suite, or unit number.","type":"string"},"city":{"name":"city","description":"The city.","type":"string"},"city_code":{"name":"city_code","description":"The code for the city.","type":"string"},"country":{"name":"country","description":"The country or region.","type":"string"},"country_code":{"name":"country_code","description":"A two-letter country or region code that follows the [ISO 3166-1 (alpha 2)](https://www.iso.org/glossary-for-iso-3166.html) standard.","type":"string"},"create_at":{"name":"create_at","description":"The date and time when the location was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"The unique identifier for the location.","type":"string"},"inventory_management":{"name":"inventory_management","description":"Whether the product inventory for the location is managed by the fulfillment app.\n- `true`: Managed by the fulfillment app.\n- `false`: Managed by the SHOPLINE Admin.","type":"boolean"},"is_default":{"name":"is_default","description":"Whether the location is the default location.\n- `true`: The location is the default location.\n- `false`: The location is not the default location.","type":"boolean"},"legacy":{"name":"legacy","description":"Whether the location is exclusive to the fulfillment app.\n- `true`: The location is exclusive to the fulfillment app.\n- `false`: The location is not exclusive to the fulfillment app.","type":"boolean"},"name":{"name":"name","description":"The location's name.","type":"string"},"permits_sku_sharing":{"name":"permits_sku_sharing","description":"Whether the product inventory for the location is shared by other locations.\n- `true`: The product inventory for the location is shared by other locations.\n- ` false`: The product inventory for the location is not shared by other locations.","type":"boolean"},"phone":{"name":"phone","description":"The merchant's phone number.","type":"string"},"phone_code":{"name":"phone_code","description":"The international dialing code for the phone number.","type":"string"},"province":{"name":"province","description":"The state or province.","type":"string"},"province_code":{"name":"province_code","description":"The code for the state or province.","type":"string"},"update_at":{"name":"update_at","description":"The date and time when the location was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html). ","type":"string"},"zip":{"name":"zip","description":"The postal code of the location.","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillment_service_location/create.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create a fulfillment service location","version":"v20260901"},"authIndexes":["write_fulfillment_service"]},"MKlvTdMe":{"externalDocs":{"description":"Permission point used by the interface is `write_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"MKlvTdMe","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"service_discovery":{"name":"service_discovery","description":"Does the merchant be able to send virtual data through Shopline background carrier service to see the example of shipping","type":"boolean"},"callback_url":{"name":"callback_url","description":"Url required to request to calculate the shipping fee , must be the official network URL.","type":"string"},"name":{"name":"name","description":"The name of the shipping service that the merchant and their customers see .","type":"string"}},"required":["callback_url","name","service_discovery"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"carrier_service":{"name":"carrier_service","description":"Carrier service information","type":"object","properties":{"callback_url":{"name":"callback_url","description":"Url required to request to calculate the shipping fee , must be the official network URL.","type":"string"},"carrier_service_type":{"name":"carrier_service_type","description":"Use to distinguish api shipping and merchant shipping","type":"string"},"id":{"name":"id","description":"Id for carrier service","type":"string"},"name":{"name":"name","description":"Shipping service name","type":"string"},"service_discovery":{"name":"service_discovery","description":"Does the merchant be able to send virtual data through Shopline background carrier service to see the example of shipping","type":"boolean"},"active":{"name":"active","description":"Does the carrier service activate","type":"boolean"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/carrier_services.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create a new CarrierService","version":"v20220901"},"authIndexes":["write_shipping"]},"YAVakxMr":{"externalDocs":{"description":"Permission point used by the interface is `read_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"YAVakxMr","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"carrier_services":{"name":"carrier_services","description":"Carrier service information","type":"array","items":{"name":"carrier_services","description":"Carrier service information","type":"object","properties":{"active":{"name":"active","description":"Does the carrier service activate","type":"boolean"},"callback_url":{"name":"callback_url","description":"Url required to request to calculate the shipping fee , must be the official network URL.","type":"string"},"carrier_service_type":{"name":"carrier_service_type","description":"Use to distinguish api shipping and merchant shipping","type":"string"},"id":{"name":"id","description":"Id for carrier service","type":"string"},"name":{"name":"name","description":"Shipping service name","type":"string"},"service_discovery":{"name":"service_discovery","description":"Does the merchant be able to send virtual data through Shopline background carrier service to see the example of shipping","type":"boolean"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/carrier_services.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Receive a list of all CarrierServices","version":"v20220901"},"authIndexes":["read_shipping"]},"G7PjiRZP":{"externalDocs":{"description":"Permission point used by the interface is `read_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"G7PjiRZP","parameters":[{"name":"carrier_service_id","in":"path","description":"Id for carrier service","required":true,"style":"simple","schema":{"name":"carrier_service_id","description":"Id for carrier service","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"carrier_service":{"name":"carrier_service","description":"Carrier service information","type":"object","properties":{"carrier_service_type":{"name":"carrier_service_type","description":"Use to distinguish api shipping and merchant shipping","type":"string"},"id":{"name":"id","description":"Id for carrier service","type":"string"},"name":{"name":"name","description":"Shipping service name","type":"string"},"service_discovery":{"name":"service_discovery","description":"Does the merchant be able to send virtual data through Shopline background carrier service to see the example of shipping","type":"boolean"},"active":{"name":"active","description":"Does the carrier service activate","type":"boolean"},"callback_url":{"name":"callback_url","description":"Url required to request to calculate the shipping fee , must be the official network URL.","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/carrier_services/:carrier_service_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Receive a single CarrierService","version":"v20220901"},"authIndexes":["read_shipping"]},"cfzLJZps":{"externalDocs":{"description":"Permission point used by the interface is `write_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"cfzLJZps","parameters":[{"name":"carrier_service_id","in":"path","description":"Carrier service id","required":true,"style":"simple","schema":{"name":"carrier_service_id","description":"Carrier service id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"carrier_service":{"name":"carrier_service","description":"Carrier service information","type":"object","properties":{"active":{"name":"active","description":"Does the carrier service activate","type":"boolean"},"service_name":{"name":"service_name","description":"Shipping service name","type":"string"}}}}}}},"required":true},"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"carrier_service":{"name":"carrier_service","description":"Carrier service information","type":"object","properties":{"service_discovery":{"name":"service_discovery","description":"Does the merchant be able to send virtual data through Shopline background carrier service to see the example of shipping","type":"boolean"},"active":{"name":"active","description":"Does the carrier service activate","type":"boolean"},"callback_url":{"name":"callback_url","description":"Url required to request to calculate the shipping fee , must be the official network URL.","type":"string"},"carrier_service_type":{"name":"carrier_service_type","description":"Use to distinguish api shipping and merchant shipping","type":"string"},"id":{"name":"id","description":"Id for carrier service","type":"string"},"name":{"name":"name","description":"Shipping service name","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"put","path":"/carrier_services/:carrier_service_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Modify an existing CarrierService","version":"v20220901"},"authIndexes":["write_shipping"]},"lh0uu3Vx":{"externalDocs":{"description":"Permission point used by the interface is `write_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"lh0uu3Vx","parameters":[{"name":"carrier_service_id","in":"path","description":"Carrier service id","required":true,"style":"simple","schema":{"name":"carrier_service_id","description":"Carrier service id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{}}}},"security":[{"oauth2":[]}],"method":"delete","path":"/carrier_services/:carrier_service_id.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Remove an existing CarrierService","version":"v20220901"},"authIndexes":["write_shipping"]},"zKCgNSbL":{"tags":["Create a fulfillment based on an order"],"description":"Create a fulfillment based on a specific order. ","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| ORDER_IS_NULL | 422 | order not exist |\n| MULTI_EXPRESS_INFO_MAX_SIZE | 422 | A maximum of 10 tracking information can be added |\n| DELIVERY_QUANTITY_EXCEED | 422 | The quantity of the product shipped is greater than the quantity of the order |\n"},"operationId":"zKCgNSbL","parameters":[{"name":"order_id","in":"path","description":"The order ID.","required":true,"style":"simple","schema":{"name":"order_id","description":"The order ID.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"body position parameter","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Fulfillment information.","type":"object","properties":{"tracking_info_list":{"name":"tracking_info_list","description":"A list of tracking information. If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.\n\nMaximum size: 10","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"Logistics service provider. Refer to [Logistics company list](https://developer.shopline.com/docs/apps/api-instructions-for-use/references/logistics-company-list) for valid values. ","type":"string"},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"}}}},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.\n:::danger \t\n**DEPRECATED**:\nThis parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.\n:::danger \t\n**DEPRECATED**:This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"line_items":{"name":"line_items","description":"A list of order product snapshots.\n\nMaximum size: unlimited","type":"array","items":{"type":"object","properties":{"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"long"},"quantity":{"name":"quantity","description":"The quantity of products to be shipped.","type":"integer"}},"required":["quantity","id"]}},"notify_customer":{"name":"notify_customer","description":"Indicates whether to notify the customer when creating or updating a fulfillment. \n- `true`: Notify the customer by email. \n- `false`: Do not notify the customer. \n\nDefault value: `false`","type":"boolean"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider.\n:::danger\n**DEPRECATED**:\nThis parameter is deprecated from API version v20250601. Refer to `tracking_info_list`.\n:::\n","type":"string"}}}},"required":["fulfillment"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Fulfillment information.","type":"object","properties":{"created_at":{"name":"created_at","description":"The date and time when the fulfillment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Fulfillment ID.","type":"string"},"name":{"name":"name","description":"Fulfillment code.","type":"string"},"status":{"name":"status","description":"Fulfillment status:\n- `success`:shipment dispatched\n- `cancelled`:shipment has been canceled","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider.\n:::danger\n**DEPRECATED**:\nThis parameter is deprecated from API version v20250601. Refer to `tracking_info_list`.\n:::\n","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"A list of tracking information.","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"Logistics service provider.","type":"string"},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"}}}},"tracking_number":{"name":"tracking_number","description":"The delivery tracking number provided by the logistics service provider.\n:::danger \t\n**DEPRECATED**:This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"tracking_urls":{"name":"tracking_urls","description":"\nThe domain name of the logistics company.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"array","items":{"type":"string"}},"line_items":{"name":"line_items","description":"A list of line items for the fulfillment.","type":"array","items":{"type":"object","properties":{"version":{"name":"version","description":"The version of the product.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information.","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places.","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only.","type":"string"},"title":{"name":"title","description":"The title for the tax description, for display only.","type":"string"}}}},"quantity":{"name":"quantity","description":"The quantity ordered for this product.","type":"integer"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping:\n- `true`:Shipping is required\n- `false`:Shipping is not required","type":"boolean"},"taxable":{"name":"taxable","description":"Whether the product is subject to tax:\n- `true`:Tax is required\n- `false`:No tax is required","type":"boolean"},"total_discount":{"name":"total_discount","description":"The total discount amount, displayed in the store currency. The value is rounded to two decimal places. It includes promotional discounts, custom item discounts, membership discounts, and other discounts.","type":"string"},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"The quantity of the product shipped in this fulfillment.","type":"integer"},"grams":{"name":"grams","description":"The weight of the product in grams(g).","type":"double"},"name":{"name":"name","description":"SKU title, same as `title` .","type":"string"},"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places.","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The product price information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}}}},"product_id":{"name":"product_id","description":"SPU serial number.","type":"string"},"sku":{"name":"sku","description":"The product SKU. ","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/` .","type":"string"},"title":{"name":"title","description":"Product title.","type":"string"},"total_discount_set":{"name":"total_discount_set","description":"Discount amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places.","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard.","type":"string"},"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places.","type":"string"}}}}}}}},"order_id":{"name":"order_id","description":"Order number.","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"The delivery tracking number provided by the logistics service provider.\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"array","items":{"type":"string"}},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.\n:::danger\n**DEPRECATED:** This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"string"},"updated_at":{"name":"updated_at","description":"The date and time when the fulfillment was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"500":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"name":"errors","description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/:order_id/fulfillments.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create a fulfillment based on an order","version":"v20250601"},"authIndexes":["write_orders"]},"1GKGAglc":{"description":"Order shipment cancellation","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"1GKGAglc","parameters":[{"name":"fulfillment_id","in":"path","description":"Package id","required":true,"style":"simple","schema":{"name":"fulfillment_id","description":"Package id","type":"string"}},{"name":"order_id","in":"path","description":"Order number","required":true,"style":"simple","schema":{"name":"order_id","description":"Order number","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package information","type":"object","properties":{"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"tracking_number":{"name":"tracking_number","description":"Tracking number","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Tracking number array","type":"array","items":{"name":"tracking_numbers","description":"Tracking number array","type":"string"}},"name":{"name":"name","description":"Package","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL","type":"string"},"status":{"name":"status","description":"Package tracking","type":"string"},"created_at":{"name":"created_at","description":"Creation date","type":"string"},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking URL group","type":"array","items":{"name":"tracking_urls","description":"Logistics tracking URL group","type":"string"}},"order_id":{"name":"order_id","description":"Order number","type":"string"},"id":{"name":"id","description":"Package ID","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"line_items":{"name":"line_items","description":"Item group","type":"array","items":{"name":"line_items","description":"Item group","type":"object","properties":{"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax","type":"array","items":{"name":"tax_lines","description":"Tax","type":"object","properties":{"rate":{"name":"rate","description":"Tax rate","type":"string"},"title":{"name":"title","description":"Tax name","type":"string"},"price":{"name":"price","description":"Amount","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency amount","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Amount","type":"string"}}}}}}}},"quantity":{"name":"quantity","description":"Product quantity shipped","type":"integer"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"sku":{"name":"sku","description":"Product code","type":"string"},"grams":{"name":"grams","description":"Weight","type":"double"},"title":{"name":"title","description":"Product title","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency prices","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"total_discount_set":{"name":"total_discount_set","description":"Multi-currency discount","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"version":{"name":"version","description":"Product version","type":"string"},"variant_id":{"name":"variant_id","description":"Product variant ID","type":"string"},"product_id":{"name":"product_id","description":"Product ID","type":"string"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"Shipping quantity","type":"integer"},"id":{"name":"id","description":"Product ID","type":"string"},"total_discount":{"name":"total_discount","description":"Discount amount","type":"string"},"name":{"name":"name","description":"Product name","type":"string"},"price":{"name":"price","description":"Price","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant name","type":"string"}}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/:order_id/fulfillments/:fulfillment_id/cancel.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Cancel shipping","version":"v20230901"},"authIndexes":["write_orders"]},"hXEbkXwh":{"tags":["Update tracking number"],"description":"Update tracking number","externalDocs":{"description":"Permission point used by the interface is `write_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| PARAM_ILLEGAL | 422 | illegal param |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| ORDER_IS_NULL | 422 | order not exist |\n| MULTI_EXPRESS_INFO_MAX_SIZE | 422 | A maximum of 10 tracking information can be added |\n"},"operationId":"hXEbkXwh","parameters":[{"name":"fulfillment_id","in":"path","description":"Package ID","required":true,"style":"simple","schema":{"name":"fulfillment_id","description":"Package ID","type":"string"}},{"name":"order_id","in":"path","description":"Order number","required":true,"style":"simple","schema":{"name":"order_id","description":"Order number","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"body position parameter","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package information","type":"object","properties":{"tracking_info":{"name":"tracking_info","description":"Logistics information.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"object","properties":{"url":{"name":"url","description":"Logistics tracking URL","type":"string"},"company":{"name":"company","description":"Logistics companies","type":"string"},"number":{"name":"number","description":"Tracking number","type":"string"}}},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"type":"object","properties":{"tracking_number":{"name":"tracking_number","description":"Tracking number.","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider. Refer to [Logistics company list](https://developer.shopline.com/docs/apps/api-instructions-for-use/references/logistics-company-list) for valid values. ","type":"string"}}}}}}},"required":["fulfillment"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package information","type":"object","properties":{"tracking_number":{"name":"tracking_number","description":"Tracking number\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Tracking number array","type":"array","items":{"type":"string"}},"shipment_status":{"name":"shipment_status","description":"Package tracking","type":"string"},"status":{"name":"status","description":"Logistics delivery status, success-shipped; cancelled-cancelled;","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"The logistics service provider.","type":"string"},"tracking_number":{"name":"tracking_number","description":"The tracking number.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The URL for tracking the package.","type":"string"}}}},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking URL group","type":"array","items":{"type":"string"}},"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"created_at":{"name":"created_at","description":"Creation date","type":"string"},"id":{"name":"id","description":"Package ID","type":"string"},"line_items":{"name":"line_items","description":"Item group","type":"array","items":{"type":"object","properties":{"grams":{"name":"grams","description":"Weight","type":"double"},"name":{"name":"name","description":"Product name","type":"string"},"price":{"name":"price","description":"Price","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"title":{"name":"title","description":"Product title","type":"string"},"variant_id":{"name":"variant_id","description":"Product variant ID","type":"string"},"version":{"name":"version","description":"Product version","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency prices","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"quantity":{"name":"quantity","description":"Product quantity shipped","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"Amount","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency amount","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"string"},"title":{"name":"title","description":"Tax name","type":"string"}}}},"total_discount":{"name":"total_discount","description":"Discount amount","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available quantity","type":"integer"},"product_id":{"name":"product_id","description":"Product ID","type":"string"},"sku":{"name":"sku","description":"Product code","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant name","type":"string"},"id":{"name":"id","description":"Product ID","type":"string"},"total_discount_set":{"name":"total_discount_set","description":"Multi-currency discount","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Settlement currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store currency","type":"object","properties":{"amount":{"name":"amount","description":"Amount","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}}}}},"name":{"name":"name","description":"Package","type":"string"},"order_id":{"name":"order_id","description":"Order number","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information.\n:::","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/orders/:order_id/fulfillments/:fulfillment_id/update_tracking.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update tracking number","version":"v20250601"},"authIndexes":["write_orders"]},"yF523leW":{"externalDocs":{"description":"Permission point used by the interface is `read_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"yF523leW","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"locations":{"name":"locations","description":"Location","type":"array","items":{"name":"locations","description":"Location","type":"object","properties":{"zip":{"name":"zip","description":"Zip code","type":"string"},"town":{"name":"town","description":"Town / street","type":"string"},"district":{"name":"district","description":"District/County","type":"string"},"country":{"name":"country","description":"Country name","type":"string"},"city":{"name":"city","description":"City","type":"string"},"address1":{"name":"address1","description":"Street address","type":"string"},"active":{"name":"active","description":"Available or not","type":"boolean"},"province_code":{"name":"province_code","description":"Province , state or region code","type":"string"},"id":{"name":"id","description":"Location id","type":"string"},"address2":{"name":"address2","description":"Optional second line of street address","type":"string"},"created_at":{"name":"created_at","description":"Location created time","type":"string"},"is_default":{"name":"is_default","description":"Default location","type":"string"},"province":{"name":"province","description":"Province , state or region","type":"string"},"updated_at":{"name":"updated_at","description":"Location update time","type":"string"},"country_code":{"name":"country_code","description":"Country ( ISO 3166-1 alpha-2 )","type":"string"},"phone":{"name":"phone","description":"Phone number for location","type":"string"},"name":{"name":"name","description":"Location name","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/locations.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query inventory address","version":"v20220901"},"authIndexes":["read_shipping"]},"b4woIsld":{"description":"Get all local delivery info","externalDocs":{"description":"Permission point used by the interface is `read_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"b4woIsld","parameters":[{"name":"language","in":"query","description":"Language","style":"form","explode":true,"schema":{"name":"language","description":"Language","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"local_delivery_list":{"name":"local_delivery_list","description":"Local shipping list","type":"array","items":{"name":"local_delivery_list","description":"Local shipping list","type":"object","properties":{"local_delivery":{"name":"local_delivery","description":"Local shipping configuration","type":"object","properties":{"create_at":{"name":"create_at","description":"Creation time","type":"string"},"local_delivery_seq":{"name":"local_delivery_seq","description":"Local configuration id","type":"string"},"location_seq":{"name":"location_seq","description":"Address code","type":"string"},"plans":{"name":"plans","description":"Regional plan","type":"array","items":{"name":"plans","description":"Regional plan","type":"object","properties":{"store_id":{"name":"store_id","description":"store ID","type":"string"},"zips":{"name":"zips","description":"Postal code","type":"array","items":{"name":"zips","description":"Postal code","type":"string"}},"description":{"name":"description","description":"Local shipping description","type":"string"},"intervals":{"name":"intervals","description":"Conditions zones","type":"array","items":{"name":"intervals","description":"Conditions zones","type":"object","properties":{"order_amount_to":{"name":"order_amount_to","description":"The order amount is end range , the unit is divided , such as $ 100 , and the return is 10000","type":"long"},"delivery_amount":{"name":"delivery_amount","description":"The shipping amount , the unit is divided , such as $ 100 , the return is 10000","type":"long"},"order_amount_from":{"name":"order_amount_from","description":"The order amount starts in the range , the unit is divided , such as $ 100 , and the return is 10000","type":"long"}}}},"local_delivery_plan_seq":{"name":"local_delivery_plan_seq","description":"Local delivery program plan id","type":"string"},"local_delivery_seq":{"name":"local_delivery_seq","description":"Local shipping configuration id","type":"string"},"name":{"name":"name","description":"Name","type":"string"}}}},"store_id":{"name":"store_id","description":"store ID","type":"string"},"support":{"name":"support","description":"Support local delivery , true or not /false","type":"boolean"},"type":{"name":"type","description":"Local delivery type , 1- zip code","type":"integer"},"update_at":{"name":"update_at","description":"Update time","type":"string"}}},"location_address":{"name":"location_address","description":"Address information","type":"object","properties":{"province_code":{"name":"province_code","description":"Province code","type":"string"},"district":{"name":"district","description":"District","type":"string"},"address1":{"name":"address1","description":"Detailed address","type":"string"},"active":{"name":"active","description":"The address enables the status , and the current local delivery will only return the status activated address , that is , status is true","type":"boolean"},"district_code":{"name":"district_code","description":"District county code","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"province":{"name":"province","description":"Province","type":"string"},"city":{"name":"city","description":"City","type":"string"},"country":{"name":"country","description":"Country Name","type":"string"},"zip":{"name":"zip","description":"Postal code","type":"string"},"town":{"name":"town","description":"Street town name","type":"string"},"location_seq":{"name":"location_seq","description":"Address code","type":"string"},"create_at":{"name":"create_at","description":"Creation time","type":"string"},"city_code":{"name":"city_code","description":"City code","type":"string"},"update_at":{"name":"update_at","description":"Update time","type":"string"},"location_name":{"name":"location_name","description":"Address name","type":"string"},"priority":{"name":"priority","description":"Address priority","type":"integer"},"phone":{"name":"phone","description":"Phone number","type":"string"},"town_code":{"name":"town_code","description":"Street town","type":"string"},"address2":{"name":"address2","description":"Detailed address 2","type":"string"}}}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/local_delivery/list.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query all local shipping information","version":"v20220901"},"authIndexes":["read_shipping"]},"fTNRhC3M":{"description":"Get all Pickup info","externalDocs":{"description":"Permission point used by the interface is `read_shipping` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"fTNRhC3M","parameters":[{"name":"language","in":"query","description":"Language","style":"form","explode":true,"schema":{"name":"language","description":"Language","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"pickup_list":{"name":"pickup_list","description":"Pick up list at store","type":"array","items":{"name":"pickup_list","description":"Pick up list at store","type":"object","properties":{"pickup_info":{"name":"pickup_info","description":"Pick up configuration to store","type":"object","properties":{"pickup_seq":{"name":"pickup_seq","description":"Pick up configuration encoding","type":"string"},"store_id":{"name":"store_id","description":"store ID","type":"string"},"support":{"name":"support","description":"Support pick up in store or not","type":"boolean"},"update_at":{"name":"update_at","description":"Update time","type":"string"},"appointment_end":{"name":"appointment_end","description":"Appointment pickup time zone termination value , unit : minutes","type":"integer"},"appointment_start":{"name":"appointment_start","description":"Appointment pickup time zone starting value , unit : minutes","type":"integer"},"create_at":{"name":"create_at","description":"Creation time","type":"string"},"location_seq":{"name":"location_seq","description":"Location code","type":"string"}}},"location_address":{"name":"location_address","description":"Location information","type":"object","properties":{"active":{"name":"active","description":"Address status 0- deactivation 1- enable","type":"boolean"},"town":{"name":"town","description":"Street town name","type":"string"},"country":{"name":"country","description":"National name","type":"string"},"province_code":{"name":"province_code","description":"State province","type":"string"},"update_at":{"name":"update_at","description":"Update time","type":"string"},"district":{"name":"district","description":"District","type":"string"},"city":{"name":"city","description":"City name","type":"string"},"location_seq":{"name":"location_seq","description":"Location representation","type":"string"},"city_code":{"name":"city_code","description":"City code","type":"string"},"priority":{"name":"priority","description":"Address priority","type":"integer"},"phone":{"name":"phone","description":"Phone number","type":"string"},"district_code":{"name":"district_code","description":"District county code","type":"string"},"address2":{"name":"address2","description":"Detailed address 2","type":"string"},"location_name":{"name":"location_name","description":"Location name","type":"string"},"zip":{"name":"zip","description":"Postal code","type":"string"},"address1":{"name":"address1","description":"Detailed address","type":"string"},"create_at":{"name":"create_at","description":"Creation time","type":"string"},"province":{"name":"province","description":"State province name","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"town_code":{"name":"town_code","description":"Street town","type":"string"}}}}}}}}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/pickup/list.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query all pickup information","version":"v20220901"},"authIndexes":["read_shipping"]},"xVLmNhdq":{"externalDocs":{"description":"Permission point used by the interface is `read_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"xVLmNhdq","parameters":[{"name":"fulfillment_order_id","in":"path","description":"Performance order id","required":true,"style":"simple","schema":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillments":{"name":"fulfillments","description":"Package details","type":"array","items":{"name":"fulfillments","description":"Package details","type":"object","properties":{"order_id":{"name":"order_id","description":"Order id","type":"string"},"tracking_number":{"name":"tracking_number","description":"Third party tracking number","type":"string"},"status":{"name":"status","description":"Parcel single status","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL","type":"string"},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking url list","type":"array","items":{"name":"tracking_urls","description":"Logistics tracking url list","type":"string"}},"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"created_at":{"name":"created_at","description":"Creation time","type":"string"},"id":{"name":"id","description":"Parcel single id","type":"string"},"shipment_status":{"name":"shipment_status","description":"Logistics status","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"array","items":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"string"}},"line_items":{"name":"line_items","description":"Package Product","type":"array","items":{"name":"line_items","description":"Package Product","type":"object","properties":{"price_set":{"name":"price_set","description":"Item price information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"name":{"name":"name","description":"Sku title","type":"string"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"Shipping quantity","type":"integer"},"total_discount_set":{"name":"total_discount_set","description":"Great price information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"variant_title":{"name":"variant_title","description":"Product attribute value","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining quantity can be shipped","type":"integer"},"fulfillment_status":{"name":"fulfillment_status","description":"Package tracking","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"quantity":{"name":"quantity","description":"Sku quantity","type":"integer"},"price":{"name":"price","description":"Item price","type":"string"},"total_discount":{"name":"total_discount","description":"Discount","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"sku":{"name":"sku","description":"Product barcode","type":"string"},"properties":{"name":"properties","description":"Additional information","type":"array","items":{"name":"properties","description":"Additional information","type":"object","properties":{"value":{"name":"value","description":"Custom attribute values","type":"string"},"additional":{"name":"additional","description":"Additional information","type":"string"},"name":{"name":"name","description":"Custom attribute name","type":"string"},"type":{"name":"type","description":"Attribute type","type":"string"},"urls":{"name":"urls","description":"Url list","type":"array","items":{"name":"urls","description":"Url list","type":"string"}}}}},"product_id":{"name":"product_id","description":"Product serial number","type":"string"},"title":{"name":"title","description":"Product title","type":"string"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"version":{"name":"version","description":"Product version","type":"string"},"variant_id":{"name":"variant_id","description":"Sku serial number","type":"string"},"grams":{"name":"grams","description":"Weight","type":"double"},"id":{"name":"id","description":"id","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax item","type":"array","items":{"name":"tax_lines","description":"Tax item","type":"object","properties":{"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Total","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Total","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"string"},"title":{"name":"title","description":"Tax title","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax","type":"string"}}}}}}},"name":{"name":"name","description":"Package name","type":"string"}}}}}}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/fulfillment_orders/:order_id/:fulfillment_order_id/fulfillments.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get all fulfillments for the fulfillment order","version":"v20230901"},"authIndexes":["read_assigned_fulfillment_orders"]},"mDkb8ym8":{"tags":["Query all fulfillments for an order"],"description":"Retrieve all fulfillments for a specific order. ","externalDocs":{"description":"Permission point used by the interface is `read_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| BUSINESS_ERROR | 501 | A general business failure occurred. |\n| INTERNAL_ERROR | 500 | An internal error occured. |\n| INVALID_ACCESS | 401 | The access was denied due to invalid credentials or permissions. |\n| SUCCESS | 200 | request success |\n"},"operationId":"mDkb8ym8","parameters":[{"name":"order_id","in":"path","description":"The unique identifier for the order.\n\nMaximum length: 26","required":true,"style":"simple","schema":{"name":"order_id","description":"The unique identifier for the order.\n\nMaximum length: 26","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"fulfillments":{"name":"fulfillments","description":"A list of fulfillments.","type":"array","items":{"type":"object","properties":{"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking domain name list.\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20250301.\n:::","type":"array","items":{"type":"string"}},"line_items":{"name":"line_items","description":"A list of product lines for the fulfillment. ","type":"array","items":{"type":"object","properties":{"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining fulfillable quantity of products at the product line level.","type":"integer"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"The quantity of products that are actually shipped. ","type":"integer"},"id":{"name":"id","description":"A system-generated unique identifier for this product snapshot.","type":"string"},"quantity":{"name":"quantity","description":"The number of product SKUs.","type":"integer"},"total_discount_set":{"name":"total_discount_set","description":"The total product discount, displayed in both the store's currency and the buyer's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discounted price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"Discount amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Discount amount currency. The value of this parameter is a three-letter currency code that follows the[ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discounted price information presented to the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"Discount amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Discount amount currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"price_set":{"name":"price_set","description":"The product price, displayed in both the store's currency and the buyer's currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The order price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"Product amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Order currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.\n","type":"string"}}},"shop_money":{"name":"shop_money","description":"The order price information presented to the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"Product amount. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Order currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}}}},"sku":{"name":"sku","description":"Product barcode.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"The tax amount. The actual tax collected on the product is based on this field value. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount,displayed in both the buyer's currency and the store's currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The tax information presented to the merchant. ","type":"object","properties":{"amount":{"name":"amount","description":"The total amount of tax associated with this order for the merchant. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Tax currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The tax information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The total amount of tax applied to the buyer's order. The value is rounded to two decimal places. For example, `88.98`.","type":"string"},"currency_code":{"name":"currency_code","description":"Tax currency. The value of this parameter is a three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, `USD`.\n","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only. ","type":"string"},"title":{"name":"title","description":"The tax description title, for display only. ","type":"string"},"name":{"name":"name","description":"Tax name.","type":"string"}}}},"taxable":{"name":"taxable","description":"Indicates whether the product is subject to tax. \n\n- `true`: Tax is required.\n- `false`: No tax is required.","type":"boolean"},"variant_id":{"name":"variant_id","description":"Unique variant identifier (SKU).\n\nMaximum length:64","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"version":{"name":"version","description":"Product version.","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"The fulfillment status. Valid values are: \n- `unshipped`: not shipped\n- `partial`: partially shipped\n- `shipped`: shipped","type":"string"},"grams":{"name":"grams","description":"Total product weight, unit: g.","type":"double"},"product_id":{"name":"product_id","description":"The unique identifier for the product. ","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether this product needs to be physically shipped to the customer. \n\n- `true`: The product requires shipping.\n- `false`: The product does not require shipping.","type":"boolean"},"title":{"name":"title","description":"The product title, used for display to the buyer. \n\nMaximum length: 255","type":"string"},"total_discount":{"name":"total_discount","description":"Total discounted price.","type":"string"},"variant_title":{"name":"variant_title","description":"Product attribute value.","type":"string"},"name":{"name":"name","description":"The title of the product variant.","type":"string"},"price":{"name":"price","description":"Item price.","type":"string"},"properties":{"name":"properties","description":"Additional information details.","type":"array","items":{"type":"object","properties":{"additional":{"name":"additional","description":"Additional information.","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"type":{"name":"type","description":"Property type. Valid values are:\n- `text`:text type\n- `picture`:picture type\n- `link`:link type","type":"string"},"urls":{"name":"urls","description":"List of product domain names.","type":"array","items":{"type":"string"}},"value":{"name":"value","description":"Custom attribute values.","type":"string"}}}}}}},"order_id":{"name":"order_id","description":"The unique identifier for the order.\n\nMaximum length: 26\n\nExample:`21057401932826316666967110`","type":"string"},"shipment_status":{"name":"shipment_status","description":"Product delivery status. Valid values are:\n- `out_for_delivery`: out for delivery\n- `delivered`: delivered\n- `faliure`: delivery failed\n- `picked_up`: picked up","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"List of logistics tracking numbers.\n:::danger\n**DEPRECATED**:This parameter is deprecated from API version v20250301.\n:::","type":"array","items":{"type":"string"}},"updated_at":{"name":"updated_at","description":"The date and time when the logistics information was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample:`2021-08-31T02:20:26+08:00`","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the fulfillment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).\n\nExample: `2021-08-31T02:20:26+08:00`","type":"string"},"id":{"name":"id","description":"The fulfillment ID.","type":"string"},"name":{"name":"name","description":"Package name.","type":"string"},"status":{"name":"status","description":"Shipping status of the order package. Valid values are:\n- `success`: shipment successful\n- `cancelled`: shipment has been canceled","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters tracking_url, tracking_number, and tracking_company will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"The logistics service provider.","type":"string"},"tracking_number":{"name":"tracking_number","description":"The tracking number.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The URL for tracking the package.","type":"string"}}}},"tracking_number":{"name":"tracking_number","description":"Third party tracking number.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/:order_id/fulfillments.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query all fulfillments for an order","version":"v20250601"},"authIndexes":["read_assigned_fulfillment_orders"]},"g8mOo8rZ":{"description":"Create an fulfillment for the fulfillment order ( single or batch )","externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| UNAUTHORIZED_ACCESS | 422 | unauthorized access |\n| MULTI_EXPRESS_INFOS_MAX_SIZE | 422 | A maximum of 10 tracking information can be added. |\n"},"operationId":"g8mOo8rZ","parameters":[{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Parcel single logistics information","type":"object","properties":{"notify_customer":{"name":"notify_customer","description":"Notify consumers or not","type":"boolean"},"tracking_info":{"name":"tracking_info","description":"Logistics information.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list`. \n:::","type":"object","properties":{"company":{"name":"company","description":"Logistics company","type":"string"},"number":{"name":"number","description":"Logistics single number","type":"string"},"url":{"name":"url","description":"Track links","type":"string"}}},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters `tracking_url`, `tracking_number`, and `tracking_company` will be ignored.Maximum of 10 tracking infos allowed.","type":"object","properties":{"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name.","type":"string"},"tracking_number":{"name":"tracking_number","description":"Tracking number.","type":"string"}}}},"line_items_by_fulfillment_order":{"name":"line_items_by_fulfillment_order","description":"List of order number","type":"array","items":{"name":"line_items_by_fulfillment_order","description":"List of order number","type":"object","properties":{"fulfillment_order_id":{"name":"fulfillment_order_id","description":"Order number","type":"string"},"fulfillment_order_line_items":{"name":"fulfillment_order_line_items","description":"Performance order Product line","type":"array","items":{"name":"fulfillment_order_line_items","description":"Performance order Product line","type":"object","properties":{"id":{"name":"id","description":"Order for sale Product line id","type":"string"},"quantity":{"name":"quantity","description":"Shipping quantity","type":"integer"}},"required":["id","quantity"]}}},"required":["fulfillment_order_id"]}},"message":{"name":"message","description":"Notification information","type":"string"}},"required":["line_items_by_fulfillment_order"]},"order_id":{"name":"order_id","description":"Order id","type":"string"}},"required":["fulfillment","order_id"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package details","type":"object","properties":{"line_items":{"name":"line_items","description":"Package Product","type":"array","items":{"name":"line_items","description":"Package Product","type":"object","properties":{"name":{"name":"name","description":"Sku title","type":"string"},"title":{"name":"title","description":"Product title","type":"string"},"total_discount":{"name":"total_discount","description":"Discount","type":"string"},"total_discount_set":{"name":"total_discount_set","description":"Great price information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Total","type":"string"}}}}},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"product_id":{"name":"product_id","description":"Product serial number","type":"string"},"properties":{"name":"properties","description":"Additional information","type":"array","items":{"name":"properties","description":"Additional information","type":"object","properties":{"type":{"name":"type","description":"Attribute type","type":"string"},"urls":{"name":"urls","description":"Url list","type":"array","items":{"name":"urls","description":"Url list","type":"string"}},"value":{"name":"value","description":"Custom attribute values","type":"string"},"additional":{"name":"additional","description":"Additional information","type":"string"},"name":{"name":"name","description":"Custom attribute name","type":"string"}}}},"version":{"name":"version","description":"Product version","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"fulfillment_status":{"name":"fulfillment_status","description":"Package tracking","type":"string"},"price":{"name":"price","description":"Item price","type":"string"},"price_set":{"name":"price_set","description":"Item price information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Total","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"id":{"name":"id","description":"id","type":"string"},"sku":{"name":"sku","description":"Product barcode","type":"string"},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"Shipping quantity","type":"integer"},"tax_lines":{"name":"tax_lines","description":"Tax item","type":"array","items":{"name":"tax_lines","description":"Tax item","type":"object","properties":{"price":{"name":"price","description":"Tax","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"string"},"title":{"name":"title","description":"Tax title","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"}}}},"variant_title":{"name":"variant_title","description":"Product attribute value","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining quantity can be shipped","type":"integer"},"grams":{"name":"grams","description":"Weight","type":"double"},"quantity":{"name":"quantity","description":"Sku quantity","type":"integer"},"variant_id":{"name":"variant_id","description":"Sku serial number","type":"string"}}}},"location_id":{"name":"location_id","description":"Location id","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters tracking_url, tracking_number, and tracking_company will be ignored.Maximum of 10 tracking infos allowed.","type":"array","items":{"name":"tracking_info_list","description":"If this parameter is specified, the individual parameters tracking_url, tracking_number, and tracking_company will be ignored.Maximum of 10 tracking infos allowed.","type":"object","properties":{"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"tracking_number":{"name":"tracking_number","description":"Third party tracking number","type":"string"}}}},"name":{"name":"name","description":"Package name","type":"string"},"shipment_status":{"name":"shipment_status","description":"Logistics status","type":"string"},"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"id":{"name":"id","description":"Parcel single id","type":"string"},"order_id":{"name":"order_id","description":"Order id","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"array","items":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"string"}},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking url list","type":"array","items":{"name":"tracking_urls","description":"Logistics tracking url list","type":"string"}},"status":{"name":"status","description":"Parcel single status","type":"string"},"tracking_number":{"name":"tracking_number","description":"Third party tracking number.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"created_at":{"name":"created_at","description":"Creation time","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillments/fulfillments.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Create an fulfillment for the fulfillment order ( single or batch )","version":"v20250601"},"authIndexes":["write_assigned_fulfillment_orders"]},"kOVO8B8b":{"tags":["Update tracking information"],"description":"Update tracking information for a specific fulfillment. ","externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":"| Error Code | HTTP Status Code | Error Description |\n|------------|------------------|-------------------|\n| SUCCESS | 200 | request success |\n| SYSTEM_ERROR | 500 | system error |\n| ILLEGAL_PARAMS | 422 | illegal param |\n| UNAUTHORIZED_ACCESS | 422 | unauthorized access |\n| MULTI_EXPRESS_INFOS_MAX_SIZE | 422 | A maximum of 10 tracking information can be added. |\n"},"operationId":"kOVO8B8b","parameters":[{"name":"fulfillment_id","in":"path","description":"Fulfillment ID.","required":true,"style":"simple","schema":{"name":"fulfillment_id","description":"Fulfillment ID.","type":"string"}},{"name":"order_id","in":"path","description":"Order ID.","required":true,"style":"simple","schema":{"name":"order_id","description":"Order ID.","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"name":"body","description":"body position parameter","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Fulfillment information.","type":"object","properties":{"notify_customer":{"name":"notify_customer","description":"Indicates whether to notify the customer when creating or updating a fulfillment:\n- `true`: Notify the customer by email.\n- `false`: Do not notify the customer.\n\nDefault value: `false`","type":"boolean"},"tracking_info":{"name":"tracking_info","description":"Logistics tracking information.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"object","properties":{"company":{"name":"company","description":"Logistics service provider.","type":"string"},"number":{"name":"number","description":"The tracking number provided by the logistics service provider.","type":"string"},"url":{"name":"url","description":"The domain name of the logistics company.","type":"string"}},"required":["number"]},"tracking_info_list":{"name":"tracking_info_list","description":"A list of logistics tracking information.The API performs an overwrite update. Any parameters not provided will be cleared. \n\nMaximum size: 10","type":"array","items":{"type":"object","properties":{"tracking_number":{"name":"tracking_number","description":"The tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics service provider. Refer to [Logistics company list](https://developer.shopline.com/docs/apps/api-instructions-for-use/references/logistics-company-list) for valid values. ","type":"string"}},"required":["tracking_number"]}}}}},"required":["fulfillment"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"name":"body","type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Fulfillment details.","type":"object","properties":{"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"line_items":{"name":"line_items","description":"A list of products in the fulfillment.","type":"array","items":{"type":"object","properties":{"price":{"name":"price","description":"The product price in store currency. The value is rounded to two decimal places. ","type":"string"},"requires_shipping":{"name":"requires_shipping","description":"Indicates whether the product is subject to shipping.\n- `true`:Shipping is required.\n- `false`:Shipping is not required.","type":"boolean"},"sku":{"name":"sku","description":"Product SKU serial number.","type":"string"},"title":{"name":"title","description":"Product title.","type":"string"},"variant_title":{"name":"variant_title","description":"Product variant value. Multiple values are separated by `/`.","type":"string"},"vendor":{"name":"vendor","description":"Supplier.","type":"string"},"version":{"name":"version","description":"The version of the product.","type":"string"},"price_set":{"name":"price_set","description":"The product price, displayed in both the store currency and the buyer currency.","type":"object","properties":{"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"The product price information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The product price. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"variant_id":{"name":"variant_id","description":"The unique identifier for the variant.","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"The remaining quantity of the product that can be shipped.","type":"integer"},"id":{"name":"id","description":"The ID of the line item snapshot table, generated by the system. Combined with the order ID, it uniquely identifies a line item.","type":"string"},"tax_lines":{"name":"tax_lines","description":"A list of tax information. ","type":"array","items":{"type":"object","properties":{"name":{"name":"name","description":"Tax name.","type":"string"},"price":{"name":"price","description":"Tax in store currency. The value is rounded to two decimal places. ","type":"string"},"price_set":{"name":"price_set","description":"The tax amount, displayed in both the buyer currency and the store currency.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The tax amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The tax amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The tax amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}},"rate":{"name":"rate","description":"The tax rate, for display only. ","type":"string"},"title":{"name":"title","description":"The title for the tax description, for display only. ","type":"string"}}}},"taxable":{"name":"taxable","description":"Whether the product is subject to tax.\n- `true`: Tax is required. \n- `false`: No tax is required.","type":"boolean"},"fulfillment_status":{"name":"fulfillment_status","description":"The fulfillment status. Valid values are:\n- `unshipped`: not shipped\n- `partial`: partially shipped\n- `shipped`: shipped","type":"string"},"grams":{"name":"grams","description":"The weight of the product in grams(g).","type":"double"},"name":{"name":"name","description":"SKU title, same as `title`.","type":"string"},"product_id":{"name":"product_id","description":"The unique identifier for the product corresponding to the variant.","type":"string"},"properties":{"name":"properties","description":"A list of product customization information. ","type":"array","items":{"type":"object","properties":{"value":{"name":"value","description":"Custom attribute value.","type":"string"},"additional":{"name":"additional","description":"Additional custom fields for products. For example, if `type` is `text`, `additional` can include attributes such as font size, font style, and color. ","type":"string"},"name":{"name":"name","description":"Custom attribute name.","type":"string"},"type":{"name":"type","description":"Custom information type. Valid values are:\n- `text`: text type\n- `picture`: picture type\n- `link`: hyperlink type","type":"string"},"urls":{"name":"urls","description":"URL list. \nIf `type` is `picture`, thumbnails are retrieved via the `urls` values. \nIf `type` is `link`, the hyperlink is the first URL in the `urls` values.","type":"array","items":{"type":"string"}}}}},"quantity":{"name":"quantity","description":"Quantity of items in the order.","type":"integer"},"total_discount":{"name":"total_discount","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. The amount is rounded to two decimal places and displayed in the store currency.","type":"string"},"total_discount_set":{"name":"total_discount_set","description":"The total order discount, calculated as the sum of marketing discounts and custom discounts. This field contains amounts displayed in both the buyer and store currencies.","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"The discount amount information presented to the buyer. ","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}},"shop_money":{"name":"shop_money","description":"The discount amount information recorded by the merchant.","type":"object","properties":{"amount":{"name":"amount","description":"The discount amount. The value is rounded to two decimal places. ","type":"string"},"currency_code":{"name":"currency_code","description":"A three-letter currency code that follows the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. ","type":"string"}}}}}}}},"shipment_status":{"name":"shipment_status","description":"Fulfillment shipping status. Valid values are:\n- `label_printed`: Shipping labels have been printed.\n- `label_purchased`: Shipping labels have been purchased.\n- `attempted_delivery`: Indicates that the courier attempted to deliver the package but was unsuccessful.\n- `ready_for_pickup`: Waiting for the logistics company to pick up the package.\n- `picked_up`: Logistics company has picked up the package.\n- `confirmed`: The order has been confirmed by the logistics company.\n- `in_transit`: Package is in transit.\n- `out_for_delivery`: Package has arrived at the destination area and is being delivered.\n- `delivered`: Package has been delivered.\n- `failure`: For some reason, package delivery failed.","type":"string"},"status":{"name":"status","description":"Fulfillment status. Valid values are:\n- `success`: shipment dispatched\n- `cancelled`: shipment has been canceled\n","type":"string"},"tracking_info_list":{"name":"tracking_info_list","description":"A list of fulfillment information.","type":"array","items":{"type":"object","properties":{"tracking_company":{"name":"tracking_company","description":"Logistics service provider.","type":"string"},"tracking_number":{"name":"tracking_number","description":"The tracking number provided by the logistics service provider.","type":"string"},"tracking_url":{"name":"tracking_url","description":"The domain name of the logistics company.","type":"string"}}}},"tracking_numbers":{"name":"tracking_numbers","description":"A list of tracking numbers provided by the logistics service provider.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"array","items":{"type":"string"}},"tracking_urls":{"name":"tracking_urls","description":"A list of domain names of the logistics company.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"array","items":{"type":"string"}},"updated_at":{"name":"updated_at","description":"The date and time when the fulfillment was updated. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"created_at":{"name":"created_at","description":"The date and time when the fulfillment was created. Format: [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).","type":"string"},"id":{"name":"id","description":"Fulfillment ID.","type":"string"},"name":{"name":"name","description":"Package code. ","type":"string"},"order_id":{"name":"order_id","description":"Order ID.","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"},"tracking_number":{"name":"tracking_number","description":"Third party tracking number.\n:::danger\n**DEPRECATED**: This parameter is deprecated from API version v20250601. Refer to `tracking_info_list` for related information. \n:::","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillments/:order_id/:fulfillment_id/update_tracking.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update tracking information","version":"v20250601"},"authIndexes":["write_assigned_fulfillment_orders"]},"f6VCtPNf":{"externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"f6VCtPNf","parameters":[{"name":"fulfillment_id","in":"path","description":"Package id","required":true,"style":"simple","schema":{"name":"fulfillment_id","description":"Package id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package details","type":"object","properties":{"order_id":{"name":"order_id","description":"Order id","type":"string"},"status":{"name":"status","description":"Parcel single status","type":"string"},"updated_at":{"name":"updated_at","description":"Update time","type":"string"},"created_at":{"name":"created_at","description":"Creation time","type":"string"},"tracking_number":{"name":"tracking_number","description":"Third party tracking number","type":"string"},"name":{"name":"name","description":"Package name","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"array","items":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"string"}},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking url list","type":"array","items":{"name":"tracking_urls","description":"Logistics tracking url list","type":"string"}},"line_items":{"name":"line_items","description":"Package Product","type":"array","items":{"name":"line_items","description":"Package Product","type":"object","properties":{"fulfillment_quantity":{"name":"fulfillment_quantity","description":"Shipping quantity","type":"integer"},"price_set":{"name":"price_set","description":"Item price information","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"currency_code":{"name":"currency_code","description":"Currency","type":"string"},"amount":{"name":"amount","description":"Total","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"sku":{"name":"sku","description":"Product barcode","type":"string"},"total_discount_set":{"name":"total_discount_set","description":"Great price information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"properties":{"name":"properties","description":"Additional information","type":"array","items":{"name":"properties","description":"Additional information","type":"object","properties":{"additional":{"name":"additional","description":"Additional information","type":"string"},"name":{"name":"name","description":"Custom attribute name","type":"string"},"type":{"name":"type","description":"Attribute type","type":"string"},"urls":{"name":"urls","description":"Url list","type":"array","items":{"name":"urls","description":"Url list","type":"string"}},"value":{"name":"value","description":"Custom attribute values","type":"string"}}}},"id":{"name":"id","description":"id","type":"string"},"variant_id":{"name":"variant_id","description":"Sku serial number","type":"string"},"quantity":{"name":"quantity","description":"Sku quantity","type":"integer"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining quantity can be shipped","type":"integer"},"name":{"name":"name","description":"Sku title","type":"string"},"price":{"name":"price","description":"Item price","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"total_discount":{"name":"total_discount","description":"Discount","type":"string"},"title":{"name":"title","description":"Product title","type":"string"},"version":{"name":"version","description":"Product version","type":"string"},"variant_title":{"name":"variant_title","description":"Product attribute value","type":"string"},"product_id":{"name":"product_id","description":"Product serial number","type":"string"},"grams":{"name":"grams","description":"Weight","type":"double"},"fulfillment_status":{"name":"fulfillment_status","description":"Package tracking","type":"string"},"tax_lines":{"name":"tax_lines","description":"Tax item","type":"array","items":{"name":"tax_lines","description":"Tax item","type":"object","properties":{"title":{"name":"title","description":"Tax title","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"rate":{"name":"rate","description":"Tax rate","type":"string"}}}}}}},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL","type":"string"},"shipment_status":{"name":"shipment_status","description":"Logistics status","type":"string"},"id":{"name":"id","description":"Parcel single id","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillments/:order_id/:fulfillment_id/cancel.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Cancel fulfillment","version":"v20230901"},"authIndexes":["write_assigned_fulfillment_orders"]},"nsolhVEd":{"externalDocs":{"description":"Permission point used by the interface is `read_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"nsolhVEd","parameters":[{"name":"fulfillment_id","in":"path","description":"Package id","required":true,"style":"simple","schema":{"name":"fulfillment_id","description":"Package id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment":{"name":"fulfillment","description":"Package details","type":"object","properties":{"id":{"name":"id","description":"Parcel single id","type":"string"},"tracking_url":{"name":"tracking_url","description":"Logistics tracking URL","type":"string"},"line_items":{"name":"line_items","description":"Package Product","type":"array","items":{"name":"line_items","description":"Package Product","type":"object","properties":{"version":{"name":"version","description":"Product version","type":"string"},"vendor":{"name":"vendor","description":"Supplier","type":"string"},"quantity":{"name":"quantity","description":"Sku quantity","type":"integer"},"total_discount_set":{"name":"total_discount_set","description":"Great price information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"name":{"name":"name","description":"Sku title","type":"string"},"properties":{"name":"properties","description":"Additional information","type":"array","items":{"name":"properties","description":"Additional information","type":"object","properties":{"name":{"name":"name","description":"Custom attribute name","type":"string"},"type":{"name":"type","description":"Attribute type","type":"string"},"urls":{"name":"urls","description":"Url list","type":"array","items":{"name":"urls","description":"Url list","type":"string"}},"value":{"name":"value","description":"Custom attribute values","type":"string"},"additional":{"name":"additional","description":"Additional information","type":"string"}}}},"variant_title":{"name":"variant_title","description":"Product attribute value","type":"string"},"variant_id":{"name":"variant_id","description":"Sku serial number","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Remaining quantity can be shipped","type":"integer"},"price_set":{"name":"price_set","description":"Item price information","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}},"title":{"name":"title","description":"Product title","type":"string"},"grams":{"name":"grams","description":"Weight","type":"double"},"product_id":{"name":"product_id","description":"Product serial number","type":"string"},"total_discount":{"name":"total_discount","description":"Discount","type":"string"},"fulfillment_status":{"name":"fulfillment_status","description":"Package tracking","type":"string"},"id":{"name":"id","description":"id","type":"string"},"taxable":{"name":"taxable","description":"Tax or not?","type":"boolean"},"tax_lines":{"name":"tax_lines","description":"Tax item","type":"array","items":{"name":"tax_lines","description":"Tax item","type":"object","properties":{"rate":{"name":"rate","description":"Tax rate","type":"string"},"title":{"name":"title","description":"Tax title","type":"string"},"name":{"name":"name","description":"Tax name","type":"string"},"price":{"name":"price","description":"Tax","type":"string"},"price_set":{"name":"price_set","description":"Multi-currency information of tax","type":"object","properties":{"presentment_money":{"name":"presentment_money","description":"Price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}},"shop_money":{"name":"shop_money","description":"Store price","type":"object","properties":{"amount":{"name":"amount","description":"Total","type":"string"},"currency_code":{"name":"currency_code","description":"Currency","type":"string"}}}}}}}},"fulfillment_quantity":{"name":"fulfillment_quantity","description":"Shipping quantity","type":"integer"},"requires_shipping":{"name":"requires_shipping","description":"Shipping or not","type":"boolean"},"price":{"name":"price","description":"Item price","type":"string"},"sku":{"name":"sku","description":"Product barcode","type":"string"}}}},"name":{"name":"name","description":"Package name","type":"string"},"order_id":{"name":"order_id","description":"Order id","type":"string"},"created_at":{"name":"created_at","description":"Creation time","type":"string"},"status":{"name":"status","description":"Parcel single status","type":"string"},"tracking_numbers":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"array","items":{"name":"tracking_numbers","description":"Third party logistics single number list","type":"string"}},"tracking_urls":{"name":"tracking_urls","description":"Logistics tracking url list","type":"array","items":{"name":"tracking_urls","description":"Logistics tracking url list","type":"string"}},"tracking_number":{"name":"tracking_number","description":"Third party tracking number","type":"string"},"tracking_company":{"name":"tracking_company","description":"Logistics company name","type":"string"},"shipment_status":{"name":"shipment_status","description":"Logistics status","type":"string"},"updated_at":{"name":"updated_at","description":"Update time","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/:order_id/:fulfillment_id/fulfillments.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Get specify fulfillment under fulfillment order","version":"v20230901"},"authIndexes":["read_assigned_fulfillment_orders"]},"dOqObIxq":{"externalDocs":{"description":"Permission point used by the interface is `read_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"dOqObIxq","parameters":[{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"name":"count","description":"Number of invoice orders placed","type":"integer"}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"get","path":"/orders/:order_id/fulfillments/count.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Query number of fulfillment","version":"v20220901"},"authIndexes":["read_assigned_fulfillment_orders"]},"rMQt61XZ":{"externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"rMQt61XZ","parameters":[{"name":"fulfillment_order_id","in":"path","description":"Performance order id","required":true,"style":"simple","schema":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_order":{"name":"fulfillment_order","description":"In-blend","type":"object","properties":{"new_location_id":{"name":"new_location_id","description":"New location id","type":"string"}},"required":["new_location_id"]}},"required":["fulfillment_order"]}}},"required":true},"responses":{"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"moved_fulfillment_order":{"name":"moved_fulfillment_order","description":"New item appointment details","type":"object","properties":{"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"id":{"name":"id","description":"Performance order id","type":"string"},"status":{"name":"status","description":"Map order status , including : open , in_progress , cmos ed , cancelled , incomplete , on_hold , scheduled","type":"string"},"order_id":{"name":"order_id","description":"Order id","type":"string"},"request_status":{"name":"request_status","description":"Request status, including: accepted, cancellation_accepted, cancellation_rejected, cancellation_Requested, closed, rejected, submitted, unsubmitted","type":"string"},"assigned_location_id":{"name":"assigned_location_id","description":"Assigned location id","type":"string"},"line_items":{"name":"line_items","description":"Product line information","type":"array","items":{"name":"line_items","description":"Product line information","type":"object","properties":{"quantity":{"name":"quantity","description":"Order Product line Product quantity","type":"long"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"variant_id":{"name":"variant_id","description":"Product sku","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available in approximately Product quantities","type":"long"},"fulfillment_order_id":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"},"id":{"name":"id","description":"Performance order Product line id","type":"string"},"line_item_id":{"name":"line_item_id","description":"Product row id","type":"string"}}}},"supported_actions":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"array","items":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"string"}},"assigned_location":{"name":"assigned_location","description":"Location details assigned","type":"object","properties":{"province":{"name":"province","description":"Local province","type":"string"},"zip":{"name":"zip","description":"Location zip code","type":"string"},"address1":{"name":"address1","description":"Address 1","type":"string"},"address2":{"name":"address2","description":"Address 2","type":"string"},"city":{"name":"city","description":"City","type":"string"},"name":{"name":"name","description":"Location name","type":"string"},"phone":{"name":"phone","description":"Location phone number","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"}}},"destination":{"name":"destination","description":"Consignee information","type":"object","properties":{"city":{"name":"city","description":"Consignee city","type":"string"},"address2":{"name":"address2","description":"Consignee address 2","type":"string"},"phone":{"name":"phone","description":"Consignee phone number","type":"string"},"last_name":{"name":"last_name","description":"Consignee last name","type":"string"},"address1":{"name":"address1","description":"Consignee address 1","type":"string"},"company":{"name":"company","description":"Consignee company","type":"string"},"province":{"name":"province","description":"Consignee province","type":"string"},"zip":{"name":"zip","description":"Consignee address zip","type":"string"},"country":{"name":"country","description":"Consignee country","type":"string"},"first_name":{"name":"first_name","description":"Consignee name","type":"string"},"email":{"name":"email","description":"Consignee mailbox","type":"string"}}}}},"original_fulfillment_order":{"name":"original_fulfillment_order","description":"Original order details","type":"object","properties":{"order_id":{"name":"order_id","description":"Order id","type":"string"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"line_items":{"name":"line_items","description":"Product line information","type":"array","items":{"name":"line_items","description":"Product line information","type":"object","properties":{"id":{"name":"id","description":"Performance order Product line id","type":"string"},"line_item_id":{"name":"line_item_id","description":"Product row id","type":"string"},"quantity":{"name":"quantity","description":"Order Product line Product quantity","type":"long"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"variant_id":{"name":"variant_id","description":"Product sku","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available in approximately Product quantities","type":"long"},"fulfillment_order_id":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"}}}},"assigned_location_id":{"name":"assigned_location_id","description":"Assigned location id","type":"string"},"id":{"name":"id","description":"Performance order id","type":"string"},"status":{"name":"status","description":"Map order status , including : open , in_progress , cmos ed , cancelled , incomplete , on_hold , scheduled","type":"string"},"supported_actions":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"array","items":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"string"}},"request_status":{"name":"request_status","description":"Request status, including: accepted, cancellation_accepted, cancellation_rejected, cancellation_Requested, closed, rejected, submitted, unsubmitted","type":"string"},"assigned_location":{"name":"assigned_location","description":"Location details assigned","type":"object","properties":{"phone":{"name":"phone","description":"Location phone number","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"},"address1":{"name":"address1","description":"Address 1","type":"string"},"address2":{"name":"address2","description":"Address 2","type":"string"},"city":{"name":"city","description":"City","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"zip":{"name":"zip","description":"Location zip code","type":"string"},"province":{"name":"province","description":"Local province","type":"string"},"name":{"name":"name","description":"Location name","type":"string"}}},"destination":{"name":"destination","description":"Consignee information","type":"object","properties":{"country":{"name":"country","description":"Consignee country","type":"string"},"email":{"name":"email","description":"Consignee mailbox","type":"string"},"last_name":{"name":"last_name","description":"Consignee last name","type":"string"},"city":{"name":"city","description":"Consignee city","type":"string"},"first_name":{"name":"first_name","description":"Consignee name","type":"string"},"province":{"name":"province","description":"Consignee province","type":"string"},"address2":{"name":"address2","description":"Consignee address 2","type":"string"},"zip":{"name":"zip","description":"Consignee address zip","type":"string"},"address1":{"name":"address1","description":"Consignee address 1","type":"string"},"company":{"name":"company","description":"Consignee company","type":"string"},"phone":{"name":"phone","description":"Consignee phone number","type":"string"}}}}}}}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillment_orders/:order_id/:fulfillment_order_id/move.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Update inventory location for fulfillment order","version":"v20220901"},"authIndexes":["write_assigned_fulfillment_orders"]},"AhAYZ8mr":{"externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"AhAYZ8mr","parameters":[{"name":"fulfillment_order_id","in":"path","description":"Performance order id","required":true,"style":"simple","schema":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_hold":{"name":"fulfillment_hold","description":"Pause shipping reason","type":"object","properties":{"reason_notes":{"name":"reason_notes","description":"Pause shipping notes","type":"string"},"reason":{"name":"reason","description":"Pause shipping reason","type":"string"}},"required":["reason"]}},"required":["fulfillment_hold"]}}},"required":true},"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_order":{"name":"fulfillment_order","description":"Order details","type":"object","properties":{"delivery_method":{"name":"delivery_method","description":"Express order logistics method ,○ STORE_STREET -- super HOME_STREET -- PO_BOX-- self- POST_HOUSE-- self- PICK_UP--Pick up by yourself-seller pick up point ( pick up at store ) ; local delivery by LOCAL_DELIVERY-- ; no shipping required by NONE--","type":"string"},"destination":{"name":"destination","description":"Consignee information","type":"object","properties":{"province":{"name":"province","description":"Consignee province","type":"string"},"address2":{"name":"address2","description":"Consignee address 2","type":"string"},"city":{"name":"city","description":"Consignee city","type":"string"},"zip":{"name":"zip","description":"Consignee address zip","type":"string"},"company":{"name":"company","description":"Consignee company","type":"string"},"first_name":{"name":"first_name","description":"Consignee name","type":"string"},"phone":{"name":"phone","description":"Consignee phone number","type":"string"},"address1":{"name":"address1","description":"Consignee address 1","type":"string"},"email":{"name":"email","description":"Consignee mailbox","type":"string"},"country":{"name":"country","description":"Consignee country","type":"string"},"last_name":{"name":"last_name","description":"Consignee last name","type":"string"}}},"status":{"name":"status","description":"Map order status , including : open , in_progress , cmos ed , cancelled , incomplete , on_hold , scheduled","type":"string"},"assigned_location":{"name":"assigned_location","description":"Location details assigned","type":"object","properties":{"name":{"name":"name","description":"Location name","type":"string"},"phone":{"name":"phone","description":"Location phone number","type":"string"},"city":{"name":"city","description":"City","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"},"address2":{"name":"address2","description":"Address 2","type":"string"},"zip":{"name":"zip","description":"Location zip code","type":"string"},"address1":{"name":"address1","description":"Address 1","type":"string"},"province":{"name":"province","description":"Local province","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"}}},"assigned_location_id":{"name":"assigned_location_id","description":"Assigned location id","type":"string"},"line_items":{"name":"line_items","description":"Product line information","type":"array","items":{"name":"line_items","description":"Product line information","type":"object","properties":{"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available in approximately Product quantities","type":"long"},"fulfillment_order_id":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"},"id":{"name":"id","description":"Performance order Product line id","type":"string"},"line_item_id":{"name":"line_item_id","description":"Product row id","type":"string"},"quantity":{"name":"quantity","description":"Order Product line Product quantity","type":"long"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"variant_id":{"name":"variant_id","description":"Product sku","type":"string"}}}},"request_status":{"name":"request_status","description":"Request status, including: accepted, cancellation_accepted, cancellation_rejected, cancellation_Requested, closed, rejected, submitted, unsubmitted","type":"string"},"fulfillment_holds":{"name":"fulfillment_holds","description":"Shipping pause information","type":"array","items":{"name":"fulfillment_holds","description":"Shipping pause information","type":"object","properties":{"reason":{"name":"reason","description":"Delivery suspension reason , out of stock : out of stock , address error : address_error , high-risk fraud : high_fraudulent_risk , waiting for payment : wait_for_payment ,Other : other","type":"string"},"reason_notes":{"name":"reason_notes","description":"Shipping pause note","type":"string"}}}},"id":{"name":"id","description":"Performance order id","type":"string"},"order_id":{"name":"order_id","description":"Order id","type":"string"},"fulfill_at":{"name":"fulfill_at","description":"Shipping time ( format see IOS8601 )","type":"string"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"supported_actions":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"array","items":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"string"}}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillment_orders/:order_id/:fulfillment_order_id/hold.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Performance appointment marker onhold","version":"v20220901"},"authIndexes":["write_assigned_fulfillment_orders"]},"bA8BfEA7":{"externalDocs":{"description":"Permission point used by the interface is `write_assigned_fulfillment_orders` , For more information about the use of permission points, see","url":"ec20/3cv5d7wpfgr6a8z5/xabczf5442284vkq?lang=en","errorTableDescription":""},"operationId":"bA8BfEA7","parameters":[{"name":"fulfillment_order_id","in":"path","description":"Performance order id","required":true,"style":"simple","schema":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"}},{"name":"order_id","in":"path","description":"Order id","required":true,"style":"simple","schema":{"name":"order_id","description":"Order id","type":"string"}},{"name":"Content-Type","in":"header","description":"The field must be set to the fixed value `application/json; charset=utf-8`.","required":true,"style":"string","schema":{"name":"Content-Type","type":"string"}},{"name":"Authorization","in":"header","description":" The access token for the API resource. Refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then pass the obtained token in the Bearer format. ","required":true,"style":"string","schema":{"name":"Authorization","description":" The access token for the API. Please refer to [App authorization](/docsv2/ec20/3cv5d7wpfgr6a8z5/teva9rwr8948egze?lang=en) to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.","type":"string"}}],"responses":{"200":{"description":"For the complete list of codes and messages, see [Http status code](/docsv2/ec20/3cv5d7wpfgr6a8z5/s7gr9jgy9ute6pk7?lang=en).","headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"fulfillment_order":{"name":"fulfillment_order","description":"Order details","type":"object","properties":{"request_status":{"name":"request_status","description":"Request status, including: accepted, cancellation_accepted, cancellation_rejected, cancellation_Requested, closed, rejected, submitted, unsubmitted","type":"string"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"assigned_location_id":{"name":"assigned_location_id","description":"Assigned location id","type":"string"},"fulfill_at":{"name":"fulfill_at","description":"Shipping time ( format see IOS8601 )","type":"string"},"line_items":{"name":"line_items","description":"Product line information","type":"array","items":{"name":"line_items","description":"Product line information","type":"object","properties":{"fulfillment_order_id":{"name":"fulfillment_order_id","description":"Performance order id","type":"string"},"id":{"name":"id","description":"Performance order Product line id","type":"string"},"line_item_id":{"name":"line_item_id","description":"Product row id","type":"string"},"quantity":{"name":"quantity","description":"Order Product line Product quantity","type":"long"},"shop_id":{"name":"shop_id","description":"store ID","type":"string"},"variant_id":{"name":"variant_id","description":"Product sku","type":"string"},"fulfillable_quantity":{"name":"fulfillable_quantity","description":"Available in approximately Product quantities","type":"long"}}}},"supported_actions":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"array","items":{"name":"supported_actions","description":"Operation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started delivery","type":"string"}},"fulfillment_holds":{"name":"fulfillment_holds","description":"Shipping pause information","type":"array","items":{"name":"fulfillment_holds","description":"Shipping pause information","type":"object","properties":{"reason_notes":{"name":"reason_notes","description":"Shipping pause note","type":"string"},"reason":{"name":"reason","description":"Delivery suspension reason , out of stock : out of stock , address error : address_error , high-risk fraud : high_fraudulent_risk , waiting for payment : wait_for_payment ,Other : other","type":"string"}}}},"id":{"name":"id","description":"Performance order id","type":"string"},"assigned_location":{"name":"assigned_location","description":"Location details assigned","type":"object","properties":{"province":{"name":"province","description":"Local province","type":"string"},"address1":{"name":"address1","description":"Address 1","type":"string"},"phone":{"name":"phone","description":"Location phone number","type":"string"},"city":{"name":"city","description":"City","type":"string"},"name":{"name":"name","description":"Location name","type":"string"},"zip":{"name":"zip","description":"Location zip code","type":"string"},"address2":{"name":"address2","description":"Address 2","type":"string"},"country_code":{"name":"country_code","description":"Country code","type":"string"},"location_id":{"name":"location_id","description":"Location id","type":"string"}}},"destination":{"name":"destination","description":"Consignee information","type":"object","properties":{"last_name":{"name":"last_name","description":"Consignee last name","type":"string"},"address2":{"name":"address2","description":"Consignee address 2","type":"string"},"company":{"name":"company","description":"Consignee company","type":"string"},"first_name":{"name":"first_name","description":"Consignee name","type":"string"},"country":{"name":"country","description":"Consignee country","type":"string"},"phone":{"name":"phone","description":"Consignee phone number","type":"string"},"city":{"name":"city","description":"Consignee city","type":"string"},"email":{"name":"email","description":"Consignee mailbox","type":"string"},"province":{"name":"province","description":"Consignee province","type":"string"},"address1":{"name":"address1","description":"Consignee address 1","type":"string"},"zip":{"name":"zip","description":"Consignee address zip","type":"string"}}},"status":{"name":"status","description":"Map order status , including : open , in_progress , cmos ed , cancelled , incomplete , on_hold , scheduled","type":"string"},"order_id":{"name":"order_id","description":"Order id","type":"string"},"delivery_method":{"name":"delivery_method","description":"Express order logistics method ,○ STORE_STREET -- super HOME_STREET -- PO_BOX-- self- POST_HOUSE-- self- PICK_UP--Pick up by yourself-seller pick up point ( pick up at store ) ; local delivery by LOCAL_DELIVERY-- ; no shipping required by NONE--","type":"string"}}}}}}}},"401":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}},"429":{"headers":{"traceId":{"description":"A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise."}},"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"description":"Error message. ","type":"string"}},"required":["errors"]}}}}},"security":[{"oauth2":[]}],"method":"post","path":"/fulfillment_orders/:order_id/:fulfillment_order_id/release_hold.json","servers":[{"url":"https://{handle}.myshopline.com/admin/openapi","variables":{"handle":{"default":"openapiceshidianpu","description":"`handle` : The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is `open001.myshopline.com` , the store handle is `open001` ."}}}],"info":{"title":"Fulfillment order relFile truncated at 1 MB.