Skip to main content
PUT
Update Discount
V2 Alpha — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Update an existing discount code owned by the authenticated vendor.

Path Parameters

string
required
Discount ObjectId.

Request Body

string
Updated title.
string
Updated end date (ISO 8601).
string
Updated status. One of: active, expired, disabled.

Response

200

Example