updateFulfillment( )


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.

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.updateFulfillment().

To migrate to the new function:

  1. Add the new import statement:

    Copy
  2. 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.

  3. 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.

Method Declaration
Copy
Method Parameters
orderIdstringRequired

ID of the order to update the fulfillment in.


fulfillmentIdstringRequired

ID of the fulfillment to update.


trackingInfoTrackingInfoRequired

Tracking information to update in the fulfillment.

Returns
Return Type:Promise<Order>
Did this help?