Skip to main content

Bulk Expire Quotes

POST 

/api/quotes/bulk-expire

Expires multiple quotes. Only issued (sent/viewed) quotes are expired; the rest are skipped. Allocated inventory is released. The response reports how many were expired vs. skipped.

Required scope: orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Targets either an explicit list of quote IDs or every quote matching the current filters.

Two request-body modes:

  • { "ids": [12, 13, 14] } — act on these specific quotes.
  • { "apply_to_all": true, "filters": { "status": "draft" } } — act on every quote matching the given filters (same filter keys as GET /api/quotes: search, status, origin, customer_id, archived, filter_groups, etc.).

Authentication: Requires Bearer token. Permission: quotes.update.

Request

Responses

OK

Response Headers
    Content-Type