|
1
|
type: object |
|
2
|
description: The details of a store's currency. |
|
3
|
x-schemaName: AdminStoreCurrency |
|
4
|
required: |
|
5
|
- id |
|
6
|
- currency_code |
|
7
|
- store_id |
|
8
|
- is_default |
|
9
|
- currency |
|
10
|
- created_at |
|
11
|
- updated_at |
|
12
|
- deleted_at |
|
13
|
properties: |
|
14
|
id: |
|
15
|
type: string |
|
16
|
title: id |
|
17
|
description: The currency's ID. |
|
18
|
currency_code: |
|
19
|
type: string |
|
20
|
title: currency_code |
|
21
|
description: The currency's code. |
|
22
|
example: usd |
|
23
|
store_id: |
|
24
|
type: string |
|
25
|
title: store_id |
|
26
|
description: The ID of the store this currency belongs to. |
|
27
|
is_default: |
|
28
|
type: boolean |
|
29
|
title: is_default |
|
30
|
description: Whether this currency is the default in the store. |
|
31
|
currency: |
|
32
|
$ref: ./AdminCurrency.yaml |
|
33
|
created_at: |
|
34
|
type: string |
|
35
|
format: date-time |
|
36
|
title: created_at |
|
37
|
description: The date the currency was created. |
|
38
|
updated_at: |
|
39
|
type: string |
|
40
|
format: date-time |
|
41
|
title: updated_at |
|
42
|
description: The date the currency was updated. |
|
43
|
deleted_at: |
|
44
|
type: string |
|
45
|
format: date-time |
|
46
|
title: deleted_at |
|
47
|
description: The date the currency was deleted. |