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