Skip to content
API reference Get product
API reference Products

Get a product

Returns one product and the creatives linked to it, best sellers first.

GET/api/v1/public/products/{product}

Scope: read. The key's creator needs access to Products. Money fields in each creative's performance need read:money.

Creatives are the 25 most recent Library assets linked to the product, then sorted by all-time revenue (or spend, then impressions, when money is hidden).

Path parameters

productstringpathrequired
The product's UUID, or its Shopify handle.

Response

idstring
Product UUID.
titlestring
Title.
handlestring
Shopify handle.
urlstring
App path of the product.
vendorstring | null
Vendor.
product_typestring | null
Product type.
disabledboolean
Whether someone disabled the product in Pipory (hidden from the default catalog and the product picker).
creative_countinteger
Creatives returned.
creativesarray
Linked creatives, best first.
creatives[].idstring
Asset UUID.
creatives[].namestring
Asset name.
creatives[].urlstring
App path of the asset.
creatives[].media_typestring
image, video or audio.
creatives[].tagsarray
Tags.
creatives[].hookstring | null
Hook.
creatives[].anglestring | null
Angle.
creatives[].stylestring | null
Style.
creatives[].performance_all_timeobject | null
impressions, clicks, ctr, and with the Money scope spend, purchases, revenue, roas. null when no linked ad delivered.
revenue_visibleboolean
Whether money fields are included.

Example request

curl https://api.pipory.com/api/v1/public/products/classic-steel \
  -H "Authorization: Bearer pip_your_key"

Example response

{
  "id": "3d9a7b1c-2e4f-4a6b-8c0d-1e2f3a4b5c6d",
  "title": "Classic Steel",
  "handle": "classic-steel",
  "url": "/products/classic-steel",
  "vendor": "Acme Watches",
  "product_type": "Watch",
  "disabled": false,
  "creative_count": 1,
  "creatives": [
    {
      "id": "8f2c4a1e-6b3d-4c9f-a2e1-7d5b3c1a9e8f",
      "name": "UGC hook v3",
      "url": "/library/8f2c4a1e-6b3d-4c9f-a2e1-7d5b3c1a9e8f",
      "media_type": "video",
      "tags": ["ugc"],
      "hook": "I stopped hitting snooze",
      "angle": "Problem solution",
      "style": "UGC",
      "performance_all_time": { "impressions": 48210, "clicks": 1290, "ctr": 0.0268 }
    }
  ],
  "revenue_visible": false
}

Errors

StatusCodeMeaning
401invalid_api_keyMissing, unknown, revoked or expired key
403insufficient_scopeThe key or its creator's role cannot read Products
403upgrade_requiredThe workspace is not on a paid plan
404noneNo product with that id or handle in this workspace
429rate_limitedOver the key's rate limit