Async error objects

Understand async error objects.

When Admin API detects an asynchronous error, it returns the errors object in the response. This object will return the code and description.

Errors response example
"errors": [
    {
        "code": "PRODUCT_NOT_FOUND",
        "description": "Cannot find the product, produtId1, productId2. The specified product IDs could not be found. Provide the correct product ID and try again."
    },
    {
        "code": "LOCALE_NOT_PROVIDED",
        "description": "A locale is required. Provide the locale and try again."
    }
]

Last updated

Was this helpful?

#1249: DOC-395 CCAvenue

Change request updated