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
.
You can only call this method when authenticated as a Wix app or Wix user identity.
Fulfillment ID.
Order ID.
Fulfillment info to update.
Order ID and the orders' associated fulfillments after update.
Updating a fulfillment's tracking number and tracking link.
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"
}
}
}'
{
"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"
}
}
]
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.