PATCH

Update Delivery Profile


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a DeliveryProfile.

Each time the DeliveryProfile is updated, revision increments by 1. The current revision must be passed when updating the DeliveryProfile. This ensures you're working with the latest DeliveryProfile and prevents unintended overwrites. Revision is required for all updates, including partial updates via field_mask, to prevent concurrent modification conflicts.

This method does not allow updating the DeliveryRegions in this DeliveryProfile. To manage delivery regions within this profile, use the AddDeliveryRegion, UpdateDeliveryRegion, and RemoveDeliveryRegion methods. These dedicated methods ensure proper validation of destinations and carriers.

Note: The field mask is automatically inferred from the fields you provide in delivery_profile. You don't need to manually specify which fields to update.

Authentication

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

Permissions
Manage eCommerce - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/ecom/v1/delivery-profiles/{deliveryProfile.id}

Errors
400Invalid Argument

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

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