Hello all,
I am currently implementing an application that sends products via Showpare6’s SyncApi.
In general everything works fine and also creating variant products is fine.
However, I get the following error message, whenever I try to upsert an already existing product with variations:
[message] => Transaction commit failed because the transaction has been marked for rollback only.
[code] => 0
[status] => 500
I figured already out, that this is caused by having the „configuratorSettings“ Element in the payload of the parent product:
"configuratorSettings": [
{ "optionId": "b84f4a2a08701097a126b375cee90b5a" },
{ "optionId": "c29a7236206bbe969e49bd7821d5a1cb" },
{ "optionId": "989bfd01a27b2d6a4997109de161401f" },
{ "optionId": "830622b02a4c07f8846c572d0e25a307" },
{ "optionId": "9d8cecb6ea7cb577265086e5cbb38a3f" },
{ "optionId": "56250a139d395b32955e68a3c88aa917" },
{ "optionId": "3021dc1406a7951808bbbb15fe873722" }
],
As soon as I remove this part, I can upsert the products without any problems.
Nevertheless, as I only run one SyncCall for inserting and updating the products, I need to have this part in the payload.
Is this a bug, or is it on purpose?
Kindest,
Luca