API Reference

Listar produtos da tabela de preço

Retorna a lista dos produtos presentes na tabela de preço.

GET - 200

{
"total": 3,
"page_index": 0,
"page_size": 15,
"results": [
{
"product": {
	"id": 1,
	"name": "Nome do produto",
	"type": 0,
	"reference": null
},
"pricetable": null,
"creation_date": "2023-12-21T17:20:13Z",
"update_date": "2023-12-21T17:20:13Z",
"author_id": 1,
"author": {
	"id": 1,
	"detail": "Nome do autor",
	"type": 1,
	"user_id": 1,
	"automation_id": null,
	"form_id": null,
	"import_id": null,
	"user_uid": 1
},
"id": 2,
"product_id": 2,
"pricetable_id": 3,
"unit_price": "Preço unitário",
"max_discount": "Máximo de desconto"
},
{
"product": {
	"id": 2,
	"name": "Nome do produto",
	"type": 0,
	"reference": null
},
"pricetable": null,
"creation_date": "2023-12-21T18:30:57Z",
"update_date": "2023-12-21T18:30:57Z",
"author_id": 1,
	"author": {
	"id": 1,
	"detail": "Nome do autor",
	"type": 1,
	"user_id": 1,
	"automation_id": null,
	"form_id": null,
	"import_id": null,
	"user_uid": 1
},
"id": 2,
"product_id": 222,
"pricetable_id": 3,
"unit_price": "Preço unitário",
"max_discount": "Desconto máximo"
},
{
"product": {
	"id": 3,
	"name": "Nome do produto",
	"type": 0,
	"reference": null
},
"pricetable": null,
"creation_date": "2023-12-22T16:48:12Z",
"update_date": "2023-12-22T16:56:55Z",
"author_id": 1,
"author": {
	"id": 1,
	"detail": "Nome do autor",
	"type": 1,
	"user_id": 1,
	"automation_id": null,
	"form_id": null,
	"import_id": null,
	"user_uid": 1
},
"id": 3,
"product_id": 203,
"pricetable_id": 3,
"unit_price": "Preço unitário",
"max_discount": "Desconto máximo"
},
]
}

Language
Click Try It! to start a request and see the response here!