PATCH

Update Promotion


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 promotion.

Each time the promotion is updated, revision increments by 1. The current revision must be passed when updating the promotion. This ensures you're working with the latest promotion and prevents unintended overwrites.

To update multiple promotions in a single API call, call Bulk Update Promotions.

Authentication

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

Permissions
Manage v3 catalog
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/stores/v3/promotions/{promotion.id}

Errors
400Invalid Argument

There are 3 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?