Invoices
Backfill Costs
Queues a job that stamps the current variant cost onto historical invoice items in a date window that have no cost snapshot yet. Limited to one run per hour per shop.
post/v1/shops/{shopId}/invoices/backfill-cost
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"start": "2026-07-15",
"end": "2026-08-15"
}Changes
No recorded changes to this operation across all 8 revisions of this API.