Skip to content

Provide inventory details for a Submission

You call thislisting:self

POST
/v1/listing/submissions/{submissionID}/inventoryDetails
curl --request POST \
--url https://api.zentail.com/v1/listing/submissions/example/inventoryDetails \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "inventoryLevelSent": 1, "successful": true }'

If a submission is provided that contains inventory information, it is advised to also provide the inventory details associated with it.

submissionID
required
string

Submission ID

Media typeapplication/json
object
inventoryLevelSent
required
integer
successful
required
boolean
Examplegenerated
{
"inventoryLevelSent": 1,
"successful": true
}

Success

Media typeapplication/json
string
Examplegenerated
example

Bad Request

Media typeapplication/json
object
errorCode
number
errorMessages
Array<string>
referenceId
string format: uuid
Example
{
"errorCode": 400
}

Permission Denied

Media typeapplication/json
object
errorCode
number
errorMessages
Array<string>
referenceId
string format: uuid
Example
{
"errorCode": 403
}

Not Found

Media typeapplication/json
object
errorCode
number
errorMessages
Array<string>
referenceId
string format: uuid
Example
{
"errorCode": 404
}

Zentail Error

Media typeapplication/json
object
errorCode
number
errorMessages
Array<string>
referenceId
string format: uuid
errorMessage
string
Example
{
"errorCode": 500
}

Zentail Error

Media typeapplication/json
object
errorCode
number
errorMessages
Array<string>
referenceId
string format: uuid
Example
{
"errorCode": 503
}

Sourcesnapshot of https://app.zentail.com/api/swagger, committed at spec/v1/zentail-api.json

Built0c509dd3

API changelog