Admin API / Queries

productBySlug

Finds a listing by its storefront slug, the last path segment of Product.url. Null when the caller does not read the listing, by the rule of product.

Requires a client key with one of these scopes: admin:products:readRequires this member role or higher: SELLER
productBySlug(
  slug: Slug!
): Product

Arguments

ArgumentTypeDescription
slugSlug!The listing slug.

Return type

Product