Price tables
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
200
OK
application/json
404
PriceTable was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/price-tables/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"name": "text",
"start_date": "2025-07-03T07:13:39.617Z",
"end_date": "2025-07-03T07:13:39.617Z",
"criteria": [
{
"name": "text",
"criteria_id": "123e4567-e89b-12d3-a456-426614174000",
"rate_type": "INCREASE",
"value_type": "MONETARY",
"criteria_type": "FILTER",
"value": 1,
"products": [
{
"product_id": "text",
"price": 1,
"base_price": 1,
"name": "text",
"sku": "text",
"product_variation_id": "text"
}
],
"products_quantity": 1
}
],
"is_partner_specific": true,
"partners": [
{
"id": "text",
"partner_id": "text",
"partner_name": "text"
}
],
"is_profile_specific": true,
"profiles": [
{
"id": "text",
"profile_id": "text"
}
],
"is_company_specific": true,
"companies": [
{
"id": "text",
"company_id": "text",
"company_name": "text"
}
],
"is_payment_method_specific": true,
"payment_methods": [
{
"id": "text",
"payment_method_id": "text"
}
]
}
Autorizações
Parâmetros de rota
idstringObrigatório
Corpo
namestringObrigatório
start_datestring · dateObrigatório
end_datestring · dateOpcional
is_partner_specificbooleanObrigatório
is_profile_specificbooleanObrigatório
is_company_specificbooleanObrigatório
is_payment_method_specificbooleanObrigatório
Respostas
200
OK
application/json
404
PriceTable was not updated
application/json
500
An internal server error was thrown
application/json
put
PUT /api/sales/price-tables/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 608
{
"name": "text",
"start_date": "2025-07-03",
"end_date": "2025-07-03",
"criteria": [
{
"criteria_id": "123e4567-e89b-12d3-a456-426614174000",
"rate_type": "INCREASE",
"value_type": "MONETARY",
"criteria_type": "FILTER",
"value": 1,
"products": [
{
"product_id": "text",
"price": 1,
"product_variation_id": "text"
}
]
}
],
"is_partner_specific": true,
"partners": [
{
"id": "text",
"partner_id": "text"
}
],
"is_profile_specific": true,
"profiles": [
{
"id": "text",
"profile_id": "text"
}
],
"is_company_specific": true,
"companies": [
{
"id": "text",
"company_id": "text"
}
],
"is_payment_method_specific": true,
"payment_methods": [
{
"id": "text",
"payment_method_id": "text"
}
]
}
{
"id": "text",
"name": "text",
"start_date": "2025-07-03T07:13:39.617Z",
"end_date": "2025-07-03T07:13:39.617Z"
}
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
204
OK
application/json
Respostaobject
404
PriceTable was not removed
application/json
500
An internal server error was thrown
application/json
delete
DELETE /api/sales/price-tables/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{}
Autorizações
Parâmetros de consulta
searchstringOpcionalDefault:
""
pageinteger · int32OpcionalDefault:
0
perPageinteger · int32OpcionalDefault:
25
sortstringOpcionalDefault:
""
dirstringOpcionalDefault:
asc
Respostas
200
OK
application/json
404
PriceTable was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/price-tables HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"currentPage": 1,
"perPage": 1,
"total": 1,
"items": [
{
"id": "text",
"name": "text",
"partner_size": 1,
"profile_size": 1,
"company_size": 1,
"payment_method_size": 1,
"start_date": "2025-07-03T07:13:39.617Z",
"end_date": "2025-07-03T07:13:39.617Z"
}
]
}
Autorizações
Corpo
idstringOpcional
namestringObrigatório
start_datestring · dateObrigatório
end_datestring · dateOpcional
is_partner_specificbooleanObrigatório
is_profile_specificbooleanObrigatório
is_company_specificbooleanObrigatório
is_payment_method_specificbooleanObrigatório
Respostas
200
OK
application/json
404
PriceTable was not created
application/json
500
An internal server error was thrown
application/json
post
POST /api/sales/price-tables HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 620
{
"id": "text",
"name": "text",
"start_date": "2025-07-03",
"end_date": "2025-07-03",
"criteria": [
{
"criteria_id": "123e4567-e89b-12d3-a456-426614174000",
"rate_type": "INCREASE",
"value_type": "MONETARY",
"criteria_type": "FILTER",
"value": 1,
"products": [
{
"product_id": "text",
"price": 1,
"product_variation_id": "text"
}
]
}
],
"is_partner_specific": true,
"partners": [
{
"id": "text",
"partner_id": "text"
}
],
"is_profile_specific": true,
"profiles": [
{
"id": "text",
"profile_id": "text"
}
],
"is_company_specific": true,
"companies": [
{
"id": "text",
"company_id": "text"
}
],
"is_payment_method_specific": true,
"payment_methods": [
{
"id": "text",
"payment_method_id": "text"
}
]
}
{
"id": "text",
"name": "text",
"start_date": "2025-07-03T07:13:39.617Z",
"end_date": "2025-07-03T07:13:39.617Z"
}