Create a submission
You call thislisting:self
const url = 'https://api.zentail.com/v1/listing/submissions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"submissions":[{"submissionId":1,"sku":"example","contentSent":"example","contentReceived":"example","metadata":{"additionalProperty":"example"},"type":"example","successful":true,"preparedAt":"2026-04-15T12:00:00Z","submittedAt":"2026-04-15T12:00:00Z","acknowledgedAt":"2026-04-15T12:00:00Z"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.zentail.com/v1/listing/submissions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "submissions": [ { "submissionId": 1, "sku": "example", "contentSent": "example", "contentReceived": "example", "metadata": { "additionalProperty": "example" }, "type": "example", "successful": true, "preparedAt": "2026-04-15T12:00:00Z", "submittedAt": "2026-04-15T12:00:00Z", "acknowledgedAt": "2026-04-15T12:00:00Z" } ] }'This endpoint is used to create a submission for a listing. Submissions represent data sent or ingested into the integrators system. It is purely to provide greater insight into sellers actions and to provide a way to track the status of data sent or received.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
The ID generated by Zentail when the submission is created. Do not provide when creating submissions.
The SKU of the listing that was submitted
object
The type of submission, this can be something like what api or system the data was sent to or something more generic like ‘inventory’
Examplegenerated
{ "submissions": [ { "submissionId": 1, "sku": "example", "contentSent": "example", "contentReceived": "example", "metadata": { "additionalProperty": "example" }, "type": "example", "successful": true, "preparedAt": "2026-04-15T12:00:00Z", "submittedAt": "2026-04-15T12:00:00Z", "acknowledgedAt": "2026-04-15T12:00:00Z" } ]}Responses
Section titled “ Responses ”Success
object
object
The ID generated by Zentail when the submission is created. Do not provide when creating submissions.
The SKU of the listing that was submitted
object
The type of submission, this can be something like what api or system the data was sent to or something more generic like ‘inventory’
Examplegenerated
{ "submissions": [ { "submissionId": 1, "sku": "example", "contentSent": "example", "contentReceived": "example", "metadata": { "additionalProperty": "example" }, "type": "example", "successful": true, "preparedAt": "2026-04-15T12:00:00Z", "submittedAt": "2026-04-15T12:00:00Z", "acknowledgedAt": "2026-04-15T12:00:00Z" } ]}Bad Request
object
Example
{ "errorCode": 400}Permission Denied
object
Example
{ "errorCode": 403}Not Found
object
Example
{ "errorCode": 404}Zentail Error
object
Example
{ "errorCode": 500}Zentail Error
object
Example
{ "errorCode": 503}