Menu
Apply multiple item operations
Apply multiple item operations
/v1/wishlists/{wishlistId}/bulkUse it in a workflow
- Add a step and choose the SCAYLE Storefront connector.
- Pick the Apply multiple item operations action (under wishlists).
- Fill in the fields below, then reference the result from later steps as
{{applyMultipleItemOperations.response.data}}.
Request
Path parameters
wishlistIdstringrequiredWishlist ID
Query parameters
shopIdintegerThe numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique `shopId`. **Priority:** `shopId` (or the `X-Shop-Id` header) takes precedence over all other shop identification parameters. When `shopId` is present, `shopKey`, `countryCode`, and `locale` are ignored entirely. **Alternative:** If neither `shopId` nor `X-Shop-Id` is provided, you must supply all three of `shopKey`, `countryCode`, and `locale` together to identify the shop.
shopKeystringThe unique string key identifying the shop (e.g. `sa`, `de`). **Must be provided together with `countryCode` and `locale`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.
countryCodestringThe ISO 3166-1 alpha-2 country code of the shop (e.g. `DE`, `AT`). Automatically normalised to uppercase. **Must be provided together with `shopKey` and `locale`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.
localestringThe locale of the shop (e.g. `en_GB`, `de_DE`). Used to validate that the resolved shop's locale matches the requested locale. **Must be provided together with `shopKey` and `countryCode`** as a query-parameter alternative to `shopId`. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `shopId` or the `X-Shop-Id` header is present.
campaignKeystringAdjust prices based on the specified `campaignKey`. If provided campaign doesn't exist, the default price is returned. Please note, that campaign prices are stored in advance and available earlier than the campaign starts.
Default null
witharray<string>The `with` parameter can be applied to include only product related resources, for example, the attributes of a product can be attached using `with=items.product.attributes`. It is also possible to filter attributes by key `with=items.product.attributes:key(plusSize)`, by type `with=items.product.attributes:type(material_care)` or exclude specific keys `with=items.product.attributes:exclude(plusSize)`. In the following table, there is more information about possible includes. Include | Nested includes and Available Filters for products ----------------------------------------------------------- | ------------------------------------------------------------- `items.customData` | Include item custom data `items.customData:key()` | Include item custom data with empty object `items.customData:key(keyA\|...)` | Include item custom data with only specified keys `items.product.priceRange` | Include item product priceRange `items.product.priceRange.customData` | Include item product priceRange custom data `items.product.priceRange.customData:key()` | Include item product priceRange custom data with empty object `items.product.priceRange.customData:key(keyA\|...)` | Include item product priceRange custom data with only specified keys `items.product.reductionRange` | Include item product reductionRange `items.product.reductionRange.customData` | Include item product reductionRange custom data `items.product.reductionRange.customData:key()` | Include item product reductionRange custom data with empty object `items.product.reductionRange.customData:key(keyA\|...)` | Include item product reductionRange custom data with only specified keys `items.product.lowestPriorPrice` | Include item product lowestPriorPrice `items.product.searchCategoryIds` | Include item product searchCategoryIds `items.product.baseCategories` | Include item product baseCategories (deprecated) `items.product.masterCategories` | Include item product masterCategories `items.product.definingAttributes` | Include item product definingAttributes `items.product.attributes` | Include item product attributes `items.product.attributes:key(new)` | Include item product attributes filtered by key `items.product.attributes:exclude(keyA\|...)` | Include item product attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.attributes:type(localizedString)` | Include item product attributes filtered by type `items.product.advancedAttributes:key(productName)` | Include item product advancedAttributes filtered by key `items.product.advancedAttributes:exclude(keyA\|...)` | Include item product advancedAttributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.advancedAttributes:type(type)` | Include item product advancedAttributes filtered by type `items.product.images.attributes` | Include item product image attributes `items.product.images.attributes:key(key)` | Include item product image attributes filtered by key `items.product.images.attributes:exclude(keyA\|...)` | Include item product image attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.images.attributes:type(type)` | Include item product image attributes filtered by type `items.product.images.customData` | Include item product image custom data `items.product.images.customData:key()` | Include item product image custom data with empty object `items.product.images.customData:key(keyA\|...)` | Include item product image custom data with only specified keys `items.product.videos` | Include item product videos `items.product.videos.attributes` | Include item product video attributes `items.product.videos.attributes:key(key)` | Include item product video attributes filtered by key `items.product.videos.attributes:exclude(keyA\|...)` | Include item product video attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.videos.attributes:type(type)` | Include item product video attributes filtered by type `items.product.videos.customData` | Include item product video custom data `items.product.categories` | Include item product categories `items.product.categories:hidden(true)` | Include item product hidden categories `items.product.categories.categoryProperties:name` | Include item product category properties only filtered by name `items.product.categories.countryLevelCustomData` | Include item product category country level custom data `items.product.categories.countryLevelCustomData:key()` | Include item product category country level custom data with empty object `items.product.categories.countryLevelCustomData:key(keyA\|...)` | Include item product category country level custom data with only specified keys `items.product.categories.shopLevelCustomData` | Include item product category shop level custom data `items.product.categories.shopLevelCustomData:key()` | Include item product category shop level custom data with empty object `items.product.categories.shopLevelCustomData:key(keyA\|...)` | Include item product category shop level custom data with only specified keys `items.product.customData` | Include item product custom data `items.product.customData:key()` | Include item product custom data with empty object `items.product.customData:key(keyA\|...)` | Include item product custom data with only specified keys `items.product.siblings` | Include item product sibling products `items.product.siblings.attributes` | Include item product siblings attributes `items.product.siblings.attributes:key(keyA\|...)` | Include item product siblings attributes filtered by key `items.product.siblings.attributes:exclude(keyA\|...)` | Include item product siblings attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.siblings.attributes:type(typeA\|...)` | Include item product siblings attributes filtered by type `items.product.siblings.advancedAttributes` | Include item product siblings advancedAttributes `items.product.siblings.advancedAttributes:key(keyA\|...)` | Include item product siblings advancedAttributes filtered by key `items.product.siblings.advancedAttributes:exclude(keyA\|...)` | Include item product siblings advancedAttributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.siblings.advancedAttributes:type(typeA\|...)` | Include item product siblings advancedAttributes filtered by type `items.product.siblings.customData` | Include item product siblings custom data `items.product.siblings.images.attributes` | Include item product siblings image attributes `items.product.siblings.images.attributes:key(keyA\|...)` | Include item product siblings image attributes filtered by key `items.product.siblings.images.attributes:exclude(keyA\|...)` | Include item product siblings image attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.siblings.images.attributes:type(typeA\|...)` | Include item product siblings image attributes filtered by type `items.product.siblings.images.customData` | Include item product siblings image custom data `items.product.siblings.categories.countryLevelCustomData` | Include item product siblings category country level custom data `items.product.siblings.categories.shopLevelCustomData` | Include item product siblings category shop level custom data `items.product.siblings.variants.attributes` | Include item product siblings variants attributes `items.product.siblings.variants.attributes:key(keyA\|...)` | Include item product siblings variants attributes filtered by key `items.product.siblings.variants.attributes:exclude(keyA\|...)` | Include item product siblings variants attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.siblings.variants.attributes:type(typeA\|...)` | Include item product siblings variants attributes filtered by type `items.product.siblings.variants.advancedAttributes` | Include item product siblings variants advancedAttributes `items.product.siblings.variants.advancedAttributes:key(keyA\|...)` | Include item product siblings variants advancedAttributes filtered by key `items.product.siblings.variants.advancedAttributes:exclude(keyA\|...)` | Include item product siblings variants advancedAttributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.siblings.variants.advancedAttributes:type(typeA\|...)` | Include item product siblings variants advancedAttributes filtered by type `items.product.siblings.variants.customData` | Include item product siblings variants custom data `items.product.siblings.variants.price.customData` | Include item product siblings variants price custom data `items.product.siblings.variants.price.customData:key()` | Include item product siblings variants price custom data with empty object `items.product.siblings.variants.price.customData:key(keyA\|...)` | Include item product siblings variants price custom data with only specified keys `items.product.siblings.priceRange.customData` | Include item product siblings priceRange custom data `items.product.siblings.priceRange.customData:key()` | Include item product siblings priceRange custom data with empty object `items.product.siblings.priceRange.customData:key(keyA\|...)` | Include item product siblings priceRange custom data with only specified keys `items.product.siblings.reductionRange.customData` | Include item product siblings reductionRange custom data `items.product.siblings.reductionRange.customData:key()` | Include item product siblings reductionRange custom data with empty object `items.product.siblings.reductionRange.customData:key(keyA\|...)` | Include item product siblings reductionRange custom data with only specified keys `items.product.siblings.variants.merchant` | Include item product siblings variants merchant `items.product.siblings.variants.merchant.customData` | Include item product siblings variants merchant custom data `items.product.variants` | Include item product variants `items.product.variants.attributes` | Include item product variants with attributes `items.product.variants.attributes:key(ean)` | Include item product variants with attributes filtered by key `items.product.variants.attributes:exclude(keyA\|...)` | Include item product variants with attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.variants.attributes:type(fit_size)` | Include item product variants with attributes filtered by type `items.product.variants.advancedAttributes:key(productName)`| Include item product variants with advancedAttributes filtered by key `items.product.variants.advancedAttributes:exclude(keyA\|...)` | Include item product variants with advancedAttributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.variants.advancedAttributes:type(type)` | Include item product variants with advancedAttributes filtered by type `items.product.variants.customData` | Include item product variants custom data `items.product.variants.customData:key()` | Include item product variants custom data with empty object `items.product.variants.customData:key(keyA\|...)` | Include item product variants custom data with only specified keys `items.product.variants.price.customData` | Include item product variants price custom data `items.product.variants.price.customData:key()` | Include item product variants price custom data with empty object `items.product.variants.price.customData:key(keyA\|...)` | Include item product variants price custom data with only specified keys `items.product.variants.lowestPriorPrice` | Include item product variants lowestPriorPrice `items.product.variants.relatedVariants` | Include the resolved components of a composite product variant. Always an array once requested, even if the variant isn't composite. `items.product.variants.relatedVariants.attributes` | Include attributes of related-variant components `items.product.variants.relatedVariants.attributes:key(keyA\|...)` | Include only related-variant component attributes with specified keys `items.product.variants.relatedVariants.attributes:exclude(keyA\|...)` | Include all related-variant component attributes except specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.variants.relatedVariants.advancedAttributes` | Include advanced attributes of related-variant components `items.product.variants.relatedVariants.advancedAttributes:key(keyA\|...)` | Include only related-variant component advanced attributes with specified keys `items.product.variants.relatedVariants.advancedAttributes:exclude(keyA\|...)` | Include all related-variant component advanced attributes except specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.product.variants.relatedVariants.lowestPriorPrice` | Include the lowest prior price of related-variant components `items.product.variants.relatedVariants.customData` | Include custom data of related-variant components `items.product.variants.relatedVariants.customData:key(keyA\|...)` | Include custom data of related-variant components with only specified keys `items.product.variants.relatedVariants.price.customData` | Include custom data of related-variant component prices `items.variant.attributes` | Include item variant attributes. `items.variant.attributes:key(ean)` | Include item variant attributes filtered by key `items.variant.attributes:exclude(keyA\|...)` | Include item variant attributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.variant.attributes:type(fit_size)` | Include item variant attributes filtered by type `items.variant.advancedAttributes:key(productName)` | Include item variant advancedAttributes filtered by key `items.variant.advancedAttributes:exclude(keyA\|...)` | Include item variant advancedAttributes excluding specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.variant.advancedAttributes:type(type)` | Include item variant advancedAttributes filtered by type `items.variant.customData` | Include item variant custom data `items.variant.customData:key()` | Include item variant custom data with empty object `items.variant.customData:key(keyA\|...)` | Include item variant custom data with only specified keys `items.variant.price.customData` | Include item variant price custom data `items.variant.price.customData:key()` | Include item variant price custom data with empty object `items.variant.price.customData:key(keyA\|...)` | Include item variant price custom data with only specified keys `items.variant.lowestPriorPrice` | Include item variant lowestPriorPrice `items.variant.relatedVariants` | Include the resolved components of a composite item variant. Always an array once requested, even if the variant isn't composite. `items.variant.relatedVariants.attributes` | Include attributes of related-variant components `items.variant.relatedVariants.attributes:key(keyA\|...)` | Include only related-variant component attributes with specified keys `items.variant.relatedVariants.attributes:exclude(keyA\|...)` | Include all related-variant component attributes except specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.variant.relatedVariants.advancedAttributes` | Include advanced attributes of related-variant components `items.variant.relatedVariants.advancedAttributes:key(keyA\|...)` | Include only related-variant component advanced attributes with specified keys `items.variant.relatedVariants.advancedAttributes:exclude(keyA\|...)` | Include all related-variant component advanced attributes except specified keys. Combined with `key(...)`/`type(...)` the excluded keys are subtracted from the selection. `items.variant.relatedVariants.lowestPriorPrice` | Include the lowest prior price of related-variant components `items.variant.relatedVariants.customData` | Include custom data of related-variant components `items.variant.relatedVariants.customData:key(keyA\|...)` | Include custom data of related-variant components with only specified keys `items.variant.relatedVariants.price.customData` | Include custom data of related-variant component prices
Default []
Headers
X-Shop-IdintegerThe numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique shop ID. **Priority:** `X-Shop-Id` (or the `shopId` query parameter) takes precedence over all other shop identification parameters. When this header is present, `X-Shop-Key`, `X-Country-Code`, and `X-Locale` are ignored entirely. **Alternative:** If neither `X-Shop-Id` nor `shopId` is provided, you must supply all three of `X-Shop-Key`, `X-Country-Code`, and `X-Locale` together to identify the shop.
X-Shop-KeystringThe unique string key identifying the shop (e.g. `sa`, `de`). **Must be provided together with `X-Country-Code` and `X-Locale`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.
X-Country-CodestringThe ISO 3166-1 alpha-2 country code of the shop (e.g. `DE`, `AT`). Automatically normalised to uppercase. **Must be provided together with `X-Shop-Key` and `X-Locale`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.
X-LocalestringThe locale of the shop (e.g. `en_GB`, `de_DE`). Used to validate that the resolved shop's locale matches the requested locale. **Must be provided together with `X-Shop-Key` and `X-Country-Code`** as a header-based alternative to `X-Shop-Id`. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error. Ignored when `X-Shop-Id` or the `shopId` query parameter is present.
X-Access-TokenstringrequiredAccess token for accessing protected endpoints
Response
Returns 200 with an object. Read it in later steps with {{applyMultipleItemOperations.response.data.<field>}}.
wishlistobjectkeystringrequireditemsarray<object>required10 fieldsresultsarray<oneOf>One entry per submitted operation, in submission order.
{
"wishlist": {
"key": "string",
"items": [
{
"key": "cafb0e089cb74691e66ca33a0c9954d9",
"packageId": 1,
"quantity": 1,
"status": "available",
"product": {
"id": 0,
"images": [
{
"attributes": null,
"customData": null,
"hash": null,
"name": null,
"url": null
}
],
"customData": {},
"isActive": false,
"isNew": false,
"isSoldOut": false,
"masterKey": "480306626-1",
"firstLiveAt": "2023-01-26T09:30:15Z",
"referenceKey": "abc123",
"createdAt": "2023-01-26T09:30:15Z",
"updatedAt": "2023-01-26T09:30:15Z",
"indexedAt": "2023-01-26T09:30:15Z"
},
"productId": 4468167,
"variantId": 38513903,
"customData": {},
"itemGroup": {
"id": "string",
"isMainItem": false,
"isRequired": false
},
"variant": {
"id": 987654,
"price": {
"appliedReductions": [
null
],
"totalAppliedReductions": {
"amount": null
},
"reductionsRelativeTo": "beforeSaleWithTax",
"currencyCode": "string",
"tax": {
"vat": null
},
"withoutTax": 0,
"withTax": 0,
"beforeSaleWithTax": 5999,
"recommendedRetailPrice": 0,
"reference": {
"size": null,
"unit": null,
"withoutTax": null,
"withTax": null
},
"customData": {}
},
"referenceKey": 563843898,
"firstLiveAt": "2023-01-26T09:30:15Z",
"stock": {
"supplierId": 0,
"warehouseId": 0,
"quantity": 0,
"isSellableWithoutStock": false,
"expectedAvailabilityAt": "2023-01-26"
},
"customData": {},
"createdAt": "2023-01-26T09:30:15Z",
"updatedAt": "2023-01-26T09:30:15Z",
"isComposite": false,
"advancedAttributes": {},
"appliedPricePromotionKey": "promotion_key_123",
"attributes": {}
}
}
]
},
"results": [
null
]
}
Need more? See the SCAYLE Storefront guide for connection setup and behaviour shared by every action.