{
"offerId": "5005315010",
"sku": "540007",
"marketplaceId": "EBAY_US",
"format": "FIXED_PRICE",
"listingDescription": "Some random listing description not at all related to the inventory item description for whatever reason.",
"availableQuantity": 5,
"pricingSummary": {
"price": {
"value": "272.17",
"currency": "USD"
}
},
"listingPolicies": {
"paymentPolicyId": "5458252000",
"returnPolicyId": "5458251000",
"fulfillmentPolicyId": "5458249000"
},
"categoryId": "1278",
"merchantLocationKey": "warehouse-1",
"status": "UNPUBLISHED"
}
Here is the request I am making to publish the offer (with no response body just like the API Reference sample):
POST https://api.sandbox.ebay.com/sell/inventory/v1/offer/5005315010/publish
And finally here is the 400 Bad Request response body I am getting:
{
"errors": [
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Offer not found. Please try input valid request or contact customer support.. "
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Seller Inventory Service can not publish the data. AdditionalInformation not found. Please try again or contact customer support.. ",
"parameters": [
{
"name": "offerId",
"value": "5005315010"
}
]
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Offer not found. Please try input valid request or contact customer support.. "
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Seller Inventory Service can not publish the data. AdditionalInformation not found. Please try again or contact customer support.. ",
"parameters": [
{
"name": "offerId",
"value": "5005315010"
}
]
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Offer not found. Please try input valid request or contact customer support.. "
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Seller Inventory Service can not publish the data. AdditionalInformation not found. Please try again or contact customer support.. ",
"parameters": [
{
"name": "offerId",
"value": "5005315010"
}
]
},
{
"errorId": 25604,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Input error. Seller Inventory Service can not publish the data. AdditionalInformation not found. Please try again or contact customer support.. ",
"parameters": [
{
"name": "offerId",
"value": "5005315010"
}
]
}
]
}