{
"ID": 1,
"Name": "Product 1",
"CategoryID": 1,
"Title": "Product 1 title",
"Info": "Product 1 info",
"ImgPath": "product1.jpg",
"Price": "$100",
"DiscountPrice": "$50",
"OnSale": true,
"Num": 10,
"BossID": 1
}
curl --location --request POST '/api/v1/product/update' \
--header 'access_token;' \
--header 'refresh_token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ID": 1,
"Name": "Product 1",
"CategoryID": 1,
"Title": "Product 1 title",
"Info": "Product 1 info",
"ImgPath": "product1.jpg",
"Price": "$100",
"DiscountPrice": "$50",
"OnSale": true,
"Num": 10,
"BossID": 1
}'
{}