Skip to main content
POST
/
api
/
v1
/
warehouses
Crear depósito
curl --request POST \
  --url https://api.lapyme.com.ar/api/v1/warehouses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "name": "<string>",
  "is_default": true,
  "address": "<string>"
}
'
{
  "request_id": "<string>",
  "data": {
    "warehouse": {
      "object": "warehouse",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "address": "<string>",
      "is_default": true,
      "is_active": true
    },
    "idempotent_replay": true
  },
  "warnings": [
    "<unknown>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.lapyme.com.ar/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Headers

Idempotency-Key
string
required

Clave única para evitar duplicados al reintentar la misma creación de depósito.

Required string length: 1 - 255
X-Request-Id
string

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

Required string length: 1 - 255

Body

application/json
name
string
required
Required string length: 1 - 70
is_default
boolean
required
address
string | null
Maximum string length: 255

Response

Depósito creado exitosamente

request_id
string
required
data
object
required
warnings
any[]
required