# KlaviyoAPI::CouponCodeUpdateQueryResourceObject ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **type** | [**CouponCodeEnum**](CouponCodeEnum.md) | | | | **id** | **String** | The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with. | | | **attributes** | [**CouponCodeUpdateQueryResourceObjectAttributes**](CouponCodeUpdateQueryResourceObjectAttributes.md) | | | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::CouponCodeUpdateQueryResourceObject.new( type: null, id: 10OFF-ASD325FHK324UJDOI2M3JNES99, attributes: null ) ```