API

Listar órdenes de compra

Changed on

Lista las órdenes de compra de la organización. Soporta búsqueda por proveedor o número de orden y filtros por fecha y estado.

get/api/v1/purchase-orders

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/purchase-orders
  • Auth
    HTTP bearer

Query parameters

querystring

Texto de búsqueda por proveedor o número de orden

cursorstring

Valor de next_cursor recibido en la respuesta anterior

limitinteger

Cantidad máxima de resultados por respuesta

date_fromstring date

Fecha inicial de la orden

date_tostring date

Fecha final de la orden

status'draft' | 'sent' | 'partially_received' | 'received' | 'closed' | 'cancelled'

Estado o lista de estados separados por coma: draft, sent, partially_received, received, closed, cancelled

Response

Órdenes de compra obtenidas exitosamente

request_idstring required

Changes

    • breaking

      the response property // became nullable for the status

    • 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

      response property data/items/formatted_order_number 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