Once the update request has been sent to ELIXPEDIA, the "SKU UPDATE" API would return one of these codes:
200: Data updated successfully
This means that the data is now up to date in the ELIXPEDIA instance. You can then expect that the data change to be notified to other applications in the forthcoming seconds.
401: Unauthorized
This means that your application is not authorized on APIGEE to access the "SKU UPDATE" API, or that the access token that you have provided is incorrect (wrong scope or expired token).
503: No permission to update the requested attributes
This means that your application is not authorized to update the ELIXPEDIA attribute that are contained in the payload of your update request.
Here, I suggest you to contact the API Owner, who would configure your application permissions.
209: Some update errors occurred
Here, the response payload would provide you more detail about the error:
- Request status 504 = routing error
{ "data": [ { "requestId": "001", "skuCode": "A1481676x", "target": {}, "status": 504, "description": "Routing error", "errors": [] } ] }
This means that the API could not define which ELIXPEDIA instance should be updated. Generally, this means that the SKU you are trying to update does not exist for the current environment.
- Request status 502 = no response received from ELIXPEDIA
{ "data": [ { "requestId": "001", "skuCode": "A1481676", "target": {"instance": "EMEA", "division": "CPD"}, "status": 502, "description": "No response received from ELIXPEDIA", "errors": [] } ] }
This means that the ELIXPEDIA server is not available (eventually stopped for maintenance). Here, I suggest that you contact the ELIX AMS team.
- Request status 501 = error returned by ELIXPEDIA
{ "data": [ { "requestId": "001", "skuCode": "A1481676", "target": { "instance": "EMEA", "division": "CPD" }, "status": 501, "description": "Error returned by ELIXPEDIA", "errors": [ { "attributeName": "1080 Lifespan (Days)", "errorCode": "BR301-01-checkValueHigherThanConstant", "errorMessage": "Value must be greater than 0 (Business Rule BR301-01-checkValueHigherThanConstant)." } ] } ] }
In the "errors" section, you should find the detailed error message from ELIXPEDIA, supposed to be exactly the same than the message you would get from the ELIXPEDIA user interface. Here, I suggest that you contact the ELIXPEDIA Product Owner to better about this business rule error.