EDITAR PRODUCTOS
POST/api/items/287/update
Para registrar productos debe enviar hacia:
Ejemplo:
- URL: https://empresa1.demo3pro6.ibu.pe/api/items/[id_del_producto]/update
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
idnumber
Example:
3946
item_type_idstring
Example:
01
internal_idstring
Example:
j5
item_codestring
Example:
new_code
item_code_gs1string
Example:
null
descriptionstring
Example:
apk
namestring
Example:
apk
second_namestring
Example:
null
unit_type_idstring
Example:
NIU
currency_type_idstring
Example:
PEN
sale_unit_pricestring
Example:
500
purchase_unit_pricenumber
Example:
0
has_iscboolean
Example:
false
system_isc_type_idnumber
Example:
null
percentage_iscnumber
Example:
0
suggested_pricenumber
Example:
0
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
stocknumber
Example:
0
stock_minnumber
Example:
0
has_igvboolean
Example:
true
has_perceptionboolean
Example:
false
item_unit_typesstring
Example:
[]
percentage_of_profitnumber
Example:
0
percentage_perceptionnumber
Example:
0
imagestring
Example:
null
image_urlstring
Example:
null
temp_pathstring
Example:
null
is_setboolean
Example:
false
account_idnumber
Example:
null
category_idnumber
Example:
null
brand_idnumber
Example:
null
date_of_duestring
Example:
null
lot_codestring
Example:
null
lots_enabledboolean
Example:
false
lotsstring
Example:
[]
Body
required
- JSON A ENVIAR
idnumber
Example:
3946
item_type_idstring
Example:
01
internal_idstring
Example:
j5
item_codestring
Example:
new_code
item_code_gs1string
Example:
null
descriptionstring
Example:
apk
namestring
Example:
apk
second_namestring
Example:
null
unit_type_idstring
Example:
NIU
currency_type_idstring
Example:
PEN
sale_unit_pricestring
Example:
500
purchase_unit_pricenumber
Example:
0
has_iscboolean
Example:
false
system_isc_type_idnumber
Example:
null
percentage_iscnumber
Example:
0
suggested_pricenumber
Example:
0
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
stocknumber
Example:
0
stock_minnumber
Example:
0
has_igvboolean
Example:
true
has_perceptionboolean
Example:
false
item_unit_typesstring
Example:
[]
percentage_of_profitnumber
Example:
0
percentage_perceptionnumber
Example:
0
imagestring
Example:
null
image_urlstring
Example:
null
temp_pathstring
Example:
null
is_setboolean
Example:
false
account_idnumber
Example:
null
category_idnumber
Example:
null
brand_idnumber
Example:
null
date_of_duestring
Example:
null
lot_codestring
Example:
null
lots_enabledboolean
Example:
false
lotsstring
Example:
[]
Body
required
- JSON A ENVIAR
idnumber
Example:
3946
item_type_idstring
Example:
01
internal_idstring
Example:
j5
item_codestring
Example:
new_code
item_code_gs1string
Example:
null
descriptionstring
Example:
apk
namestring
Example:
apk
second_namestring
Example:
null
unit_type_idstring
Example:
NIU
currency_type_idstring
Example:
PEN
sale_unit_pricestring
Example:
500
purchase_unit_pricenumber
Example:
0
has_iscboolean
Example:
false
system_isc_type_idnumber
Example:
null
percentage_iscnumber
Example:
0
suggested_pricenumber
Example:
0
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
stocknumber
Example:
0
stock_minnumber
Example:
0
has_igvboolean
Example:
true
has_perceptionboolean
Example:
false
item_unit_typesstring
Example:
[]
percentage_of_profitnumber
Example:
0
percentage_perceptionnumber
Example:
0
imagestring
Example:
null
image_urlstring
Example:
null
temp_pathstring
Example:
null
is_setboolean
Example:
false
account_idnumber
Example:
null
category_idnumber
Example:
null
brand_idnumber
Example:
null
date_of_duestring
Example:
null
lot_codestring
Example:
null
lots_enabledboolean
Example:
false
lotsstring
Example:
[]
Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
msgstring
Example:
Producto editado con éxito
data
object
idnumber
Example:
287
item_idnumber
Example:
287
namestring
Example:
apk
full_descriptionstring
Example:
j6 - apk
descriptionstring
Example:
apk
currency_type_idstring
Example:
PEN
internal_idstring
Example:
j6
item_codestring
Example:
new_code
currency_type_symbolstring
Example:
S/
sale_unit_pricestring
Example:
500.00
purchase_unit_pricenumber
Example:
0
unit_type_idstring
Example:
NIU
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
has_igvboolean
Example:
true
is_setboolean
Example:
false
aux_quantitynumber
Example:
1
ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
msgstring
Example:
Producto editado con éxito
data
object
idnumber
Example:
287
item_idnumber
Example:
287
namestring
Example:
apk
full_descriptionstring
Example:
j6 - apk
descriptionstring
Example:
apk
currency_type_idstring
Example:
PEN
internal_idstring
Example:
j6
item_codestring
Example:
new_code
currency_type_symbolstring
Example:
S/
sale_unit_pricestring
Example:
500.00
purchase_unit_pricenumber
Example:
0
unit_type_idstring
Example:
NIU
sale_affectation_igv_type_idstring
Example:
10
purchase_affectation_igv_type_idstring
Example:
10
calculate_quantityboolean
Example:
false
has_igvboolean
Example:
true
is_setboolean
Example:
false
aux_quantitynumber
Example:
1
ResponseSamples component placeholder
Invalid input
Validation exception