Change Quantity In Bom


    # Here is a curl example
    curl \
    -X POST "http://localhost:8888/api/BOM/ChangeQuantity" \
    -H "Authorization: {token}" \
    -H "Content-Type: application/json" \
    -d '{
        "object_id": 123,
        "record_id": 123,
        "config_id":123,
        "config_instance_ids": [1, 2, 3],
        "quantity":1
    }'

This method allows you to change BOM quantity.

To change BOM quantity you need to make a POST call to the following url: :
http://localhost:8888/api/BOM/ChangeQuantity



    Result example :
    [
        {
            "Success": "boolean",
            "Message": "string",
            "Data": object,
            "CustomAction": Dictionary<object, object> ,
            "CustomAttributes":Dictionary<object, object>
        }
    ]

From Body Parameters

Field Parameter Type Type Description
object_id body long Object Id.
record_id body long Record Id.
config_id body long Configuration Id. You can get from another method (http://localhost:8888/api/BOM/Variants).
config_instance_ids body List<long> Config Instance Ids. You can get from another method (http://localhost:8888/api/BOM/Records).
quantity body double Quantity.
Authorization header string Add Authorization header token