Open Inventory / Docs
EndpointsManufacturingResourcesIdOptions

Generate every non-default option combination

The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.

POST
/resources/{id}/options

Atomically creates the Cartesian product as protected first-class variants, copies catalog and stock settings, stores selections, and writes only BOM differences. Maximum 100 total combinations.

Authorization

bearerAuth
headerAuthorizationBearer <inv_ token>

Path Parameters

id*string
Formatuuid

Header Parameters

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Response Body

Option variants generated

application/json
  1. response
primaryResourceId*string
Formatuuid
generatedVariantCount*integer
Range1 <= value <= 99
variants*array<>
Example Request
curl -X POST 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/options'
Example Response
{  "primaryResourceId": "78ec449b-98ae-431f-8d08-a3d237c7494b",  "generatedVariantCount": 1,  "variants": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "sku": "string"    }  ]}