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 gina826 Nov 12, 2023Google & YouTube 是中国商家在 Shopify 后台安装率最高的销售渠道之一。但是,在 Google & YouTube 销售渠道的使用中,商家经常可以看到 Goo...
By gina826 Oct 29, 2023