Deprecated.
This function will continue to work until September 4, 2024, but a newer version is available at
wix-ecom-backend.OrderFulfillments.deleteFulfillment()
.
We recommend you migrate to the new Wix eCommerce APIs as soon as possible.
If this function is already in your code, it will continue to work.
To stay compatible with future changes, migrate to
wix-ecom-backend.OrderFulfillments.deleteFulfillment()
.
To migrate to the new function:
Add the new import statement:
1
Look for any code that uses wixStoresBackend.deleteFulfillment()
,
and replace it with orderFulfillments.deleteFulfillment()
.
Update your code to work with the new deleteFulfillment()
response properties.
Test your changes to make sure your code behaves as expected.
Deletes a fulfillment from an order.
The deleteFulfillment()
function returns a Promise that is resolved
to an updated Order
object when the specified fulfillment
is deleted from the order.
ID of the order to delete the fulfillment from.
ID of the fulfillment to delete.