Ítems
Crear ítem
Endpoint que permite crear un producto o servicio
post/items
Request body
Example request
{
"name": "Mi item",
"description": "Descripción del item",
"reference": "referencia",
"price": 25,
"category": {
"id": "5056"
},
"inventory": {
"unit": "unit",
"unitCost": 5,
"negativeSale": true,
"warehouses": [
{
"id": "1",
"initialQuantity": 4,
"minQuantity": 2,
"maxQuantity": 10
}
]
},
"tax": "2",
"type": "product",
"customFields": [
{
"id": "1",
"value": "12345678"
}
],
"subitems": [
{
"item": {
"id": "1"
},
"quantity": 3
}
],
"kitWarehouse": {
"id": "1"
},
"itemCategory": {
"id": "1"
},
"variantAttributes": [
{
"id": "1",
"options": [
{
"id": "1"
}
]
}
],
"accounting": {
"inventory": "5020",
"inventariablePurchase": "5064"
}
}Response
Ejemplo de consulta exitosa
Changes
No recorded changes to this endpoint across all 1 revision of this API.