Question

Is there any way that I can bundle multiple SOAP API calls into a single transaction, such that if one or more fails the entire transaction is rolled back?

In my particular case, I am attempting to post a shipment and add tracking information. However if the posting of the shipment or adding tracking information fails, I would like to log the error and retry once it is resolved. This would be better than having a shipment without tracking information.

If this is not possible in the current SOAP API, I will delete the shipment upon failure. I would prefer to use a transaction though.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top