Update a Coupon

Update an existing coupon's configuration. Common updates include modifying discount values, extending validity dates, adjusting usage limits, and enabling or disabling the coupon. Updatable fields vary by platform.

Note: Refer to the platform-specific endpoint for supported update fields.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Available platforms

This endpoint is supported by 4 platforms. Click on each platform to see its specific updatable fields and required parameters.

Mercado Libre · Shopify · Tray · WooCommerce

Updatable fields vary by platform. Refer to the platform-specific endpoint for supported update fields.

Path Params
string
required

The unique identifier of the coupon in the connected platform.

Body Params

Coupon fields to update. Send only the fields you want to change — omitted fields are not modified. Available fields vary by platform.

string

Updated coupon code. Note that changing the code will invalidate any existing uses of the previous code.

string

Updated discount type: percentage or fixed.

number

Updated discount amount or percentage value.

number

Updated minimum order subtotal required to apply this coupon. Set to 0 to remove the minimum.

integer

Updated maximum number of times this coupon can be used. Set to null for unlimited usage.

boolean

Set to false to deactivate the coupon without deleting it. Set to true to reactivate it.

dates
object

Updated validity period for the coupon.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json