POST api/sellers/currency?token={token}
Set seller currency rate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
Токен авторизации |
string |
Required |
Body Parameters
SetSellerCurrencyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| base_currency | BaseCurrency |
None. |
|
| rate | decimal number |
None. |
|
| bank | BankTypes |
None. |
|
| complement | decimal number |
None. |
|
| type_currency | TypeCurrency |
None. |
Request Formats
application/json, text/json
Sample:
{
"base_currency": 0,
"rate": 1.0,
"bank": 0,
"complement": 2.0,
"type_currency": 0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<SetSellerCurrencyRequest> <BaseCurrency>USD</BaseCurrency> <Rate>1</Rate> <Bank>MR</Bank> <Complement>2</Complement> <TypeCurrency>USD</TypeCurrency> </SetSellerCurrencyRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.