Invoices

Replace several delivered items at once (from stock, or with your own values); the buyer gets one email

POST
/v1/stores/{storeId}/invoices/{orderId}/replace

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
orderId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/invoices/string/replace" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "deliverableId": "b73ee07c-5107-44ff-84b1-a3c6595b74ba"      }    ]  }'
{  "ok": true}