docs
  1. Admin Api
  2. Resources
  3. Price Rounding
  4. Create Price Rounding

Create price rounding

Create a new price rounding

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms
countryCode
  • required
string
Example:
de

Request body

required
ParameterDetails
id
  • readonly
integer
Example:
1
currencyCode
  • required
string
Example:
EUR
precision
  • required
string
Enum:
1.00
5.00
0.05
0.99
0.95
0.90
roundingType
  • required
string
Enum:
nearest
up
down

Responses

201
Price rounding was successfully created.
application/json
Success
id
integer
Example:
1
currencyCoderequired
string
Example:
EUR
precisionrequired
string
roundingTyperequired
string
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
POST/shops/{shopKey}/countries/{countryCode}/price-roundings

Request samples

Response samples

201
ShopCountryPriceRounding:
Content type: application/json
Provide Feedback