Create BOM-Items inside your model.
Core concepts:
bom_items:
string:
id: string
name: string
quantity: integer
hidden: boolean
| Key | Required | Type | Default | Description |
|---|---|---|---|---|
| id | Yes | string | Null | The id of the bom item. |
| name | Yes | string | Null | The name of the bom item. |
| quantity | Yes | integer | Null | The quantity of the bom item. |
| hidden | No | boolean | - | Whether it's required or not. |
Enter the
path
with the relative path to your file.
After that, you can bundle your YAML files together in a ZIP file.
Send a POST request for each model and use the model ID in the import.
bom_items:
ART001:
id: "ART-001"
name: "Article 001"
quantity: 1
hidden: true
bom_items:
ART001:
id: "ART-001"
name: "Article 001"
quantity: 1
ART002:
id: "ART-001"
name: "Article"
quantity: 2
bom_items:
ART001:
id: "ART-001"
name: "Article 001"
quantity: 1
hidden: true
rule:
- do: "$ART001.id = ART-002"