API

Listar productos

Changed on

Lista los productos de la organización con precios. Filtra por categoría, tipo, estado, etiquetas y campos personalizados; ordena por producto, categoría o SKU.

get/api/v1/products

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/products
  • Auth
    HTTP bearer

Query parameters

ids[]string[]

IDs de productos (grupos) o variantes, hasta 100. Se combinan con skus[] con OR. Incluye inactivos salvo que se indique is_active.

skus[]string[]

SKUs exactos, sin distinguir mayúsculas, hasta 100. Se combinan con ids[] con OR. Incluye inactivos salvo que se indique is_active.

cursorstring

Valor de next_cursor recibido en la respuesta anterior

limitinteger

Cantidad máxima de resultados por respuesta

querystring

Texto de búsqueda por nombre, SKU, código de barras u opciones

category_idstring uuid

Filtra por categoría

is_activeboolean

Filtra por estado activo

product_type'product' | 'service' | 'combo' | 'kit'

Filtra por tipo de producto

tagstring[]

Etiquetas (UUID) o untagged. Coincide con cualquiera; repetí el parámetro.

metafieldstring[]

<key>:<valor>. Valores de una definición se combinan con OR; definiciones distintas con AND.

sort'product' | 'category' | 'sku'
direction'asc' | 'desc'

Conservá sort y direction al usar next_cursor.

Response

Productos obtenidos exitosamente

request_idstring required
has_moreboolean required
next_cursorstring nullable required
object'list' required

List-envelope discriminator.

urlstring required

Requested list path.

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • warning

      deleted the query request parameter search

    • info

      added the new optional query request parameter direction

    • info

      added the new optional query request parameter ids[]

    • info

      added the new optional query request parameter metafield

    • info

      added the new optional query request parameter skus[]

    • info

      added the new optional query request parameter sort

    • info

      added the new optional query request parameter tag

    • info

      added the non-success response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      response property data/items/applied_price_list/adjustment_percentage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/barcode list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property next_cursor list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the required property /// to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status