deleteFulfillment( )
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.
Migration Instructions
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:
Copy1 -
Look for any code that uses
wixStoresBackend.deleteFulfillment()
, and replace it withorderFulfillments.deleteFulfillment()
. Update your code to work with the newdeleteFulfillment()
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.