Files
medusa-store/docs/api/admin/components/schemas/AdminPostDiscountsDiscountDynamicCodesReq.yaml
2023-02-09 09:50:55 +02:00

15 lines
357 B
YAML

type: object
required:
- code
properties:
code:
type: string
description: A unique code that will be used to redeem the Discount
usage_limit:
type: number
description: Maximum times the discount can be used
default: 1
metadata:
type: object
description: An optional set of key-value pairs to hold additional information.