Docs

Duplicated discount group name

Discount groups must have a unique name.

Example response
{
"error": {
"type": "request_error",
"code": "discount_group_name_conflict",
"detail": "Discount group name conflicts with the name of the discount group: dsg_01ghbk4xjn4qdsmstcwzgcgg35",
"documentation_url": "https://developer.paddle.com/errors/discounts/discount_group_name_conflict"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
409
Error code
discount_group_name_conflict
Error message
Discount group name conflicts with the name of the discount group: %s

Common causes

  • You're trying to create a discount group using a name already in use.
  • You're trying to update a discount group to use a name already in use.

Troubleshooting

  • Use a different discount group name for this request.
  • Update the name of the conflicting discount group, then try again.

Was this page helpful?