GGlamBug Partner APIglambug.in ↗

Products

Fetch products for a subcategory, paginated. By default only active, in-stock products that can be ordered are returned. To keep a copy of the catalogue up to date, see Staying in Sync.

Query

Query
query {
  partnerProducts(categoryId: "cmrls8xhj000110oxvthv93ln", limit: 20, offset: 0) {
    total
    hasMore
    items {
      id
      sku
      name
      description
      images
      weight
      stock
      pprice        # your price
      available     # true when it can be ordered now
      updatedAt     # when it last changed
    }
  }
}
Response
{
  "data": {
    "partnerProducts": {
      "total": 214,
      "hasMore": true,
      "items": [
        {
          "id": "cmtx07seb002qy2x1qv8suyaf",
          "sku": "GB-080-534",
          "name": "Mesmerizing Fusion Premium Silver Earrings",
          "description": "925 sterling silver, rhodium finish...",
          "images": ["https://images.glambug.in/GB-080-534.jpg"],
          "weight": 3.2,
          "stock": 10,
          "pprice": 1408,
          "available": true,
          "updatedAt": "2026-10-06T08:12:44.000Z"
        }
      ]
    }
  }
}

Arguments

ArgumentTypeNotes
categoryIdIDA subcategory id from Categories. Omit to fetch across all subcategories.
limitIntPage size. Defaults to 20, and at most 500 (a larger value is treated as 500).
offsetIntFor pagination — combine with total/hasMore to page through results.
includeUnavailableBooleanDefaults to false. When true, products that are inactive, archived or out of stock are returned too (marked available: false), so you know what to hide in your store.
updatedSinceStringAn ISO-8601 date-time, for example 2026-10-12T09:30:00Z. Returns only products changed at or after that time. An invalid value is rejected with BAD_USER_INPUT.

Fields

FieldTypeNotes
skuString!Our SKU — this is what you reference when submitting an order (see Orders), not id.
images[String!]!Full, ready-to-use image URLs. If your account has a media base URL configured, images are served from your own subdomain instead of the shared CDN.
ppriceFloatYour price for this product — what you'll be charged if you order it.
stockInt!Live stock count. Checked again at order submission — a product can go out of stock between when you fetch it and when you submit an order for it.
availableBoolean!true when the product can be ordered now: active, not archived and in stock.
updatedAtString!ISO-8601 time the product last changed (price, stock or content).
categoryPartnerCategorySee Categories for its shape.

Ordering of results

Without includeUnavailable or updatedSince, newest products come first. With either of them, results are ordered by oldest change first so that paging through a sync is stable.