1 /**
2 * @schema AdminUpdateGiftCardParams
3 * type: object
4 * description: The details to update in the gift card.
5 * x-schemaName: AdminUpdateGiftCardParams
6 * properties:
7 * status:
8 * type: string
9 * description: The gift card's status.
10 * enum:
11 * - pending
12 * - redeemed
13 * value:
14 * type: number
15 * title: value
16 * description: The gift card's amount.
17 * customer_id:
18 * type: string
19 * title: customer_id
20 * description: The ID of the customer that the gift card belongs to.
21 * currency_code:
22 * type: string
23 * title: currency_code
24 * description: The gift card's currency code.
25 * example: usd
26 * note:
27 * type: string
28 * title: note
29 * description: The gift card's note.
30 * expires_at:
31 * type: string
32 * title: expires_at
33 * description: The date the gift card expires at.
34 * metadata:
35 * type: object
36 * description: The gift card's metadata.
37 * externalDocs:
38 * url: https://docs.medusajs.com/api/admin#manage-metadata
39 * description: Learn how to manage metadata
40 *
41 */
42