Hello!
Seems there is an error in querying multiple products with aliases:
for each alias, the returned data contains the data of the same product.
Example request:
query {
abc: product(sku: "test_sync3PL_abc") {
request_id
complexity
data {
id
sku
}
}
def: product(sku: "test_sync3PL_def") {
request_id
complexity
data {
id
sku
}
}
}
Actual response:
{
"data": {
"abc": {
"request_id": "680f6ab8ba707b3cfb4e04b9",
"complexity": 2,
"data": {
"id": "UHJvZHVjdEluZm86MzMxODc2NjM0",
"sku": "test_sync3PL_def" // error here: expected sku "test_sync3PL_abc"
}
},
"def": {
"request_id": "680f6ab8ba707b3cfb4e04b9",
"complexity": 2,
"data": {
"id": "UHJvZHVjdEluZm86MzMxODc2NjM0",
"sku": "test_sync3PL_def"
}
}
},
"extensions": {...}
}
Notice that id and sku are the same for all data records in the response.