Menu
Get a product variant
Get a product variant
GET
/products/{productIdentifier}/variants/{variantIdentifier}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get a product variant action (under Variants).
- Fill in the fields below, then reference the result from later steps as
{{getAProductVariant.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAProductVariant.response.data.<field>}}.
{
"referenceKey": "M0001-black-M",
"id": 0,
"merchantReferenceKeys": [
"string"
],
"ean": "0000007619991",
"attributes": [
{
"name": "size",
"type": "simple",
"value": "M",
"isLocked": false
}
],
"prices": [
{
"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"
}
],
"stocks": [
{
"quantity": 27,
"warehouseReferenceKey": "DefaultWarehouse",
"changedAt": "2020-07-23T11%3A30%3A58%2B00%3A00",
"sellableWithoutStock": true,
"merchantReferenceKey": "string",
"expectedAvailabilityAt": "2020-07-23"
}
],
"customData": null,
"isComposite": false,
"relatedVariants": null
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?