Add Barcode
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/api/v1/barcodes
Last modified:2025-04-14 00:54:47
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | You must contact support to get the apikey. Required | string |
apiconnection | appmobile | You must contact support to get the apiconnection. Required | string |
secure-business-key | 140356399db2b2c32f0.25237063 | You must contact support to get the secure-business-key. Required | string |
userToken | 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9 | (Get user token from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login ) Required | string |
Key | Value | Description | Type |
---|---|---|---|
product_id | 21437 | Get products from ecomm_products API Required | text |
child_unit_id | 6 | text | |
barcode | 385228672788327936364587 | Required | text |
description | this is barcode description | text | |
country_id | 2 | text | |
status | 1 | 1 or 0 | text |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.testecommerce.vodoerp.com/api/v1/barcodes' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'userToken: 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9' \
--form 'product_id="21437"' \
--form 'child_unit_id="6"' \
--form 'barcode="385228672788327936364587"' \
--form 'description="this is barcode description"' \
--form 'country_id="2"' \
--form 'status="1"'
Response Response Example
{}
Request
Header Params
apikey
stringÂ
required
Example:
5f28583f26a1a
apiconnection
stringÂ
required
Example:
appmobile
secure-business-key
stringÂ
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
140356399db2b2c32f0.25237063
userToken
stringÂ
required
https://testaccounts.vodoerp.com/api/login
or
https://accounts.vodoerp.com/api/login
Example:
09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9
Body Params multipart/form-data
product_id
stringÂ
required
Example:
21437
child_unit_id
stringÂ
required
Example:
6
barcode
stringÂ
required
Example:
385228672788327936364587
description
stringÂ
required
Example:
this is barcode description
country_id
stringÂ
required
Example:
2
status
stringÂ
required
Example:
1