Find batch requests by status

Get all requests with a certain status.

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

Query parameters

📘

Parameters in bold are mandatory

NameTypeDescription
statusstringQUEUED – to get the list of not completed requests; IN_PROGRESS – to get the list of requests in progress; COMPLETED – to get the list of completed requests.
offsetnumberOffset from the beginning of the returned items list (for paging)
limitnumberMaximum number of returned items. Maximum allowed value: 100. Default value: 100

Response

A JSON object of type 'Items' with the following fields:

Items

FieldTypeDescription
ticketstringTicket ID for your batch request. Use it to Get batch request status
statusstring"QUEUED" – scheduled request; "IN_PROGRESS" – request in progress; "COMPLETED" – completed request

Errors

Error response example

HTTP/1.1 500 Server Error
Content-Type application/json; charset=utf-8

In case of error, Ecwid responds with an error HTTP status code and, optionally, JSON-formatted body containing error description

HTTP codes

HTTP StatusDescription
400Request parameters are malformed
415Unsupported content-type: expected application/json or text/json
500Cannot retrieve the order info because of an error on the server

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Authorization
Query