OrderLineDeliveryReport
/rpc#OrderLineDeliveryReportHow a plugin with the store's deliveries:write grant reports what it delivered on a line. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants deliveries:write.
Dashboard session cookie (name prefix __Host-sh), set by sign in and managed by the browser.
In: cookie
The store the seller acts on.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Value in
- "Request"
Correlates the response line with this request.
Value in
- "OrderLineDeliveryReport"
Leave empty; the server prepends the HTTP request headers.
items <= 0Response Body
application/json
printf '%s\n' '{"_tag":"Request","id":"0","tag":"OrderLineDeliveryReport","payload":{"orderId":"<uuid>","variantId":"<uuid>","reportKey":"<uuid>","quantity":1,"label":"string","url":"string"},"headers":[]}' | curl -X POST "$NOVINZO_API/rpc" \ -H "Content-Type: application/ndjson" \ -H "Authorization: Bearer $NOVINZO_API_KEY" \ --data-binary @-{ "_tag": "Exit", "requestId": "string", "exit": { "_tag": "Success", "value": { "deliveredQuantity": -9007199254740991, "quantity": -9007199254740991, "delivered": true } }}StorefrontGetOrder POST
Order pages for guests (signed access links) and signed-in shoppers. Routed to the storefront RPC server by the `x-storefront-request: true` header. The store is resolved from the merchant domain's `Host`, so call it through the storefront route `POST https://<store-domain>/api/orders/get`, which forwards the shopper's cookies. The viewer is the signed-in shopper or a guest holding an order access grant cookie.
OrderLineRefund POST
Refunds of the lines a plugin with the store's refunds:write grant delivers. A store API key can call it, unless the key is read-only. Plugins can call this RPC with the invocation token after the store grants `refunds:write`.
