PUT

Update Fulfillment


Deprecated

This method has been replaced with Update Fulfillment, and will be removed on September 4, 2024.

Deprecation Notice:

This endpoint has been replaced with eCommerce Update Fulfillment and will be removed on September 4, 2024.

Updates an existing fulfillment.

Authentication

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

Permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
PUT
https://www.wixapis.com/stores/v2/orders/{orderId}/fulfillments/{fulfillmentId}

Path Params
orderIdstringRequired

Order ID.


fulfillmentIdstringRequired

Fulfillment ID

Body Params
fulfillmentTrackingInfoFulfillmentTrackingInfo

Updated tracking info.

Response Object
orderOrder

Updated order data.

Update Fulfillment Example 1
Request
cURL
curl -X PUT 'https://www.wixapis.com/stores/v2/orders/fedb19f5-bd4c-4bfc-b2d1-212538319611/fulfillments/5945017a-bf19-414e-ae67-af3d2dbc66ff' \ --data-binary '{ "fulfillmentTrackingInfo": { "shippingProvider": "fedex", "trackingNumber": "123" } }' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "order":{ "id":"fedb19f5-bd4c-4bfc-b2d1-212538319611", "number":10096, "dateCreated":"2020-03-18T16:47:59.222Z", "buyerInfo":{ "id":"e9a69747-6816-42fb-87bf-4cd60a408b4e", "type":"CONTACT", "identityType":"CONTACT", "firstName":"John", "lastName":"Smith", "phone":"+972 555234555", "email":"Ivanushka@example.com" }, "currency":"USD", "weightUnit":"LB", "totals":{ "subtotal":"10", "shipping":"3", "tax":"3", "discount":"1", "total":"15", "weight":"30", "quantity":2 }, "billingInfo":{ "paymentMethod":"PayPal", "externalTransactionId":"tx_1806", "paymentProviderTransactionId":"tx_1806", "address":{ "fullName":{ "firstName":"John", "lastName":"Smith" }, "country":"US", "city":"New York", "zipCode":"92544", "phone":"+972 555234555", "email":"Ivanushka@example.com" }, "paidDate":"2020-03-18T16:47:59.244Z" }, "shippingInfo":{ "deliveryOption":"Express", "estimatedDeliveryTime":"Today", "shipmentDetails":{ "address":{ "fullName":{ "firstName":"John", "lastName":"Smith" }, "country":"US", "city":"New York", "zipCode":"92544", "phone":"+972 555234555", "email":"Ivanushka@example.com" }, "trackingInfo":{ "trackingNumber":"123", "shippingProvider":"FEDEX", "trackingLink":"https://www.fedex.com/apps/fedextrack/?action=track&trackingnumber=123" }, "discount":"0", "tax":"1", "priceData":{ "taxIncludedInPrice":false, "price":"3" } } }, "read":false, "archived":false, "paymentStatus":"PAID", "fulfillmentStatus":"PARTIALLY_FULFILLED", "lineItems":[ { "index":1, "quantity":2, "price":"5", "name":"my product", "productId":"a1f9d337-f831-4529-31e6-67db8fd4e1aa", "totalPrice":"10", "lineItemType":"PHYSICAL", "options":[
Errors

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

Did this help?