Arguments

input
RequestStoreByURLInput!
required
An 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 provided

Usage

import { RyeClient, Marketplace } from "@rye-api/rye-sdk";

const ryeClient = new RyeClient({
  authHeader: "<AUTH_HEADER>",
  shopperIp: "<SHOPPER_IP>",
});

const result = await ryeClient.requestStoreByURL({
  input: {
    url: "https://rye-test-store.myshopify.com",
  },
});