Products

Retrieve a page of products given a price table ID

get
Autorizações
Parâmetros de rota
idstringObrigatório
Parâmetros de consulta
searchstringOpcionalDefault: ""
pageinteger · int32OpcionalDefault: 0
perPageinteger · int32OpcionalDefault: 25
sortstringOpcionalDefault: ""
dirstringOpcionalDefault: asc
Respostas
200
OK
application/json
get
GET /api/sales/price-tables/{id}/products HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
  "currentPage": 1,
  "perPage": 1,
  "total": 1,
  "items": [
    {
      "id": "text",
      "product": {
        "id": "text",
        "name": "text",
        "sku": "text",
        "product_variation_id": "text"
      },
      "price": 1
    }
  ]
}

Retrieve a page of products summary by price tables

get
Autorizações
Parâmetros de consulta
searchstringOpcionalDefault: ""
pageinteger · int32OpcionalDefault: 0
perPageinteger · int32OpcionalDefault: 25
sortstringOpcionalDefault: ""
dirstringOpcionalDefault: asc
Respostas
200
OK
application/json
get
GET /api/sales/price-tables/products HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
  "currentPage": 1,
  "perPage": 1,
  "total": 1,
  "items": [
    {
      "id": "text",
      "name": "text",
      "sku": "text"
    }
  ]
}

Retrieve a page of products summary by price tables

get
Autorizações
Parâmetros de rota
idstringObrigatório
Parâmetros de consulta
searchstringOpcionalDefault: ""
pageinteger · int32OpcionalDefault: 0
perPageinteger · int32OpcionalDefault: 25
sortstringOpcionalDefault: ""
dirstringOpcionalDefault: asc
Respostas
200
OK
application/json
get
GET /api/sales/price-tables/products/{id} 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-01T00:35:27.147Z",
      "end_date": "2025-07-01T00:35:27.147Z",
      "price": 1,
      "product_variation_id": "text"
    }
  ]
}