PATCH

Update Fulfillment


Updates a fulfillment's properties.

To update a field's value, include the new value in the fulfillment field in the body params. To remove a field's value, pass null.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/ecom/v1/fulfillments/{fulfillment.id}/orders/{orderId}

Path Params
fulfillment.idstringRequired

Fulfillment ID.

Body Params
orderIdstringRequired

Order ID.


fulfillmentFulfillment

Fulfillment info to update.

Response Object
orderWithFulfillmentsOrderWithFulfillments

Order ID and the orders' associated fulfillments after update.

Update Fulfillment

Updating a fulfillment's tracking number and tracking link.

Request
cURL
curl -X PATCH \ 'https://www.wixapis.com/ecom/v1/fulfillments/1d93cd8e-0de5-469b-b802-88bcd76cb222/orders/eb4b91d3-51f3-494d-94df-479ff2c6eb08' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ --data-binary '{ "fulfillment": { "trackingInfo": { "trackingNumber": "45782", "trackingLink": "https://www.fedex.com/apps/fedextrack/?action=track&trackingnumber=45782" } } }'
Response
JSON
{ "orderWithFulfillments": { "orderId": "eb4b91d3-51f3-494d-94df-479ff2c6eb08", "fulfillments": [ { "id": "1d93cd8e-0de5-469b-b802-88bcd76cb222", "createdDate": "2023-02-27T11:42:48.021Z", "lineItems": [ { "id": "00000000-0000-0000-0000-000000000001", "quantity": 1 } ], "trackingInfo": { "trackingNumber": "45782", "shippingProvider": "fedex", "trackingLink": "https://www.fedex.com/apps/fedextrack/?action=track&trackingnumber=45782" } } ] } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?