Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 4557135

Browse files
feat: consume_unit for promotion codes type (#833)
* feat: consume_unit for promotion codes type * fix: not required
1 parent 8f731e4 commit 4557135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types/promotions.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export interface PromotionCode {
192192
created_by ?: string
193193
max_uses ?: number
194194
meta ?: PromotionMeta
195+
consume_unit?: 'per_cart' | 'per_item'
195196
}
196197

197198
export interface DeletePromotionCodesBodyItem extends ResourceList<any> {

0 commit comments

Comments
 (0)