curl --request GET \
--url https://api.marzipan.co/v1/products \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "2e2805a1-738e-4118-8a8b-f9431f0e210c",
"name": "Cellar Selection Malbec",
"slug": "cellar-selection-malbec-2015",
"description": "Id laboris ad aliqua exercitation dolore. Ad, aliqua exercitation dolore est culpa. Dolore est culpa id duis duis labore dolore do ex.",
"productType": "physical",
"sku": "CSMALBC2015",
"collection": "Store",
"status": "active",
"image": {
"id": "0736c529-a33d-4b8c-8126-eb69779dcdad",
"path": "1/0736c529-a33d-4b8c-8126-eb69779dcdad.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/0736c529-a33d-4b8c-8126-eb69779dcdad.jpg",
"alt": "Cellar Selection Malbec 2015 bottle",
"mimeType": "image/jpeg",
"filename": "0736c529-a33d-4b8c-8126-eb69779dcdad.jpg"
},
"price": "£24.99",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": "store",
"subscriptionsSlug": null,
"availability": "all",
"upsellProducts": []
},
{
"id": "df0d13db-1332-4461-b3d1-b2774d47ff5f",
"name": "Chardonnay",
"slug": "chardonnay-2015",
"description": "Lorem sed id, culpa. Culpa id duis duis labore dolore do ex. Duis duis labore, dolore.",
"productType": "physical",
"sku": "CHARD2015",
"collection": "Store",
"status": "active",
"image": {
"id": "1b978a90-3ecb-4f37-b480-9fb81882176e",
"path": "1/1b978a90-3ecb-4f37-b480-9fb81882176e.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/1b978a90-3ecb-4f37-b480-9fb81882176e.jpg",
"alt": "Chardonnay 2015 bottle",
"mimeType": "image/jpeg",
"filename": "1b978a90-3ecb-4f37-b480-9fb81882176e.jpg"
},
"price": "£23.99",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": "store",
"subscriptionsSlug": null,
"availability": "all",
"upsellProducts": []
},
{
"id": "084b80ef-d16d-4531-a25f-40b7ff4c744b",
"name": "Discovery Club",
"slug": "discovery-club",
"description": "Laborum adipiscing, tempor cillum. Cillum exercitation sed officia mollit do dolore.",
"productType": "subscription",
"sku": "DISCCLUB",
"collection": "Club",
"status": "active",
"image": {
"id": "bc1a0d61-e7f9-44d3-ae53-1475b5f9395d",
"path": "1/bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg",
"alt": "Discovery Club subscription box",
"mimeType": "image/jpeg",
"filename": "bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg"
},
"price": "from £0.00",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": null,
"subscriptionsSlug": "club",
"availability": "all",
"upsellProducts": [],
"billing_frequency": 6,
"pricing_type": "per_item"
}
],
"links": {
"first": "https://api.marzipan.co/v1/products?page=1",
"last": "https://api.marzipan.co/v1/products?page=5",
"prev": null,
"next": "https://api.marzipan.co/v1/products?page=2"
},
"meta": {
"currentPage": 1,
"from": 1,
"path": "https://api.marzipan.co/v1/products",
"perPage": 15,
"to": 15
}
}Get a paginated list of all products with filtering and sorting options. Returns product details including pricing and availability.
curl --request GET \
--url https://api.marzipan.co/v1/products \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "2e2805a1-738e-4118-8a8b-f9431f0e210c",
"name": "Cellar Selection Malbec",
"slug": "cellar-selection-malbec-2015",
"description": "Id laboris ad aliqua exercitation dolore. Ad, aliqua exercitation dolore est culpa. Dolore est culpa id duis duis labore dolore do ex.",
"productType": "physical",
"sku": "CSMALBC2015",
"collection": "Store",
"status": "active",
"image": {
"id": "0736c529-a33d-4b8c-8126-eb69779dcdad",
"path": "1/0736c529-a33d-4b8c-8126-eb69779dcdad.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/0736c529-a33d-4b8c-8126-eb69779dcdad.jpg",
"alt": "Cellar Selection Malbec 2015 bottle",
"mimeType": "image/jpeg",
"filename": "0736c529-a33d-4b8c-8126-eb69779dcdad.jpg"
},
"price": "£24.99",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": "store",
"subscriptionsSlug": null,
"availability": "all",
"upsellProducts": []
},
{
"id": "df0d13db-1332-4461-b3d1-b2774d47ff5f",
"name": "Chardonnay",
"slug": "chardonnay-2015",
"description": "Lorem sed id, culpa. Culpa id duis duis labore dolore do ex. Duis duis labore, dolore.",
"productType": "physical",
"sku": "CHARD2015",
"collection": "Store",
"status": "active",
"image": {
"id": "1b978a90-3ecb-4f37-b480-9fb81882176e",
"path": "1/1b978a90-3ecb-4f37-b480-9fb81882176e.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/1b978a90-3ecb-4f37-b480-9fb81882176e.jpg",
"alt": "Chardonnay 2015 bottle",
"mimeType": "image/jpeg",
"filename": "1b978a90-3ecb-4f37-b480-9fb81882176e.jpg"
},
"price": "£23.99",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": "store",
"subscriptionsSlug": null,
"availability": "all",
"upsellProducts": []
},
{
"id": "084b80ef-d16d-4531-a25f-40b7ff4c744b",
"name": "Discovery Club",
"slug": "discovery-club",
"description": "Laborum adipiscing, tempor cillum. Cillum exercitation sed officia mollit do dolore.",
"productType": "subscription",
"sku": "DISCCLUB",
"collection": "Club",
"status": "active",
"image": {
"id": "bc1a0d61-e7f9-44d3-ae53-1475b5f9395d",
"path": "1/bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg",
"src": "https://marzipan-cloud-dev.b-cdn.net/1/bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg",
"alt": "Discovery Club subscription box",
"mimeType": "image/jpeg",
"filename": "bc1a0d61-e7f9-44d3-ae53-1475b5f9395d.jpg"
},
"price": "from £0.00",
"salePrice": null,
"subscriberPrice": null,
"createdAt": "2024-02-05T23:22:56.000000Z",
"updatedAt": "2024-02-05T23:22:56.000000Z",
"storeSlug": null,
"subscriptionsSlug": "club",
"availability": "all",
"upsellProducts": [],
"billing_frequency": 6,
"pricing_type": "per_item"
}
],
"links": {
"first": "https://api.marzipan.co/v1/products?page=1",
"last": "https://api.marzipan.co/v1/products?page=5",
"prev": null,
"next": "https://api.marzipan.co/v1/products?page=2"
},
"meta": {
"currentPage": 1,
"from": 1,
"path": "https://api.marzipan.co/v1/products",
"perPage": 15,
"to": 15
}
}Bearer authentication header of the form Bearer <token>, where <token> is your API token.
Filter products by collection slug or name. Products will be ordered by their position in the collection.
Filter products by attributes using deep object notation. Each attribute filter accepts comma-separated values for OR matching.
Format: attr[attribute_slug]=value1,value2
Example: attr[color]=red,blue&attr[size]=large This returns products that are (red OR blue) AND large.
Show child attributes
Sort products by field and direction. Format: field.direction (e.g., price.asc, name.desc). Multiple sort options can be comma-separated.
Limit the number of results returned. Maximum 50 per page.
1 <= x <= 50Page number for pagination.
x >= 1Number of items per page. Default is 50.
1 <= x <= 50Comma-separated list of related resources to include in the response.
Available options: linkedSubscriptions (includes full subscription details for products with linked subscriptions).
linkedSubscriptions products
Show child attributes
Unique identifier for the product
Product name
URL-friendly product identifier
Full URL to the product page
Product description
Type of product
physical, event, subscription, bundle Type of subscription. Only present for subscription products
picknmix, variable Stock Keeping Unit
Collections this product belongs to
Show child attributes
Product status - automatically set to out_of_stock when quantity is 0
active, inactive, out_of_stock Product images organized by type
Show child attributes
Main product images
Show child attributes
Unique identifier for the image
Relative path to the image file
Full URL to access the image
Alternative text for accessibility
MIME type of the image (e.g., image/jpeg, image/png)
Original filename of the uploaded image
Show child attributes
Front label images
Show child attributes
Unique identifier for the image
Relative path to the image file
Full URL to access the image
Alternative text for accessibility
MIME type of the image (e.g., image/jpeg, image/png)
Original filename of the uploaded image
Back label images
Show child attributes
Unique identifier for the image
Relative path to the image file
Full URL to access the image
Alternative text for accessibility
MIME type of the image (e.g., image/jpeg, image/png)
Original filename of the uploaded image
Primary product image
Show child attributes
Unique identifier for the image
Relative path to the image file
Full URL to access the image
Alternative text for accessibility
MIME type of the image (e.g., image/jpeg, image/png)
Original filename of the uploaded image
Formatted price (e.g., £10.00). For pick-and-mix subscriptions with per-item pricing, may show 'from £X.XX'
Formatted sale price if on sale
Special price for subscribers. Not shown for subscription products
Creation timestamp
Last update timestamp
Store URL slug
Subscriptions URL slug
Product availability
all, subscribers Upsell products with simplified data
Show child attributes
Product ID
Product name
Product SKU
Formatted price
Formatted sale price
Formatted subscriber price
Full details of linked subscriptions. Only included when requested via the include query parameter.
Show child attributes
Subscription ID
Subscription name
Subscription options
Subscription status
Subscription start date
Subscription end date
Next billing date
Billing interval in months
Creation timestamp
Billing frequency in months. Only present for subscription products
Available billing frequencies. Only present for subscription products
Pricing type for subscriptions. Only present for subscription products
fixed, per_item Items included in bundle. Only present for bundle products
Product attributes like color, size, etc.
Product options with their possible values
Related products
Product awards
Product reviews
SEO meta title
SEO meta description
SEO meta image URL (1200x630)
Whether product has linked subscriptions. Only present if product has linked subscriptions
Store name