REGISTRAR PRODUCTOS
POST/api/item
Para registrar productos debe enviar hacia:
Ejemplo:
- URL: https://empresa1.demo3pro6.ibu.pe/api/item
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
idnumber
Example:
nullitem_type_idstring
Example:
01internal_idstring
Example:
rrritem_codestring
Example:
nullitem_code_gs1string
Example:
nulldescriptionstring
Example:
apknamestring
Example:
apksecond_namestring
Example:
nullunit_type_idstring
Example:
NIUcurrency_type_idstring
Example:
PENsale_unit_pricestring
Example:
500purchase_unit_pricenumber
Example:
0has_iscboolean
Example:
falsesystem_isc_type_idstring
Example:
nullpercentage_iscnumber
Example:
0suggested_pricenumber
Example:
0sale_affectation_igv_type_idstring
Example:
10purchase_affectation_igv_type_idstring
Example:
10calculate_quantityboolean
Example:
falsestocknumber
Example:
0stock_minnumber
Example:
0has_igvboolean
Example:
truehas_perceptionboolean
Example:
falseitem_unit_typesstring[]
Example:
[]percentage_of_profitnumber
Example:
0percentage_perceptionnumber
Example:
0imagestring
Example:
nullimage_urlstring
Example:
nulltemp_pathstring
Example:
nullis_setboolean
Example:
falseaccount_idstring
Example:
nullcategory_idstring
Example:
nullbrand_idstring
Example:
nulldate_of_duestring
Example:
nulllot_codestring
Example:
nulllots_enabledboolean
Example:
falselotsstring[]
Example:
[]Body
required
- JSON A ENVIAR
idnumber
Example:
nullitem_type_idstring
Example:
01internal_idstring
Example:
rrritem_codestring
Example:
nullitem_code_gs1string
Example:
nulldescriptionstring
Example:
apknamestring
Example:
apksecond_namestring
Example:
nullunit_type_idstring
Example:
NIUcurrency_type_idstring
Example:
PENsale_unit_pricestring
Example:
500purchase_unit_pricenumber
Example:
0has_iscboolean
Example:
falsesystem_isc_type_idstring
Example:
nullpercentage_iscnumber
Example:
0suggested_pricenumber
Example:
0sale_affectation_igv_type_idstring
Example:
10purchase_affectation_igv_type_idstring
Example:
10calculate_quantityboolean
Example:
falsestocknumber
Example:
0stock_minnumber
Example:
0has_igvboolean
Example:
truehas_perceptionboolean
Example:
falseitem_unit_typesstring[]
Example:
[]percentage_of_profitnumber
Example:
0percentage_perceptionnumber
Example:
0imagestring
Example:
nullimage_urlstring
Example:
nulltemp_pathstring
Example:
nullis_setboolean
Example:
falseaccount_idstring
Example:
nullcategory_idstring
Example:
nullbrand_idstring
Example:
nulldate_of_duestring
Example:
nulllot_codestring
Example:
nulllots_enabledboolean
Example:
falselotsstring[]
Example:
[]Body
required
- JSON A ENVIAR
idnumber
Example:
nullitem_type_idstring
Example:
01internal_idstring
Example:
rrritem_codestring
Example:
nullitem_code_gs1string
Example:
nulldescriptionstring
Example:
apknamestring
Example:
apksecond_namestring
Example:
nullunit_type_idstring
Example:
NIUcurrency_type_idstring
Example:
PENsale_unit_pricestring
Example:
500purchase_unit_pricenumber
Example:
0has_iscboolean
Example:
falsesystem_isc_type_idstring
Example:
nullpercentage_iscnumber
Example:
0suggested_pricenumber
Example:
0sale_affectation_igv_type_idstring
Example:
10purchase_affectation_igv_type_idstring
Example:
10calculate_quantityboolean
Example:
falsestocknumber
Example:
0stock_minnumber
Example:
0has_igvboolean
Example:
truehas_perceptionboolean
Example:
falseitem_unit_typesstring[]
Example:
[]percentage_of_profitnumber
Example:
0percentage_perceptionnumber
Example:
0imagestring
Example:
nullimage_urlstring
Example:
nulltemp_pathstring
Example:
nullis_setboolean
Example:
falseaccount_idstring
Example:
nullcategory_idstring
Example:
nullbrand_idstring
Example:
nulldate_of_duestring
Example:
nulllot_codestring
Example:
nulllots_enabledboolean
Example:
falselotsstring[]
Example:
[]Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
truemsgstring
Example:
Producto registrado con éxitodata
object
idnumber
Example:
290item_idnumber
Example:
290namestring
Example:
apkfull_descriptionstring
Example:
j2 - apkdescriptionstring
Example:
apkcurrency_type_idstring
Example:
PENinternal_idstring
Example:
j2item_codestring
Example:
nullbarcodestring
Example:
nullcurrency_type_symbolstring
Example:
S/sale_unit_pricestring
Example:
500.00purchase_unit_pricenumber
Example:
0unit_type_idstring
Example:
NIUsale_affectation_igv_type_idstring
Example:
10purchase_affectation_igv_type_idstring
Example:
10calculate_quantityboolean
Example:
falsehas_igvboolean
Example:
trueis_setboolean
Example:
falseaux_quantitynumber
Example:
1ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
truemsgstring
Example:
Producto registrado con éxitodata
object
idnumber
Example:
290item_idnumber
Example:
290namestring
Example:
apkfull_descriptionstring
Example:
j2 - apkdescriptionstring
Example:
apkcurrency_type_idstring
Example:
PENinternal_idstring
Example:
j2item_codestring
Example:
nullbarcodestring
Example:
nullcurrency_type_symbolstring
Example:
S/sale_unit_pricestring
Example:
500.00purchase_unit_pricenumber
Example:
0unit_type_idstring
Example:
NIUsale_affectation_igv_type_idstring
Example:
10purchase_affectation_igv_type_idstring
Example:
10calculate_quantityboolean
Example:
falsehas_igvboolean
Example:
trueis_setboolean
Example:
falseaux_quantitynumber
Example:
1ResponseSamples component placeholder
Invalid input
Validation exception