Skip to main content
GET
/
products
/
{id}
Get product by ID
curl --request GET \
  --url https://admin.aeoliancms.com/api/v1/products/{id} \
  --header 'Authorization: Bearer <token>'
{
  "product": {
    "id": "<string>",
    "storeId": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "status": "<string>",
    "description": "<string>",
    "metaTitle": "<string>",
    "metaDescription": "<string>",
    "images": [
      {
        "url": "<string>",
        "alt": "<string>"
      }
    ],
    "tags": [
      "<string>"
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "options": [
      {
        "id": "<string>",
        "name": "<string>",
        "displayStyle": "dropdown",
        "position": 123,
        "values": [
          {
            "id": "<string>",
            "value": "<string>",
            "position": 123
          }
        ]
      }
    ],
    "variants": [
      {
        "id": "<string>",
        "price": "<string>",
        "compareAtPrice": "<string>",
        "stockQuantity": 123,
        "stockStatus": "<string>",
        "image": {
          "url": "<string>",
          "alt": "<string>"
        },
        "attributes": {}
      }
    ],
    "collections": [
      {
        "id": "<string>",
        "name": "<string>",
        "slug": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key in format ak_<48-hex-chars>

Path Parameters

id
string
required

Response

Product details

product
object