Deprecated.
This function will continue to work until September 4, 2024, but a newer version is available at
wix-ecom-backend.OrderFulfillments.updateFulfillment()
.
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.updateFulfillment()
.
To migrate to the new function:
Add the new import statement:
Look for any code that uses wixStoresBackend.updateFulfillment()
,
and replace it with orderFulfillments.updateFulfillment()
.
Update your code to work with the new updateFulfillment()
response properties.
Test your changes to make sure your code behaves as expected.
Updates an existing fulfillment in an order.
The updateFulfillment()
function returns a Promise that is resolved
to an updated Order
object when the specified fulfillment in the order
is updated.
Currently, you can only update a fulfillment's tracking information.
ID of the order to update the fulfillment in.
ID of the fulfillment to update.
Tracking information to update in the fulfillment.