Create a discount group

Permission required
posthttps://api.paddle.com/discount-groups

Creates a new discount group.

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

Request Body

namestringrequired

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

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.