Skip to main content

Bulk Archive Warehouses

PUT 

/api/warehouses/archive

Archives multiple warehouses. Provide either ids (array of warehouse IDs) or apply_to_all=true with an optional filters object to target all warehouses matching the current listing filters.

Required scope: warehouses:write

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

Warehouses that cannot be archived (integration-managed, or holding stock) are skipped and counted in failCount, with a per-record warning in the response.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type