question

glerie avatar image
0 Likes"
glerie asked ·

Item.Country not specified while publishing offer,No Item.Country specified while publishing offer

I'm trying to create an offer for an added inventory item. This is my post request: STEP 1: Payload: { "availability": { "pickupAtLocationAvailability": [ { "availabilityType": "IN_STOCK", "fulfillmentTime": { "unit": "DAY", "value": 10 }, "merchantLocationKey": "%s", "quantity": 10 } ], "shipToLocationAvailability": { "quantity": 10 } }, "condition": "NEW", "subtitle": "string", "conditionDescription": "string", "packageWeightAndSize": { "dimensions": { "height": 10, "length": 10, "unit": "CENTIMETER", "width": 10 }, "packageType": "LETTER", "weight": { "unit": "KILOGRAM", "value": 1 } }, "product": { "aspects": { "Brand": [ "yteryety" ], "Type": [ "Helmet/Action" ], "Storage Type": [ "Removable" ], "Recording Definition": [ "High Definition" ], "Media Format": [ "Flash Drive (SSD)" ], "Optical Zoom": [ "10x" ], "Size": [ "L" ] }, "brand": "GoPro", "description": "string", "imageUrls": [ " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1000.jpg";, " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1001.jpg";, " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1002.jpg"; ], "mpn": "CHDHX-401", "title": "string", "isbn": [ "string" ], "upc": [ "string" ], "ean": [ "string" ], "epid": "string" } } (edited) Endpoint: https://api.ebay.com/sell/inventory/v1/inventory_item/SKU.TEST.123 SERVER: 200 STEP.2 Payload: { "categoryId": "1", "sku": 'SKU.TEST.123', "marketplaceId": 'EBAY_IT', "format": "FIXED_PRICE", "pricingSummary": { "price": { "currency": "EUR", "value": 272.17 } } } Endpoint: https://api.ebay.com/sell/inventory/v1/offer SERVER: 204 STEP 3: POST: https://api.sandbox.ebay.com/sell/inventory/v1/offer/51367744010/publish/ Which outputs the following error message: { "create": {}, "update": null, "publish": { "platform_id": 1, "status": 400, "reason": "Bad Request", "data": { "errors": [ { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "Si è verificato un errore di dell'utente. Non esiste nessun <Item.Country> oppure è specificato come un tag vuoto nella richiesta", "parameters": [ { "name": "0", "value": "Item.Country" } ] } ] }, "text": "{\"errors\":[{\"errorId\":25002,\"domain\":\"API_INVENTORY\",\"subdomain\":\"Selling\",\"category\":\"REQUEST\",\"message\":\"Si è verificato un errore di dell'utente. Non esiste nessun <Item.Country> oppure è specificato come un tag vuoto nella richiesta\",\"parameters\":[{\"name\":\"0\",\"value\":\"Item.Country\"}]}]}", "url": " https://api.ebay.com/sell/inventory/v1/offer/51367744010/publish/"; } } SERVER:400 I've already set merchantLocationKey (in fact the only occurrence of "Country" parameter is while setting this object, and I've set it correctly). So I can't figure out where to set this "Item.Country" parameter.
inventory apiofferpublish offer errorpublish offeroffer publish400
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.