Skip to content

Instantly share code, notes, and snippets.

@maiaz
Created March 31, 2026 16:56
Show Gist options
  • Select an option

  • Save maiaz/00b695a39298cd98a265511646dec8f0 to your computer and use it in GitHub Desktop.

Select an option

Save maiaz/00b695a39298cd98a265511646dec8f0 to your computer and use it in GitHub Desktop.
curl unifi travel router check
curl -s 'https://ecomm.svc.ui.com/graphql' \
-H 'content-type: application/json' \
-H 'origin: https://eu.store.ui.com' \
-H 'referer: https://eu.store.ui.com/' \
--data-raw '{
"operationName":"GetProductsForLandingPagePro",
"variables":{
"input":{
"limit":250,
"offset":0,
"filter":{"storeId":"eu","language":"en","line":"Unifi"}
}
},
"query":"query GetProductsForLandingPagePro($input: StorefrontProductListInput!) { storefrontProducts(input: $input) { items { slug variants { sku status } } } }"
}' \
| jq -r '
.data.storefrontProducts.items[]
| select(.slug=="utr")
| .variants[]
| select(.sku=="UTR")
| .status
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment