Modifying product bill of materials

Modifying Bill of Materials (BoM)

To modify a Bill of Materials (BoM), use the Product endpoint. The request will look like this (replace dev with your account):

cURL Request

curl --request POST \
     --url https://app.finaleinventory.com/dev/api/product/100000 \
     --header 'authorization: Basic XXX' \
     --data '{"productAssocList":[{"productAssocTypeId":"MANUF_COMPONENT","productAssocUrl":"/dev/api/productassoc/100000","productAssocItemList":[{"productUrl":"/dev/api/product/100001","quantity":8}]}],"productId":"100000","productUrl":"/dev/api/product/100000"}'

Breaking Out the Data Sent for the Request

{
  "productAssocList": [
    { "productAssocTypeId": "MANUF_COMPONENT",
      "productAssocUrl": "/dev/api/productassoc/100000",
      "productAssocItemList": [
        { "productUrl": "/dev/api/product/100001", "quantity": 8 }
      ]
    }
  ],
  "productId": "100000",
  "productUrl": "/dev/api/product/100000"
}

Important Notes

Required Values

Additional Note

Product URLs must be obtained from the product collection, as a different internal identifier is used than the visible product ID.