Liquid、JavaScript、主题、销售渠道。
We found in some stores that when creating a shopify order, the API will return an empty list or return an order list that has nothing to do with creating an order.
TOOLS: postman
API: /admin/api/2023-04/orders.json
HEADERS X-Request-ID: 458ede07-1e0c-45ff-a8c9-2eb153097395
request body:
{
"order": {
"transactions": [
{
"kind": "sale",
"status": "success",
"amount": "16.35"
}
],
"tags": "TikTok Shop",
"financial_status": "paid",
"fulfillment_status": "fulfilled",
"note": "",
"inventory_behaviour": "decrement_obeying_policy",
"line_items": [
{
"variant_id": "129309972",
"quantity": 1
},
{
"variant_id": "14006685827125",
"quantity": 2
}
],
"customer": {
"first_name": "Enrique",
"last_name": "Ruiz",
"email": "orders@plantgoodseed.com"
},
"shipping_address": {
"first_name": "Enrique",
"last_name": "Ruiz",
"address1": "3511 Slate Dr",
"address2": "Casa ",
"phone": "(+1)7867541492",
"city": "Nashville",
"province": "Tennessee",
"country": "US",
"zip": "37216"
},
"gateway": "Unknown at this time",
"note_attributes": [
{
"name": "TTS order number",
"value": "576469535453647645"
},
{
"name": "shipping option",
"value": "Standard Shipping"
},
{
"name": "TTS Support Package Providers",
"value": "USPS,\\nUPS,\\nFedEx,\\nLaserShip,\\nOnTrac,\\nDHL eCommerce,\\nAmazon Logistics"
},
{
"name": "Channel",
"value": "TikTok Shop"
}
],
"source_name": "TTS",
"source_identifier": "576469535453647645",
"discount_codes": [
{
"code": "Platform & Seller",
"type": "fixed_amount",
"amount": "0"
}
],
"shipping_lines": [
{
"title": "Standard Shipping",
"price": "0"
}
],
"tax_lines": [
{
"price": "1.38"
}
],
"total_tax": "1.38"
}
}
response http status: 200
response body :
{
"orders": [
{
"id": 5340992995580,
}
]
}
or
{
"orders": []
}
In this example, the order with id 5340992995580 is always returned during the request. Please help to find out the reason, thank you.
在当今竞争激烈的电商市场中,视觉效果是吸引和留住客户的关键因素之一。高质量的图片不仅能提升店铺的专业形象,还能显著提高转化率和用户体验。研究表明,优质的产品图片可以增...
By Vikki Sep 15, 2024您是否遇到过尝试在 Shopify 后台连接您在第三方购买的域名,但是遇到错误提示无法连接的情况? 我们懂您的困扰!不用担心,我将把我们在进行支持时遇到的最常见...
By OwenX7 Sep 8, 2024返校促销/劳动节促销是向大量客户展示您的商店的最佳时机。作为一名出海的跨境电商卖家,您该如何参与其中?您该如何在返校促销/劳动节促销中及时吸引在线购物者的注意力?您如何将促销...
By Alice_Z Aug 13, 2024