List items
Lists the items of a job, in the job order.
Returns the items of a job in its order (index ascending), with the outcome and the error of each one.
curl "$BACKEND_URL/v1/jobs/<id>/items?status=failed&page=1&pageSize=100" \
-H "Authorization: Bearer mk_your_api_key"Items are fixed when the job is created, so unfiltered pages stay stable while the job runs. With status, an item moves to another page when it finishes (pending → succeeded): filter after the job is done.
Item error (error)
A failed item carries error as text. A refusal marketapi decided, before or at the marketplace, carries the reason in parentheses, such as MarketplaceError: VALIDATION (field_locked_after_sale). The marketplace's own text is never copied. A message of ours, such as CAPABILITY_UNSUPPORTED: … or PAYMENT_REQUIRED: …, comes whole; if our error has a reason, it follows the code in parentheses: CONFLICT (listing_has_live_items): …. An adapter error of ours may carry our message after the reason: MarketplaceError: VALIDATION (<reason>): <message>. Decide by the code and the reason, not by the text. The reasons of a Mercado Livre publication are in Publish on Mercado Livre.
Marketplace codes (marketplaceCodes)
When the marketplace refuses the call (400) for a reason that is not one of ours, the item and each step carry marketplaceCodes: its refusal codes, identifiers only, no repeats, at most 10. They come from the causes of the marketplace error, or from its own error code when it gives no cause. Always present, [] when the marketplace gave no identifier. The marketplace's text never comes with it.
Steps (steps)
An item that makes several calls to the marketplace (a publication, for example) lists each one in steps, in order: name, status (pending, running, succeeded, failed, skipped), externalRef (what the marketplace created, such as the listing ID), error and the timestamps. Names and order depend on the marketplace (Mercado Livre's are in Item steps).
steps is [] when the item makes a single call (connection, validation, refresh) or has not started yet. A marketplace action is the exception: its call changes the marketplace, so it is the item's one step, named after the action (on relist, the externalRef is the ID of the new offer). On a failed item, it shows which step broke and which ones had already worked. The next attempt starts from there: see Tracking jobs.
api_keyAuthorizationBearer <token>API key (mk_...)
id*stringIdentifier of the resource, as returned by the API.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidpage?integerPage number, starting at 1. Defaults to 1. A page beyond pagination.totalPages is not an error: it returns empty data.
1 <= value <= 90071992547409911pageSize?integerItems per page, from 1 to 100. Defaults to 20.
1 <= value <= 10020status?stringOnly items in this state.
"pending""succeeded""failed"One page of the job items, in the job order (index, ascending). A page beyond pagination.totalPages returns empty data, not 404.
application/json- response
One page of the items of a job.
data*array<>The items of this page, in the job order (index, ascending).
pagination*Where this page sits in the whole listing: the totals and whether there are pages before and after it.
curl -X GET "https://example.com/v1/jobs/3d1c8a52-7f0e-4b0a-8a65-9c1b2f6d7e01/items"{ "data": [ { "id": "b4a39281-7065-4f43-9e21-0d1c2b3a4f5e", "index": 0, "status": "succeeded", "input": {}, "result": { "connectionId": "9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d", "marketplace": "mercadolivre", "synced": [] }, "error": null, "marketplaceCodes": [], "steps": [], "resourceType": "connection", "resourceId": "9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d", "createdAt": "2026-10-06T14:32:00.000Z", "updatedAt": "2026-10-06T14:32:01.500Z" } ], "pagination": { "page": 1, "pageSize": 20, "totalItems": 1, "totalPages": 1, "hasNext": false, "hasPrev": false }}