How to check product posted by api?
I have posted product by api but I can't find in ebay.com
I have success in location, fullfillment, payment, return policies and creatorreplace, createoffer api.
But I can't find in ebay.com
please help
tixd70
Posted 2 years ago·Last reply 2 years ago
9 comments
znts-wholesale-global
·2 years agoTry this one now
"packageWeightAndSize": {
"dimensions": {
"height": 5,
"length": 10,
"width": 15,
"unit": "INCH"
}
}
znts-wholesale-global
·2 years agoRemove the following and then try.
"packageWeightAndSize": {
"dimensions": {
"height": 5,
"length": 10,
"width": 15,
"unit": "INCH"
},
"packageType": "MAILING_BOX",
"shippingIrregular": True,
"weight": {
"value": 2,
"unit": "POUND"
}
}
You need to find out which part of the payload is broken and you can easily fix that.
tixd70
OP2 years agoI removed that but there is error:
{
"errors": [
{
"errorId": 25020,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid shipping package details. The package weight is not valid or is missing. Provide a valid number for the weight."
}
]
}
Please help me
znts-wholesale-global
·2 years agoYou need to show createInventory and create Offer payload
tixd70
OP2 years agoYes. This is createInventory and createOffer
This is createOrReplace Inventory url and payload
url: https://api.ebay.com/sell/inventory/v1/inventory_item/3456
payload: {
"product": {
"title": "Sample PLC Do not buy",
"aspects": {
"Feature":[
"Water resistance", "GPS"
],
"CPU":[
"Dual-Core Processor"
]
},
"description": "Test listing - do not bid or buy \n Built-in GPS. Water resistance to 50 meters.1 A new lightning-fast dual-core processor. And a display that\u2019s two times brighter than before. Full of features that help you stay active, motivated, and connected, Apple Watch Series 2 is designed for all the ways you move ",
"upc": ["888462079525"],
"imageUrls": [
"http://store.storeimages.cdn-apple.com/4973/as-images.apple.com/is/image/AppleInc/aos/published/images/S/1/S1/42/S1-42-alu-silver-sport-white-grid?wid=332&hei=392&fmt=jpeg&qlt=95&op_sharpen=0&resMode=bicub&op_usm=0.5,0.5,0,0&iccEmbed=0&layer=comp&.v=1472247758975",
"http://store.storeimages.cdn-apple.com/4973/as-images.apple.com/is/image/AppleInc/aos/published/images/4/2/42/stainless/42-stainless-sport-white-grid?wid=332&hei=392&fmt=jpeg&qlt=95&op_sharpen=0&resMode=bicub&op_usm=0.5,0.5,0,0&iccEmbed=0&layer=comp&.v=1472247760390",
"http://store.storeimages.cdn-apple.com/4973/as-images.apple.com/is/image/AppleInc/aos/published/images/4/2/42/ceramic/42-ceramic-sport-cloud-grid?wid=332&hei=392&fmt=jpeg&qlt=95&op_sharpen=0&resMode=bicub&op_usm=0.5,0.5,0,0&iccEmbed=0&layer=comp&.v=1472247758007"
]
},
"condition": "NEW",
"packageWeightAndSize": {
"dimensions": {
"height": 5,
"length": 10,
"width": 15,
"unit": "INCH"
},
"packageType": "MAILING_BOX",
"shippingIrregular": True,
"weight": {
"value": 2,
"unit": "POUND"
}
},
"availability": {
"shipToLocationAvailability": {
"quantity": 10
}
}
}
THis is createOffer url and payload
url: https://api.ebay.com/sell/inventory/v1/offer
payload: {
"sku": "3456",
"marketplaceId": "EBAY_US",
"format": "FIXED_PRICE",
"availableQuantity": 1,
"quantityLimitPerBuyer": 1,
"pricingSummary": {
"price": {
"value": 0.99,
"currency": "USD"
}
},
"listingPolicies": {
"fulfillmentPolicyId": "248965279016",
"paymentPolicyId": "248968417016",
"returnPolicyId": "248968454016"
},
"categoryId": "178086",
"merchantLocationKey": "AAA",
"tax": {
"vatPercentage": 10.2,
"applyTax": True,
"thirdPartyTaxCategory": "Electronics"
}
}
Please help me
znts-wholesale-global
·2 years agoYes, you must publish the offer.
tixd70
OP2 years agoBut When I publish offer, I meet 400 error message.
{
"errors": [
{
"errorId": 25101,
"domain": "API_INVENTORY",
"subdomain": "Selling",
"category": "REQUEST",
"message": "Invalid <ShippingPackage>."
}
]
}
What it means?
Please help me.
znts-wholesale-global
·2 years agoWhat do you get when you call getInventory or getOffer?
tixd70
OP2 years agoOK. I check the APIs and success for both. I am getting inventory items and offered items(offerId).
But I can't find it in marketplace. Please help me. Maybe do I have to publish offer?