Invoices
Fill in missing item costs on paid invoices created in a window (90 days at most); existing costs are never changed
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*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/cost-backfill/range" \ -H "Content-Type: application/json" \ -d '{ "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" }'{ "invoices": -9007199254740991, "lines": -9007199254740991, "updated": -9007199254740991}