UpdateProduct API
The UpdateProduct API is a development developed by The Factory HKA team which offers the taxpayer the possibility of updating a product that belongs to the catalog of products registered in the HKA Invoice portal, to create an electronic document. , and later you can view them on the HKA Invoice portal in a demo environment and in a production environment or when consuming the service through the UpdateProduct API.
@IMPORTANT: For the consumption of this service, two specific urls have been established in the DEMO environment and the PRODUCTION environment, which can be found below:
For more information you can consult the URLs in the following section:
UpdateProduct
The structure that must be considered in the construction of the Request and Response of the UpdateProduct service is documented below and in this way guarantee the implementation of this new method:
- REQUEST
- Parameters to Send
Type | Identifier | Description |
---|---|---|
String | Nit | Document number of the issuing taxpayer. |
String | CompanyToken | Supplied by The Factory HKA Colombia according to the environment to be consulted |
TokenPassword | ||
String | SecretKey | Defined by the issuing taxpayer from the root user through the HKA Electronic Invoice portal in a demo environment and in a production environment COMING SOON |
Array <Products> | Products | Parameters that make up the class InvoiceDetail of the Invoice Object' |
Where Class.Products contains the following information:
- RESPONSE
- Parameters to Receive ArrayCustomerAddress
Type | Identifier | Description |
---|---|---|
String | ProductId | Configured product identifier. |