Open yu-www opened 2 months ago
In this category, size is the parameter that identifies the product, so the same EAN cannot be used. We expect that a product of a different size will have a different EAN.
W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.
There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.
hi, I currently have a question regarding create offer. The scenario is as follows: I have multiple offer that only differ in size. When I tried to create them, the first offer was created successfully, but an error occurred when I tried to release the second offer. I suspect that after the first offer was successfully created, a new product was created, which caused the error when attempting to create the second one. In this situation, how can I successfully create all of the offers?
The request and response for the first successfully created offer:
request=
{"afterSalesServices":{"impliedWarranty":{"id":"e0ecc0f4-a263-4613-a4b8-76c44f3e7952"},"returnPolicy":{"id":"4477be5d-aecb-4788-b816-2684e1fc83dc"},"warranty":{}},"delivery":{"handlingTime":"P5D","shippingRates":{"id":"67fde951-bf33-4b25-a705-9e069ebdd79f"}},"description":{"sections":[{"items":[{"content":"<ul>\n <li>Jeep children's single mesh outdoor hiking non-slip sports running shoes</li>\n <li>Jeep Kids Single Mesh Outdoor Shoes, lightweight and breathable, non-slip and wear-resistant, designed for children's hiking and running, providing a comfortable and safe outdoor experience.</li>\n</ul>","type":"TEXT"},{"type":"IMAGE","url":"https://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718879262546.jpg"}]},{"items":[{"type":"IMAGE","url":"https://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718879290872.jpg"}]},{"items":[{"type":"IMAGE","url":"https://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718877033235.jpeg"}]}]},"external":{"id":"23SS2621-blue(蓝色的)-27"},"images":["https://a.allegroimg.com/original/11773a/6e990d8a496285541281079d0be1"],"language":"en-US","location":{"city":"quanzhou","countryCode":"CN"},"name":"Jeep children's single mesh outdoor hiking non-slip sports running shoes","parameters":[{"id":"11323","valuesIds":["11323_1"]},{"id":"229205","valuesIds":["229205_340245"]}],"payments":{"invoice":"NO_INVOICE"},"productSet":[{"product":{"category":{"id":"147745"},"images":["https://a.allegroimg.com/original/11773a/6e990d8a496285541281079d0be1","https://a.allegroimg.com/original/1191b9/30ad3c9f4f54a19d12c4b3bfa05e","https://a.allegroimg.com/original/11b7a3/f63335b54ef6884cb0f79f95f534","https://a.allegroimg.com/original/11f3b2/872f68844d6e83f757c5a51fe271","https://a.allegroimg.com/original/11689f/63027e8f4294888fc0ee8f00f983"],"name":"Jeep children's single mesh outdoor hiking non-slip sports running shoes","parameters":[{"id":"249512","valuesIds":["249512_1647422"]},{"id":"246029","valuesIds":["246029_570577"]},{"id":"7174","values":["Jeep"]},{"id":"225693","values":["755132279373"]},{"id":"127768","values":["antiskid"]},{"id":"127789","valuesIds":["127789_1783656"]},{"id":"17448","values":["0.7"]},{"id":"249516","valuesIds":["249516_1647643"]},{"id":"5391","valuesIds":["5391_8"]}]}}],"publication":{"marketplaces":{"additional":[],"base":{"id":"allegro-pl"}}},"sellingMode":{"price":{"amount":"139.9","currency":"PLN"}},"stock":{"available":100,"unit":"PAIR"}}
response=
{"name":"Jeep children's single mesh outdoor hiking non-slip sports running shoes","productSet":[{"product":{"id":"7d1b9589-9eb8-4d43-bd3d-8d32106d3930","publication":{"status":"LISTED"},"parameters":[{"id":"7174","name":"Brand","values":["Jeep"],"valuesIds":["7174_400"],"rangeValue":null},{"id":"127768","name":"Character","values":["antiskid"],"valuesIds":["127768_71"],"rangeValue":null},{"id":"246029","name":"Size (new)","values":["27"],"valuesIds":["246029_570577"],"rangeValue":null},{"id":"249512","name":"Color","values":["blue"],"valuesIds":["249512_1647422"],"rangeValue":null},{"id":"225693","name":"EAN (GTIN)","values":["755132279373"],"valuesIds":null,"rangeValue":null},{"id":"127789","name":"Gender","values":["unisex"],"valuesIds":["127789_1783656"],"rangeValue":null},{"id":"17448","name":"Weight (with packaging)","values":["0.700"],"valuesIds":null,"rangeValue":null},{"id":"249516","name":"Spot color","values":["blue"],"valuesIds":["249516_1647643"],"rangeValue":null},{"id":"5391","name":"Material","values":["artificial leather"],"valuesIds":["5391_8"],"rangeValue":null}]},"quantity":{"value":1},"responsiblePerson":null}],"parameters":[{"id":"11323","name":"Condition","values":["New"],"valuesIds":["11323_1"],"rangeValue":null},{"id":"229205","name":"Packaging Status","values":["original"],"valuesIds":["229205_340245"],"rangeValue":null}],"images":["https://a.allegroimg.com/original/11773a/6e990d8a496285541281079d0be1","https://a.allegroimg.com/original/11f3b2/872f68844d6e83f757c5a51fe271","https://a.allegroimg.com/original/110aea/29998f704c26858e5b554cb935b1","https://a.allegroimg.com/original/11689f/63027e8f4294888fc0ee8f00f983","https://a.allegroimg.com/original/1191b9/30ad3c9f4f54a19d12c4b3bfa05e","https://a.allegroimg.com/original/11b7a3/f63335b54ef6884cb0f79f95f534"],"afterSalesServices":{"impliedWarranty":{"id":"e0ecc0f4-a263-4613-a4b8-76c44f3e7952"},"returnPolicy":{"id":"4477be5d-aecb-4788-b816-2684e1fc83dc"},"warranty":null},"payments":{"invoice":"NO_INVOICE"},"sellingMode":{"format":"BUY_NOW","price":{"amount":"139.90","currency":"PLN"},"startingPrice":null,"minimalPrice":null},"stock":{"available":100,"unit":"PAIR"},"location":{"countryCode":"CN","province":null,"city":"quanzhou","postCode":null},"delivery":{"shippingRates":{"id":"67fde951-bf33-4b25-a705-9e069ebdd79f"},"handlingTime":"PT120H","additionalInfo":null,"shipmentDate":null},"description":{"sections":[{"items":[{"type":"TEXT","content":"<ul>\n <li>Jeep children's single mesh outdoor hiking non-slip sports running shoes</li>\n <li>Jeep Kids Single Mesh Outdoor Shoes, lightweight and breathable, non-slip and wear-resistant, designed for children's hiking and running, providing a comfortable and safe outdoor experience.</li>\n</ul>"},{"type":"IMAGE","url":"https://a.allegroimg.com/original/11f3b2/872f68844d6e83f757c5a51fe271"}]},{"items":[{"type":"IMAGE","url":"https://a.allegroimg.com/original/110aea/29998f704c26858e5b554cb935b1"}]},{"items":[{"type":"IMAGE","url":"https://a.allegroimg.com/original/11689f/63027e8f4294888fc0ee8f00f983"}]}]},"external":{"id":"23SS2621-blue(蓝色的)-27"},"category":{"id":"147745"},"tax":null,"taxSettings":null,"sizeTable":null,"discounts":{"wholesalePriceList":null},"contact":null,"fundraisingCampaign":null,"messageToSellerSettings":null,"attachments":[],"b2b":{"buyableOnlyByBusiness":false},"additionalServices":null,"compatibilityList":null,"additionalMarketplaces":{"allegro-cz":{"sellingMode":null,"publication":{"state":"NOT_REQUESTED","refusalReasons":[]}},"allegro-sk":{"sellingMode":null,"publication":{"state":"NOT_REQUESTED","refusalReasons":[]}},"allegro-business-cz":{"sellingMode":null,"publication":{"state":"NOT_REQUESTED","refusalReasons":[]}}},"id":"15883231140","language":"en-US","publication":{"status":"INACTIVE","duration":null,"endedBy":null,"endingAt":null,"startingAt":null,"republish":false,"marketplaces":{"base":{"id":"allegro-pl"},"additional":[]}},"validation":{"errors":[],"warnings":[],"validatedAt":"2024-06-20T10:45:25.352Z"},"createdAt":"2024-06-20T10:45:25.000Z","updatedAt":"2024-06-20T10:45:25.382Z"}
traceId=d69a2e3471eb5caa,status=202
The request and response for the second failed created offer:
request=
{"afterSalesServices":{"impliedWarranty":{"id":"e0ecc0f4-a263-4613-a4b8-76c44f3e7952"},"returnPolicy":{"id":"4477be5d-aecb-4788-b816-2684e1fc83dc"},"warranty":{}},"delivery":{"handlingTime":"P5D","shippingRates":{"id":"67fde951-bf33-4b25-a705-9e069ebdd79f"}},"description":{"sections":[{"items":[{"content":"<ul>\n <li>Jeep children's single mesh outdoor hiking non-slip sports running shoes</li>\n <li>Jeep Kids Single Mesh Outdoor Shoes, lightweight and breathable, non-slip and wear-resistant, designed for children's hiking and running, providing a comfortable and safe outdoor experience.</li>\n</ul>","type":"TEXT"},{"type":"IMAGE","url":"http://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718879262546.jpg"}]},{"items":[{"type":"IMAGE","url":"http://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718879290872.jpg"}]},{"items":[{"type":"IMAGE","url":"http://img2.mangoerp.com/userbucket/15557896350/2024-06-20/1718877033235.jpeg"}]}]},"external":{"id":"23SS2621-blue(蓝色的)-28"},"images":["https://a.allegroimg.com/original/119d0c/cc1f8ce342649f01d9a9e25fd180"],"language":"en-US","location":{"city":"quanzhou","countryCode":"CN"},"name":"Jeep children's single mesh outdoor hiking non-slip sports running shoes","parameters":[{"id":"11323","valuesIds":["11323_1"]},{"id":"229205","valuesIds":["229205_340245"]}],"payments":{"invoice":"NO_INVOICE"},"productSet":[{"product":{"category":{"id":"147745"},"images":["https://a.allegroimg.com/original/119d0c/cc1f8ce342649f01d9a9e25fd180","https://a.allegroimg.com/original/11ccdb/6810dfa5476bbbf0ce98dbc1592c","https://a.allegroimg.com/original/113bcc/b857ade64e73837c3e10119f91bb","https://a.allegroimg.com/original/11b017/248bc9d74f4f93b2d0da9683f9e2","https://a.allegroimg.com/original/11689f/63027e8f4294888fc0ee8f00f983"],"name":"Jeep children's single mesh outdoor hiking non-slip sports running shoes","parameters":[{"id":"249512","valuesIds":["249512_1647422"]},{"id":"246029","valuesIds":["246029_570585"]},{"id":"7174","values":["Jeep"]},{"id":"225693","values":["755132279373"]},{"id":"127768","values":["antiskid"]},{"id":"127789","valuesIds":["127789_1783656"]},{"id":"17448","values":["0.7"]},{"id":"249516","valuesIds":["249516_1647643"]},{"id":"5391","valuesIds":["5391_8"]}]}}],"publication":{"marketplaces":{"additional":[],"base":{"id":"allegro-pl"}}},"sellingMode":{"price":{"amount":"139.9","currency":"PLN"}},"stock":{"available":100,"unit":"PAIR"}}
response=
{"errors":[{"code":"PARAMETER_MISMATCH","message":"The provided parameter 'Size (new)'(246029) value (28(246029_570585)) does not match the existing parameter value (27(246029_570577))","details":null,"path":"productSet[0].product.parameters","userMessage":"The specified product exists. The specified parameter
Size (new)with the value
28(246029_570585)does not match the product parameter
27(246029_570577).","metadata":{"productId":"7d1b9589-9eb8-4d43-bd3d-8d32106d3930"}}]}
traceId=94d5e526fbddcd4e