{ "name": "911c3b3c-8634-42b4-991b-1e86c27c2154", "marketplaceId": "EBAY_PL", "categoryTypes": [{ "name": "ALL_EXCLUDING_MOTORS_VEHICLES", "default": false }], "handlingTime": { "value": 2, "unit": "DAY" }, "shipToLocations": { "regionIncluded": [{ "regionName": "AT" }, { "regionName": "BE" }, { "regionName": "CZ" }, { "regionName": "DE" }, { "regionName": "DK" }, { "regionName": "EE" }, { "regionName": "ES" }, { "regionName": "FI" }, { "regionName": "FR" }, { "regionName": "GB" }, { "regionName": "HR" }, { "regionName": "HU" }, { "regionName": "IE" }, { "regionName": "IT" }, { "regionName": "LT" }, { "regionName": "LU" }, { "regionName": "LV" }, { "regionName": "MC" }, { "regionName": "NL" }, { "regionName": "PT" }, { "regionName": "SE" }, { "regionName": "SI" }, { "regionName": "SK" }], "regionExcluded": [] }, "shippingOptions": [{ "optionType": "DOMESTIC", "costType": "FLAT_RATE", "shippingServices": [{ "sortOrder": 1, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DomesticRegular", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }], "insuranceOffered": false, "insuranceFee": { "value": "0.0", "currency": "PLN" } }, { "optionType": "INTERNATIONAL", "costType": "FLAT_RATE", "shippingServices": [{ "sortOrder": 1, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DHLInternational", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "shipToLocations": { "regionIncluded": [{ "regionName": "AT" }, { "regionName": "BE" }, { "regionName": "HU" }, { "regionName": "LT" }, { "regionName": "LU" }, { "regionName": "NL" }, { "regionName": "SI" }] }, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }, { "sortOrder": 2, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DHLInternational", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "shipToLocations": { "regionIncluded": [{ "regionName": "FR" }, { "regionName": "GB" }, { "regionName": "HR" }, { "regionName": "IT" }, { "regionName": "MC" }] }, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }, { "sortOrder": 3, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DHLInternational", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "shipToLocations": { "regionIncluded": [{ "regionName": "CZ" }, { "regionName": "DE" }, { "regionName": "SK" }] }, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }, { "sortOrder": 4, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DHLInternational", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "shipToLocations": { "regionIncluded": [{ "regionName": "DK" }, { "regionName": "EE" }, { "regionName": "FI" }, { "regionName": "LV" }, { "regionName": "SE" }] }, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }, { "sortOrder": 5, "shippingCarrierCode": "GENERIC", "shippingServiceCode": "PL_DHLInternational", "shippingCost": { "value": "1.0", "currency": "PLN" }, "additionalShippingCost": { "value": "1.0", "currency": "PLN" }, "freeShipping": false, "shipToLocations": { "regionIncluded": [{ "regionName": "ES" }, { "regionName": "IE" }, { "regionName": "PT" }] }, "buyerResponsibleForShipping": false, "buyerResponsibleForPickup": false }], "insuranceOffered": false, "insuranceFee": { "value": "0.0", "currency": "PLN" } }], "globalShipping": false, "pickupDropOff": false, "freightShipping": false, "fulfillmentPolicyId": "126779462019" }To publish an offer like:
{ "offerId": "12021210013", "sku": "5a8eff908919494106961361", "marketplaceId": "EBAY_PL", "format": "FIXED_PRICE", "availableQuantity": 1, "pricingSummary": { "price": { "value": "203.5", "currency": "PLN" } }, "listingPolicies": { "paymentPolicyId": "126418946019", "returnPolicyId": "126419789019", "shippingCostOverrides": [ { "shippingCost": { "value": "25.01", "currency": "PLN" }, "shippingServiceType": "DOMESTIC", "priority": 1 }, { "shippingCost": { "value": "42.9", "currency": "PLN" }, "shippingServiceType": "INTERNATIONAL", "priority": 1 }, { "shippingCost": { "value": "60.33", "currency": "PLN" }, "shippingServiceType": "INTERNATIONAL", "priority": 2 }, { "shippingCost": { "value": "36.2", "currency": "PLN" }, "shippingServiceType": "INTERNATIONAL", "priority": 3 }, { "shippingCost": { "value": "53.63", "currency": "PLN" }, "shippingServiceType": "INTERNATIONAL", "priority": 4 }, { "shippingCost": { "value": "63.01", "currency": "PLN" }, "shippingServiceType": "INTERNATIONAL", "priority": 5 } ], "fulfillmentPolicyId": "126779462019" }, "categoryId": "70911", "tax": { "vatPercentage": 23, "applyTax": true }, "status": "UNPUBLISHED", "eBayPlusEligible": false, "merchantLocationKey": "5a8eddfcf410767b4d49777b" }... and got errors:
{ "errors": [ { "errorId": 25007, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Fulfillment policy. Wybierz miejsce dostawy za granicą." }, { "errorId": 25007, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "The eBay listing associated with the inventory item, or the unpublished offer has invalid data in the associated Fulfillment policy. Usługa wysyłkowa została określona więcej niż raz. Wybierz inną usługę wysyłkową lub usuń zduplikowaną usługę wysyłkową." }, { "errorId": 25002, "domain": "API_INVENTORY", "subdomain": "Selling", "category": "REQUEST", "message": "A user error has occurred. Podczas przetwarzania Twojego polecenia wystąpił błąd numer \"Shipto.CustomLocation.Required\".", "parameters": [ { "name": "0", "value": "Shipto.CustomLocation.Required" } ] } ] }1. Wybierz miejsce dostawy za granicą. - Choose a place of delivery abroad. 2. Usługa wysyłkowa została określona więcej niż raz. Wybierz inną usługę wysyłkową lub usuń zduplikowaną usługę wysyłkową. - The mailing service has been determined more than once. Choose a different mailing service or delete the duplicate mailing service. 3. Podczas przetwarzania Twojego polecenia wystąpił błąd numer "Shipto.CustomLocation.Required". - "Shipto.CustomLocation.Required" error occurred while processing your command. My question: how to fix it? Or if this not possibile by design: Does this make sense to create inventory item + offer + fullfillment policy for each country group to handle this real life situations in ebay API? PS. Limiting INTERNATIONAL shippingServices to 5 its insane - i must cut some! PPS. Sorry for my english.