Open Inventory / Docs
EndpunkteManufacturingResourcesIdAssembly configuration

Prepare only the selected configuration for manual customization

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

POST
/resources/{id}/assembly-configuration

Requires inventory.update and inventory.create. Reuses matching articles and preserves customizations. Creates no stock movements. Repeated requests return the same resource.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <inv_ token>

Pfadparameter

id*string
Formatuuid

Header-Parameter

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

Anfrageinhalt

application/json
  1. body

Complete selection of variable BOM slots for a finished product. Each value must be the slot's component or an active member of its component family. Mutually exclusive with outputResourceId and componentResourceSelections. Reuses a matching finished article or creates just this configuration atomically with the build. Existing manual recipe overrides are preserved. No Cartesian product is stored.

Eigenschaften1 <= properties <= 100
[key: string]?string
Formatuuid

Antwortinhalt

Ready to customize

application/json
  1. response
resourceId?string
Formatuuid
Beispielanfrage
curl -X POST 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/assembly-configuration' \  -H 'Content-Type: application/json' \  -d '{  "property1": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "property2": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}'
Beispielantwort
{  "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6"}