deleteFulfillment( )


Deletes an existing order fulfillment.

The deleteFulfillment() function returns a Promise that resolves when the fulfillment is deleted.

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.
Method Declaration
Copy
function deleteFulfillment(
  identifiers: DeleteFulfillmentIdentifiers,
): Promise<DeleteFulfillmentResponse>;
Method Parameters
identifiersDeleteFulfillmentIdentifiersRequired

Order and fulfillment IDs.

Returns
Return Type:Promise<DeleteFulfillmentResponse>
JavaScript
import { orderFulfillments } from "@wix/ecom"; async function deleteFulfillment(identifiers) { const response = await orderFulfillments.deleteFulfillment(identifiers); }
Errors

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

Did this help?