Skip to main content
POST
/
api
/
v1
/
price-lists
Crear lista de precios
curl --request POST \
  --url https://api.lapyme.com.ar/api/v1/price-lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "name": "<string>",
  "is_automatic": true,
  "automatic_pricing_mode": "base_price_adjustment",
  "tax_inclusive": true,
  "adjustment_percentage": 450,
  "default_economic_activity": "<string>"
}
'
{
  "request_id": "<string>",
  "data": {
    "price_list": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "is_automatic": true,
      "automatic_pricing_mode": "base_price_adjustment",
      "adjustment_percentage": 123,
      "tax_inclusive": true,
      "created_at": "2023-11-07T05:31:56Z",
      "object": "price_list"
    },
    "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 lista de precios.

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 - 50
is_automatic
boolean
default:true
required
automatic_pricing_mode
enum<string>
default:base_price_adjustment
required
Available options:
base_price_adjustment,
cost_markup
tax_inclusive
boolean
default:true
required
adjustment_percentage
number | null
Required range: -100 <= x <= 1000
default_economic_activity
string | null
Pattern: ^\d{6}$

Response

Lista de precios creada exitosamente

request_id
string
required
data
object
required
warnings
any[]
required