Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Delete Fulfillment

Developer Preview

Deletes an existing fulfillment

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Orders permission scope.

DELETE

https://www.wixapis.com/stores/v2/orders/{orderId}/fulfillments/{fulfillmentId}

Path Params

NAME
TYPE
DESCRIPTION
orderId
Required

string

Order ID

fulfillmentId
Required

string

Fulfillment ID

Response Object

NAME
TYPE
DESCRIPTION
order

object

Updated order data

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Request

curl

Copy Code
1curl -X DELETE 'https://www.wixapis.com/stores/v2/orders/fedb19f5-bd4c-4bfc-b2d1-212538319611/fulfillments/0175f0e8-f877-40a9-b980-0d336c64c726' \
2-H 'Content-Type: application/json' \
3-H 'Authorization: <AUTH>'

Response

json

1
2{"order": {
3 "id": "fedb19f5-bd4c-4bfc-b2d1-212538319611",
4 "number": 10096,
5 "dateCreated": "2020-03-18T16:47:59.222Z",
6 "buyerInfo": {
7 "id": "e9a69747-6816-42fb-87bf-4cd60a408b4e",
8 "type": "CONTACT",
9 "identityType": "CONTACT",
10 "firstName": "John",
11 "lastName": "Smith",
12 "phone": "+972 555234555",
13 "email": "Ivanushka@example.com"
14 },
15 "currency": "USD",
16 "weightUnit": "LB",
17 "totals": {
18 "subtotal": "10",
19 "shipping": "3",
20 "tax": "3",
21 "discount": "1",
22 "total": "15",
23 "weight": "30",
24 "quantity": 2
25 },
26 "billingInfo": {
27 "paymentMethod": "PayPal",
28 "externalTransactionId": "tx_1806",
29 "paymentProviderTransactionId": "tx_1806",
30 "address": {
31 "fullName": {
32 "firstName": "John",
33 "lastName": "Smith"
34 },
35 "country": "US",
36 "city": "New York",
37 "zipCode": "92544",
38 "phone": "+972 555234555",
39 "email": "Ivanushka@example.com"
40 },
41 "paidDate": "2020-03-18T16:47:59.244Z"
42 },
43 "shippingInfo": {
44 "deliveryOption": "Express",
45 "estimatedDeliveryTime": "Today",
46 "shipmentDetails": {
47 "address": {
48 "fullName": {
49 "firstName": "John",
50 "lastName": "Smith"
51 },
52 "country": "US",
53 "city": "New York",
54 "zipCode": "92544",
55 "phone": "+972 555234555",
56 "email": "Ivanushka@example.com"
57 },
58 "discount": "0",
59 "tax": "1",
60 "priceData": {
61 "taxIncludedInPrice": false,
62 "price": "3"
63 }
64 }
65 },
66 "read": false,
67 "archived": false,
68 "paymentStatus": "PAID",
69 "fulfillmentStatus": "NOT_FULFILLED",
70 "lineItems": [ {
71 "index": 1,
72 "quantity": 2,
73 "price": "5",
74 "name": "my product",
75 "productId": "a1f9d337-f831-4529-31e6-67db8fd4e1aa",
76 "totalPrice": "10",
77 "lineItemType": "PHYSICAL",
78 "options": [],
79 "customTextFields": [],
80 "weight": "15",
81 "sku": "12345678",
82 "discount": "1",
83 "tax": "1",
84 "taxIncludedInPrice": false,
85 "priceData": {
86 "taxIncludedInPrice": false,
87 "price": "5",
88 "totalPrice": "10"
89 }
90 }],
91 "activities": [
92 {
93 "type": "ORDER_PLACED",
94 "timestamp": "2020-03-18T16:47:59.222Z"
95 },
96 {
97 "type": "ORDER_PAID",
98 "timestamp": "2020-03-18T16:47:59.244Z"
99 },
100 {
101 "type": "TRACKING_NUMBER_ADDED",
102 "timestamp": "2020-03-18T16:55:59.178Z"
103 }
104 ],
105 "fulfillments": [],
106 "discount": {"value": "1"},
107 "buyerLanguage": "en",
108 "channelInfo": {"type": "WEB"},
109 "enteredBy": {
110 "id": "e85274cf-047a-4989-baff-dac5e0c3971d",
111 "identityType": "USER"
112 },
113 "lastUpdated": "2020-03-18T16:59:49.740Z"
114}}