API

Actualizar depósito

Changed on

Actualiza un depósito y devuelve el detalle persistido.

put/api/v1/warehouses/{warehouse_id}

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/warehouses/{warehouse_id}
  • Auth
    HTTP bearer

Path parameters

warehouse_idstring uuid required

ID del depósito

Headers

X-Request-Idstring

ID opcional de la solicitud para trazabilidad. Si se omite, el servidor genera uno.

Request body

namestring required
addressstring nullable
is_defaultboolean

Response

Depósito actualizado exitosamente

request_idstring required

Changes

    • breaking

      for the header request parameter X-Request-Id, the minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the response property // became nullable for the status

    • warning

      for the header request parameter X-Request-Id, the maxLength was set to 255

    • warning

      the / request property's maxLength was set to 255

    • warning

      the request property's maxLength was set to 70

    • 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/warehouse/address list-of-types was narrowed by removing types null from media type application/json of response 200