Mutations
requestStoreByURL
Requests a store to be tracked by Rye’s API.
Arguments
input
RequestStoreByURLInput!
requiredAn object containing the store’s URL.
Returns
RequestStoreResponse.requestID
RequestStoreResponse
The requestID
is the unique identifier for the requested store, which can be used in subsequent queries to fetch store and product information.
The mutation returns
requestId
even if invalid URL has been providedUsage
import { RyeClient, Marketplace } from "@rye-api/rye-sdk";
const ryeClient = new RyeClient("<AUTH_HEADER>", "<SHOPPER_IP>");
const result = await ryeClient.requestStoreByURL({
input: {
url: "https://rye-test-store.myshopify.com",
},
});
Was this page helpful?