question

www_bzik_store avatar image
0 Likes"
www_bzik_store asked ·

Trying to create/publish offer from inventory

Im trying to create offer from inventory like in this example: {"sku": "133387298984410", "marketplaceId": "EBAY_PL", "format": "FIXED_PRICE", "merchantLocationKey": "OWN_STORE", "availableQuantity": 88888, "categoryId": "260152", "listingDescription": "Przedmiotem oferty jest:", "listingPolicies": {"fulfillmentPolicyId": "181330733011", "paymentPolicyId": "181330732011", "returnPolicyId": "182448740011"}, "pricingSummary": {"price": {"currency": "PLN", "value": "19.44"}}, "quantityLimitPerBuyer": 3, "includeCatalogProductDetails": false} I receive response: error_code=201 and the response body: `{'offerId': '44423525015'}` which seems to be correct... So in next step I obviously trying to publish this newly created offer using: response = session.post(DEFAULT_API_URL + '/sell/inventory/v1/offer/44423525015/publish/', timeout=60) This part is constantly failing with response: error_code=400 and error message: {'errors': [{'errorId': 25604, 'domain': 'API_INVENTORY', 'subdomain': 'Selling', 'category': 'REQUEST', 'message': 'Input error. Seller Inventory Service can not publish the data. Product not found. Please try again or contact customer support..'}]} What is strange I was also trying to get offer this offer by: response = session.get(DEFAULT_API_URL + '/sell/inventory/v1/offer/44423525015', timeout=60) and also cant do this. Like offer wouldn't exist.. . I wonder whats the trick in this situation... is this because of some delay/latency between creation and publishing or some credentials in token are wrong?
offer
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.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·
Hi @www_bzik_store, Could you please retry and if the issue still persists please add RlogID of CreateOffer and PublishOffer. Best Regards, eBay Developer Support
· Share
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.

www_bzik_store avatar image
0 Likes"
www_bzik_store answered ·
When trying to get offer by: response = session.get(DEFAULT_API_URL + '/sell/inventory/v1/offer/44423525015', timeout=60) I receive: {'errors': [{'errorId': 25001, 'domain': 'API_INVENTORY', 'subdomain': 'Selling', 'category': 'SYSTEM', 'message': 'A system error has occurred.'}]}
· Share
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.

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.