Hi ,
We are trying to test the product update first via postman.
We are sending this request below to see if the product quantity will be updated. However, we keep receiving an access denied error
Request
{
"Store_Code": "MSP",
"Function": "Product_Update",
"Product_SKU": "100-B-740001C",
"Product_Inventory": 1
}
Response
{
"success": 0,
"error_code": "access_denied",
"error_message": "Access denied"
}
Based on MIVA documentation
an access denied error could be for any of the following reasons:
We ruled out the underlined reasons since we can get a successful response when we are using other operations, particularly if we are only getting/loading record information from MIVA.
We have figured out that the token need to have the function Product_Update since it was not yet added before. After adding the Product_Update As you can see in this link https://ibb.co/bNHGL8G we are still encountering the issue of access denied.
Any insight or help will do. Thanks!
Thanks a lot!
We are trying to test the product update first via postman.
We are sending this request below to see if the product quantity will be updated. However, we keep receiving an access denied error
Request
{
"Store_Code": "MSP",
"Function": "Product_Update",
"Product_SKU": "100-B-740001C",
"Product_Inventory": 1
}
Response
{
"success": 0,
"error_code": "access_denied",
"error_message": "Access denied"
}
Based on MIVA documentation
an access denied error could be for any of the following reasons:
- Invalid Access Token
- Missing Header Type or Type mismatch
- Invalid Content Type
- IP address is not whitelisted
- Access Token does not have sufficient privileges
We ruled out the underlined reasons since we can get a successful response when we are using other operations, particularly if we are only getting/loading record information from MIVA.
We have figured out that the token need to have the function Product_Update since it was not yet added before. After adding the Product_Update As you can see in this link https://ibb.co/bNHGL8G we are still encountering the issue of access denied.
Any insight or help will do. Thanks!
Thanks a lot!
Comment