API

Obtener orden de compra por ID

Changed on

Devuelve el detalle de una orden de compra.

get/api/v1/purchase-orders/{purchase_order_id}

Request

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

Path parameters

purchase_order_idstring uuid required

ID de la orden de compra

Response

Orden de compra obtenida exitosamente

request_idstring required

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

      response property data/warehouse_id list-of-types was widened by adding types null to media type application/json of response 200

    • 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 to the / response property anyOf list for the response status

    • info

      removed from the / response property anyOf list for the response status

    • info

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

    • info

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

    • info

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

    • info

      added 'propertyNames' constraint to the ///// response property for the status

    • info

      added the required property / to the response with the status