# KlaviyoAPI::CouponCodeCreateQueryResourceObjectAttributes ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **unique_code** | **String** | This is a unique string that will be or is assigned to each customer/profile and is associated with a coupon. | | | **expires_at** | **Time** | The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year. | [optional] | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::CouponCodeCreateQueryResourceObjectAttributes.new( unique_code: ASD325FHK324UJDOI2M3JNES99, expires_at: 2023-01-01T00:00Z ) ```