Back to APIs
E-commerceBearer Token
Shopify Admin
Manage every aspect of a Shopify store — products, collections, inventory, orders, customers, and discounts — via REST or GraphQL.
Base URL
https://{store}.myshopify.com/admin/api/2024-01productsordersinventorycustomersGraphQL
Endpoints
GET
/products.jsonList all products in the store.
const response = await fetch("https://your-store.myshopify.com/admin/api/2024-01/products.json?limit=10", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
console.log(data);Response Preview
{
"products": [{
"id": 632910392,
"title": "IPod Nano - 8GB",
"status": "active",
"variants": [{ "price": "199.00", "inventory_quantity": 10 }]
}]
}