Update a discount group

Permission required

Updates a discount group using its ID.

If successful, your response includes a copy of the updated discount group entity.

Path Parameters

discount_group_idstringrequired

Paddle ID of the discount group entity to work with.

Request Body

statusstring

Whether this entity can be used in Paddle.

namestring

Name of this discount group, typically something short and memorable for categorization. Not shown to customers.

Response

dataobject

Represents a discount group entity.

idstring

Unique Paddle ID for this discount group, prefixed with dsg_.

namestring

Unique name of this discount group, typically something short and memorable for categorization. Not shown to customers.

statusstring

Whether this entity can be used in Paddle.

created_atstring<date-time>

RFC 3339 datetime string of when this entity was created. Set automatically by Paddle.

updated_atstring<date-time>

RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.

import_metaobject or null

Import information for this entity. null if this entity is not imported.

metaobject

Information about this response.

request_idstring

Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.