Skip to main content
PUT
/
api
/
v1
/
price-lists
/
{price_list_id}
Actualizar lista de precios
curl --request PUT \
  --url https://api.lapyme.com.ar/api/v1/price-lists/{price_list_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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"
    },
    "should_sync_prices": 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

X-Request-Id
string

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

Required string length: 1 - 255

Path Parameters

price_list_id
string<uuid>
required

ID de la lista de precios

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 actualizada exitosamente

request_id
string
required
data
object
required
warnings
any[]
required