Add Review
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/{{reviews}}
Last modified:2025-04-13 23:29:33
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 |
---|---|---|---|
rating | 4 | 1, 2, 3, 4 or 5 Required | text |
product_id | 8 | Get products from ecomm_products API Required | text |
recommend | Yes | Yes or No | text |
title | hello | text | |
body | this is comment | comment Required | text |
approved | 0 | 1 or 0 | text |
author_id | 20 | text |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://www.testecommerce.vodoerp.com/{{reviews}}' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 140356399db2b2c32f0.25237063' \
--header 'userToken: 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9' \
--form 'rating="4"' \
--form 'product_id="8"' \
--form 'recommend="Yes"' \
--form 'title="hello"' \
--form 'body="this is comment"' \
--form 'approved="0"' \
--form 'author_id="20"'
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
rating
stringÂ
required
Example:
4
product_id
stringÂ
required
Example:
8
recommend
stringÂ
required
Example:
Yes
title
stringÂ
required
Example:
hello
body
stringÂ
required
Example:
this is comment
approved
stringÂ
required
Example:
0
author_id
stringÂ
required
Example:
20