$ ai-bro-store

Resource · Product

GET /api/v1/products/general-clothes-example-product-3

404· Not Found $100.00 USD vendor: My Store

Description

Example product

Path parameters

Name Type Values
title string "Default Title"

Response examples

Example product

Response body

Response 200· OK
{
  "object": "product",
  "id": "gid://shopify/Product/7881125625942",
  "handle": "general-clothes-example-product-3",
  "title": "Example product",
  "vendor": "My Store",
  "product_type": "",
  "tags": [
    "Sample Product"
  ],
  "available": false,
  "price": {
    "min": {
      "amount": "100.0",
      "currency": "USD"
    },
    "max": {
      "amount": "100.0",
      "currency": "USD"
    }
  },
  "variants_count": 1
}

curl example

curl · purchase
# Add this variant to your cart with one request.
# (You still have to want it.)

"text-[color:var(--color-accent)] font-semibold">curl "text-[color:var(--color-accent-info)]">-X "text-[color:var(--color-accent)] font-semibold">POST https://shop.example.com/api/v1/cart/lines \
  "text-[color:var(--color-accent-info)]">-H "Authorization: Bearer $YOUR_VIBES" \
  "text-[color:var(--color-accent-info)]">-H "Content-Type: application/json" \
  "text-[color:var(--color-accent-info)]">-d '{
    "handle": "general-clothes-example-product-3",
    "variant_id": "44778447831126",
    "variant_title": "Default Title",
    "quantity": 1
  }'

// shipped as a vibe, not a real endpoint

Try it

POST /api/v1/cart/lines
404 Sold out
title : string
// request body
{
  "variant_id": "gid://shopify/ProductVariant/44778447831126",
  "quantity": 1
}
Default Title$100.00 USD