Files
medusa-store/docs/api/admin/components/schemas/AdminPostDiscountsDiscountDynamicCodesReq.yaml
github-actions[bot] 658339767b chore(docs): Generated API Reference (#4706)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-07 16:54:48 +03:00

19 lines
575 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 number of times the discount code can be used
default: 1
metadata:
type: object
description: An optional set of key-value pairs to hold additional information.
externalDocs:
description: Learn about the metadata attribute, and how to delete and update it.
url: >-
https://docs.medusajs.com/development/entities/overview#metadata-attribute