Update a Currency
Update a Currency by ID
PUT
https://api.moltin.com/v2/currencies/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The ID for the requested Currency |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The Bearer token to grant access to the API |
Request Body
Name | Type | Description |
---|---|---|
type | string | The type represents the object being returned. Always |
code | string | The currency code. Example: |
enabled | boolean | Is this currency available for products? |
default | boolean | Is this the default currency? |
decimal_places | integer | How many decimal places the currency is formatted to |
thousand_separator | string | The thousand separator character. Example: |
decimal_point | string | The decimal point character. Example: |
format | string | Specify how the price currency is displayed. Example: |
exchange_rate | string | The exchange rate from the default currency |
Last updated