Query
itemIdsByUrl
Look up item IDs by social media URLs within the current workspace. Accepts any public HTTP(S) URL. INVALID_URL is returned only for malformed / non-HTTP URLs or private/reserved hosts; a valid public URL we cannot resolve (unrecognized shape, short link, or no matching item) returns NOT_FOUND. Recognized shapes (non-exhaustive hint): Instagram (/p/, /reel/, /reels/), TikTok (@user/video/{id}, @user/photo/{id}), and YouTube (/shorts/, /watch?v=, youtu.be/).
Arguments
- urls [String!]! required
- Public HTTP(S) URLs to look up (1-100). Any public URL is accepted; INVALID_URL only for malformed / non-HTTP URLs or private/reserved hosts, otherwise FOUND or NOT_FOUND.
Returns
Returns [UrlLookupResult!]! .
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- itemId ID
- The matching shop item UUID, or null if no match was found.
- status UrlLookupStatus!
- Outcome of the lookup: FOUND, NOT_FOUND, or INVALID_URL.
- FOUND
- Item found in the current workspace matching the provided public HTTP(S) URL.
- INVALID_URL
- The input was malformed, used a non-HTTP(S) scheme, or targeted a private/reserved host.
- NOT_FOUND
- The input was a valid public HTTP(S) URL, but no matching item exists in the current workspace.
- url String!
- The original input string that was looked up.