/prices/product/calculate
PRODUCT
PARTNER
PROFILE
PARTNER_COMPANY
PAYMENT_METHOD
OK
Cannot calculate price
An internal server error was thrown
curl -L \ --request POST \ --url 'https://api.zydon.com.br/api/sales/prices/product/calculate' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"product_id":[null],"type":"PRODUCT"}'
{ "products": [ { "product_id": "text", "price_table_id": "text", "price": 1, "discounts": [ { "id": "text", "name": "text", "is_over_discount": true, "start_date": "2025-02-11T17:52:58.544Z", "end_date": "2025-02-11T17:52:58.544Z", "type": "FIXED", "ranges": [ { "min_quantity": 1, "is_product_value": true, "value_type": "PERCENTAGE", "value": 1 } ] } ] } ] }