Skip to main content

CreatePromotionCodeRequest

codestringnullable
couponIdstringrequired

Possible values: non-empty

expiresAtstring<date-time>nullable
maxRedemptionsinteger<int32>nullable
metadata object
property name*string
CreatePromotionCodeRequest
{
"code": "string",
"couponId": "string",
"expiresAt": "2024-07-29T15:51:28.071Z",
"maxRedemptions": 0,
"metadata": {}
}