id | Integer | A unique identifier for the promo code. |
name | String | The name or code of the promo code. |
type | Integer | The type of discount, either a percentage or a fixed amount off. Types 1=> Amount, 2=> Percentage, 3=> Free Delivery, 4=> Exclusive. |
amount | Integer | The amount of discount provided by the promo code. |
max_amount | Integer | The maximum amount that can be discounted with this promo code. |
description | String | A description of the promo code. |
expiration_date | DataTime | The date and time at which the promo code expires. |
is_voucher | Integer | Indicates whether the promo code is a voucher or not. |
active | Integer | Indicates whether the promo code is currently active or not. |
created_at | Timestamp | The date and time at which the promo code was created. |
updated_at | Timestamp | The date and time at which the promo code was last updated. |
deactivation_notes | String | Any notes related to the deactivation of the promo code. |
first_order | Integer | Indicates whether the promo code is valid only for the first order or not. |
minimum_amount | Integer | The minimum amount required for the promo code to be valid. |
list_id | Integer | The ID of the custom list the promo code is a part of. |
target_type | Integer | The target type of the promo code, such as a specific product or category. |
deleted_at | DataTime | The date and time at which the promo code was deleted, if applicable. |
start_date | DataTime | The date and time at which the promo code becomes valid. |
uses_per_user | Integer | The maximum number of times a user can use this promo code. |
usage_limit | Integer | The maximum number of times this promo code can be used. |
work_with_promotion | Integer | Indicates whether the promo code can be used with other promotions or not. |
show_in_product | Integer | Indicates whether the promo code is displayed on the product page or not. |
free_delivery | Integer | Indicates whether the promo code provides free delivery or not. |
loyalty_method | Integer | The method of loyalty points calculation associated with the promo code. |
loyalty_id | Integer | The ID of the loyalty program associated with the promo code. |
check_all_conditions | Integer | Indicates whether all conditions need to be met for the promo code to be valid or not. |
auto_add_to_new_registered_users | Integer | Indicates whether the promo code is automatically added to new registered users. |
promo_credit | Integer | The credit amount associated with the promo code. |
usage_limit_per | Integer | The maximum number of times this promo code can be used per user. |
use_number | Integer | The current number of times this promo code has been used. |