@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
46 lines • 1.07 kB
TypeScript
/**
* discount coupons resource object
*/
export type discount_coupons = {
applies_to_product_types?: string;
code?: string;
/**
* Unique identifier (UUID format)
*/
coupon_id?: string;
/**
* ISO 8601 datetime
*/
readonly created_at?: string;
current_uses?: number;
customer_type?: string;
description?: string;
discount_fixed_amount?: number;
discount_percentage?: number;
discount_type?: string;
environment?: string;
/**
* ISO 8601 datetime
*/
expires_at?: string;
/**
* Whether this resource is currently active
*/
is_active?: boolean;
is_organization_wide?: boolean;
max_quantity_per_use?: number;
max_uses?: number;
/**
* Unique identifier (UUID format)
*/
organization_id?: string;
scope_type?: string;
/**
* ISO 8601 datetime
*/
readonly updated_at?: string;
usage_frequency_limit?: string;
usage_limit_value?: number;
valid_from?: string;
};
//# sourceMappingURL=discount_coupons.d.ts.map