Liquid、JavaScript、主题、销售渠道。
Can someone help me? I use GQL API to create a return, but I always got error: "invalid id", the following is my code:
my query:
mutation returnCreate($returnInput: ReturnInput!) { returnCreate(returnInput: $returnInput) { return { name status totalQuantity } userErrors { field message } } }
and my variables:
{ "returnInput": { "notifyCustomer": true, "orderId": "gid://shopify/Order/xxxxx", "returnLineItems": [ { "fulfillmentLineItemId": "gid://shopify/LineItem/xxxxx", "quantity": 1, "returnReason": "SIZE_TOO_SMALL", "returnReasonNote": "" } ] } }
and the return of api:
{ "data": { "returnCreate": null }, "errors": [ { "message": "invalid id", "locations": [ { "line": 2, "column": 3 } ], "path": [ "returnCreate" ] } ], "extensions": { "cost": { "requestedQueryCost": 10, "actualQueryCost": 1, "throttleStatus": { "maximumAvailable": 10000, "currentlyAvailable": 9999, "restoreRate": 500 } } } }
在当今竞争激烈的电商市场中,视觉效果是吸引和留住客户的关键因素之一。高质量的图片不仅能提升店铺的专业形象,还能显著提高转化率和用户体验。研究表明,优质的产品图片可以增...
By Vikki Sep 15, 2024您是否遇到过尝试在 Shopify 后台连接您在第三方购买的域名,但是遇到错误提示无法连接的情况? 我们懂您的困扰!不用担心,我将把我们在进行支持时遇到的最常见...
By OwenX7 Sep 8, 2024返校促销/劳动节促销是向大量客户展示您的商店的最佳时机。作为一名出海的跨境电商卖家,您该如何参与其中?您该如何在返校促销/劳动节促销中及时吸引在线购物者的注意力?您如何将促销...
By Alice_Z Aug 13, 2024