younifyd
Menu

Get price roundings

Get price roundings.

GET/shops/{shopKey}/countries/{countryCode}/price-roundings

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get price roundings action (under ShopCountryPriceRoundings).
  3. Fill in the fields below, then reference the result from later steps as {{getPriceRoundings.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

Response

Returns 200 with an object. Read it in later steps with {{getPriceRoundings.response.data.<field>}}.

entitiesarray<object>
idinteger

The ID of the price rounding created by SCAYLE.

currencyCodestringrequired

Currency code in ISO 4217 format.

precisionstringrequired

The precision that should be applied to a price, ENUM of "1.00", "5.00", "0.50", "0.05", "0.01", "0.99", "0.95", "0.90".

One of1.005.000.500.050.010.990.950.90

roundingTypestringrequired

The rounding type that should be used when rounding a price.

One ofnearestupdown

json
{
  "entities": [
    {
      "currencyCode": "EUR",
      "precision": "1.00",
      "roundingType": "nearest",
      "id": 1
    }
  ]
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.