Replaces the full set of locations at which a product is available. Send the complete
intended list; any locations not in the array are removed. Every location_id MUST
belong to the same entity as the product; foreign-entity IDs return 422
invalid_location_id.
When a box product has a narrowed location set, PackPilot’s packOrder will only
consider this box for orders whose location_id matches one of the assigned locations.
Pass an empty array to remove all assignments (the helper then falls back to entity-wide
availability per the empty-junction fallback rule).
Requires products:write scope.
Documentation Index
Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt
Use this file to discover all available pages before exploring further.
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
255Product ID
The complete intended set of location IDs (replaces existing assignments).