product_stores
Stores the product SKU is connected to, with the IDs to use in product_update manage_inventory_stores and whether inventory push can be managed on each.
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
sku | String! | Yes | SKU. SKU matching is case-insensitive and ignores surrounding whitespace. | |
customer_account_id | String | No | 3PL child/customer account ID this record belongs to; omit to use the authenticated account. | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query product_stores(
$sku: String!,
$customer_account_id: String,
$analyze: Boolean
) {
product_stores(
sku: $sku,
customer_account_id: $customer_account_id,
analyze: $analyze
) {
request_id
complexity
data {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
channel
shop_name
eligible_for_inventory_management
manage_inventory
}
cursor
}
}
}
}Variables
{
"sku": "BLUE-TEE-M",
"customer_account_id": "QWNjb3VudDoxMjM0",
"analyze": true
}Response
{
"data": {
"product_stores": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"data": ProductStoreConnection
}
}
}