GET
/
products
/
{productId}
Product
curl --request GET \
  --url https://api.marzipan.co/v1/products/{productId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "2e2805a1-738e-4118-8a8b-f9431f0e210c",
  "name": "Cellar Selection Malbec",
  "slug": "cellar-selection-malbec-2015",
  "url": "https://api.marzipan.co/products/cellar-selection-malbec-2015",
  "description": "Id laboris ad aliqua exercitation dolore. Ad, aliqua exercitation dolore est culpa. Dolore est culpa, nostrud. Nostrud ad sed mollit, fugiat. Mollit fugiat, irure adipiscing ipsum id. Adipiscing ipsum id ea cillum deserunt, ipsum lorem.",
  "product_type": "physical",
  "sku": "CSMALBC2015",
  "collections": [
    {
      "id": "885ea507-690b-4598-a8fc-095c0528be24",
      "name": "Store",
      "slug": "store",
      "description": "Store collection"
    }
  ],
  "status": "active",
  "images": {
    "product": [
      {
        "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"
      }
    ],
    "labels": {
      "front": [],
      "back": []
    }
  },
  "primaryImage": {
    "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",
  "store_slug": "store",
  "subscriptions_slug": null,
  "availability": "all",
  "upsell_products": [],
  "attributes": [],
  "options": [],
  "related_products": [],
  "awards": [],
  "reviews": [],
  "meta_title": "Cellar Selection Malbec 2015",
  "meta_description": "Cupidatat quis reprehenderit, exercitation quis cillum nulla do.",
  "meta_image": null,
  "store_name": "Wine Collection"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API token.

Path Parameters

productId
string<uuid>
required

The unique identifier for the product

Query Parameters

include
enum<string>

Comma-separated list of related resources to include in the response. Available options: linkedSubscriptions (includes full subscription details for products with linked subscriptions).

Available options:
linkedSubscriptions

Response

200
application/json

Product details

The response is of type object.