URL: /object_prices/set_derived_prices/{user_id}
METHOD: POST
BODY: (example)
{
"object_id": "15682",
"b2b_id": "200",
"item_id": "-1",
"definitions": [
{
"person": "1",
"percentage": "10",
"additional": 0
},
{
"person": "2",
"percentage": "10",
"additional": 0
},
{
"person": "3",
"percentage": "10",
"additional": 0
}
]
}
POSTMAN:
curl --location --request POST 'http://localhost:26082/object_prices/set_derived_prices/1' \
--header 'Content-Type: application/json' \
--data-raw '{
"object_id": "15682",
"b2b_id": "200",
"item_id": "-1",
"definitions": [
{
"person": "1",
"percentage": "10",
"additional": 0
},
{
"person": "2",
"percentage": "10",
"additional": 0
},
{
"person": "3",
"percentage": "10",
"additional": 0
}
]
}'