Files
web-crm.mcmed.ru/backend/artifacts/products/product-price.http
Viktoria Polyakova 4fb101c5db Init
2026-01-25 08:57:38 +00:00

30 lines
566 B
HTTP

### Create product price
POST {{url}}/api/products/{{productId}}/prices
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": null,
"unitPrice": 100,
"currency": "EUR"
}
### Update product price
PUT {{url}}/api/products/{{productId}}/prices/{{productPriceId}}
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Updated price",
"unitPrice": 200,
"currency": "USD"
}
### Delete product price
DELETE {{url}}/api/products/{{productId}}/prices/67
Content-Type: application/json
Authorization: Bearer {{token}}