younifyd
Menu

Get all product variant prices

Get all product variant prices

GET/variants/{variantIdentifier}/prices

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get all product variant prices action (under Prices).
  3. Fill in the fields below, then reference the result from later steps as {{getAllProductVariantPrices.response.data}}.

Request

Path parameters

variantIdentifieroneOfrequired

Product variant ID or reference key. If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Query parameters

witharray<string>

Comma-separated list of additional properties that should be included in the response.

Response

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

entitiesarray<object>
keystring

Key assigned by SCAYLE.

priceintegerrequired

Price of the variant.

oldPriceinteger

Old price of the variant.

recommendedRetailPriceinteger

Recommended retail price of the variant.

buyingPriceinteger

Buying price of the variant.

taxnumber (double)required

A valid tax rate.

countryCodestringrequired

ISO 3166 alpha 2 country code.

currencyCodestringrequired

ISO 4217 currency code.

groupKeystring

Key of the group the price is assigned to.

promotionKeystring

Key of the promotion the price is assigned to.

unitPriceobject3 fields

Describes the unit price.

validFromstring (date-time)

Controls when the price will be activated. If not present or null, the valid from is specified from now.

validTostring (date-time)

Controls when the price will be deactivated. If not present or null, the price is valid forever.

merchantReferenceKeystring

A merchant reference key the price belongs to.

customDataany
json
{
  "entities": [
    {
      "price": 9999,
      "tax": 19,
      "countryCode": "DE",
      "currencyCode": "EUR",
      "key": "1-100",
      "oldPrice": 10999,
      "recommendedRetailPrice": 9999,
      "buyingPrice": 9999,
      "groupKey": "myPriceGroup",
      "promotionKey": "myPromotion",
      "unitPrice": {
        "unit": "ml",
        "amount": 100,
        "price": 999
      },
      "validFrom": "2021-09-23T11%3A30%3A58%2B00%3A00"
    }
  ]
}

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

Get all product variant prices — SCAYLE Admin — Documentation