Akeneo PIM REST API
  1. Product model
Akeneo PIM REST API
  • Authentication
    • Get authentication token
      POST
  • Overview
    • Get list of all endpoints
      GET
  • PAM asset category
    • Get list of PAM asset categories
      GET
    • Update/create several PAM asset categories
      PATCH
    • Create a new PAM asset category
      POST
    • Get a PAM asset category
      GET
    • Update/create a PAM asset category
      PATCH
  • Asset family
    • Get list of asset families
      GET
    • Get an asset family
      GET
    • Update/create an asset family
      PATCH
  • Asset
    • Get the list of the assets of a given asset family
      GET
    • Update/create several assets
      PATCH
    • Delete an asset
      DELETE
    • Get an asset of a given asset family
      GET
    • Update/create an asset
      PATCH
  • Asset attribute
    • Get the list of attributes of a given asset family
      GET
    • Get an attribute of a given asset family
      GET
    • Update/create an attribute of a given asset family
      PATCH
  • Asset attribute option
    • Get a list of attribute options of a given attribute for a given asset family
    • Get an attribute option for a given attribute of a given asset family
    • Update/create an asset attribute option for a given asset family
  • Asset media file
    • Create a new media file for an asset
    • Download the media file associated to an asset
  • PAM asset tag
    • Get list of PAM asset tags
    • Get a PAM asset tag
    • Update/create a PAM asset tag
  • PAM asset
    • Get list of PAM assets
    • Update/create several PAM assets
    • Create a new PAM asset
    • Get a PAM asset
    • Update/create a PAM asset
  • PAM asset reference file
    • Get a reference file
    • Upload a new reference file
    • Download a reference file
  • PAM asset variation file
    • Get a variation file
    • Upload a new variation file
    • Download a variation file
  • Association type
    • Get a list of association types
    • Update/create several association types
    • Create a new association type
    • Get an association type
    • Update/create an association type
  • Attribute group
    • Get list of attribute groups
    • Update/create several attribute groups
    • Create a new attribute group
    • Get an attribute group
    • Update/create an attribute group
  • Attribute
    • Get list of attributes
    • Update/create several attributes
    • Create a new attribute
    • Get an attribute
    • Update/create an attribute
  • Attribute option
    • Get list of attribute options
    • Update/create several attribute options
    • Create a new attribute option
    • Get an attribute option
    • Update/create an attribute option
  • Category
    • Get list of categories
    • Update/create several categories
    • Create a new category
    • Get a category
    • Update/create a category
    • Download a category media file [COMING SOON]
  • Channel
    • Get a list of channels
    • Update/create several channels
    • Create a new channel
    • Get a channel
    • Update/create a channel
  • Currency
    • Get a list of currencies
    • Get a currency
  • Family
    • Get list of families
    • Update/create several families
    • Create a new family
    • Get a family
    • Update/create a family
    • Create a new family variant
  • Family variant
    • Get list of family variants
    • Update/create several family variants
    • Get a family variant
    • Update/create a family variant
  • Locale
    • Get a list of locales
    • Get a locale
  • Measure family
    • Get list of measure familiy
    • Get a measure family
  • Measurement family
    • Get list of measurement families
    • Update/create several measurement families
  • Product media file
    • Get a list of product media files
    • Create a new product media file
    • Get a product media file
    • Download a product media file
  • Product model
    • Get list of product models
      GET
    • Update/create several product models
      PATCH
    • Create a new product model
      POST
    • Delete a product model
      DELETE
    • Get a product model
      GET
    • Update/create a product model
      PATCH
    • Get a draft
      GET
    • Submit a draft for approval
      POST
  • Product
    • Get list of products
    • Update/create several products
    • Create a new product
    • Delete a product
    • Get a product
    • Update/create a product
    • Get a draft
    • Submit a draft for approval
  • Published product
    • Get list of published products
    • Get a published product
  • Reference entity
    • Get list of reference entities
    • Get a reference entity
    • Update/create a reference entity
  • Reference entity media file
    • Create a new media file for a reference entity or a record
    • Download the media file associated to a reference entity or a record
  • Reference entity attribute
    • Get the list of attributes of a given reference entity
    • Get an attribute of a given reference entity
    • Update/create an attribute of a given reference entity
  • Reference entity attribute option
    • Get a list of attribute options of a given attribute for a given reference entity
    • Get an attribute option for a given attribute of a given reference entity
    • Update/create a reference entity attribute option
  • Reference entity record
    • Get the list of the records of a reference entity
    • Update/create several reference entity records
    • Get a record of a given reference entity
    • Update/create a record of a given reference entity
  • System
    • Get system information
    • Get system information
  • Catalogs
    • Get the list of owned catalogs
    • Create a new catalog
    • Delete a catalog
    • Get a catalog
    • Update a catalog
  • Catalog products
    • Get the list of product uuids
    • Get the list of products related to a catalog
    • Get a product related to a catalog
  • Product [identifier]
    • Get list of products
    • Update/create several products
    • Create a new product
    • Delete a product
    • Get a product
    • Update/create a product
    • Get a draft
    • Submit a draft for approval
  • Product [uuid]
    • Get list of products
    • Update/create several products
    • Create a new product
    • Delete a product
    • Get a product
    • Update/create a product
    • Get a draft
    • Submit a draft for approval
  1. Product model

Get list of product models

GET
/api/rest/v1/product-models
Product model
This endpoint allows you to get a list of product models. Product models are paginated. In the Enterprise Edition, since the 2.0, permissions based on your user groups are applied to the set of products you request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/product-models'
Response Response Example
200 - Example 1
{
  "_links": {
    "first": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "self": {
      "href": "string"
    }
  },
  "current_page": 0,
  "_embedded": {
    "items": [
      {
        "_links": {
          "self": {
            "href": "string"
          }
        },
        "associations": {
          "PACK": {
            "groups": [],
            "product_models": [],
            "products": [
              "sunglass"
            ]
          }
        },
        "categories": [
          "summer_collection"
        ],
        "code": "model-biker-jacket-leather",
        "created": "2023-08-15T05:53:50.712Z",
        "family": "clothing",
        "family_variant": "clothing_material_size",
        "parent": "model-biker-jacket",
        "quality_scores": [
          {
            "data": "A",
            "locale": "en_US",
            "scope": "ecommerce"
          },
          {
            "data": "B",
            "locale": "fr_FR",
            "scope": "ecommerce"
          },
          {
            "data": "D",
            "locale": "en_US",
            "scope": "tablet"
          },
          {
            "data": "E",
            "locale": "fr_FR",
            "scope": "tablet"
          }
        ],
        "quantified_associations": {
          "PRODUCT_SET": {
            "product_models": [
              {
                "code": "model-biker-jacket-leather",
                "quantity": 2
              }
            ],
            "products": [
              {
                "identifier": "top",
                "quantity": 2
              },
              {
                "identifier": "cap",
                "quantity": 1
              }
            ]
          }
        },
        "updated": "2023-08-15T05:53:50.712Z",
        "values": {
          "collection": [
            {
              "data": [
                "summer_2017"
              ],
              "locale": null,
              "scope": null
            }
          ],
          "color": [
            {
              "data": "antique_white",
              "locale": null,
              "scope": null
            }
          ],
          "description": [
            {
              "data": "Biker jacket",
              "locale": "en_US",
              "scope": "ecommerce"
            }
          ],
          "material": [
            {
              "data": "leather",
              "locale": null,
              "scope": null
            }
          ],
          "name": [
            {
              "data": "Biker jacket",
              "locale": "en_US",
              "scope": null
            }
          ],
          "variation_name": [
            {
              "data": "Biker jacket leather",
              "locale": "en_US",
              "scope": null
            }
          ]
        }
      }
    ]
  }
}

Request

Query Params
search
string 
optional
Filter product models, for more details see the Filters section
scope
string 
optional
Filter product values to return scopable attributes for the given channel as well as the non localizable/non scopable attributes, for more details see the Filter product values via channel section
locales
string 
optional
Filter product values to return localizable attributes for the given locales as well as the non localizable/non scopable attributes, for more details see the Filter product values via locale section
attributes
string 
optional
Filter product values to only return those concerning the given attributes, for more details see the Filter on product values section and the Filter on product model properties section
pagination_type
string 
optional
Pagination method type, see Pagination section
page
integer 
optional
Number of the page to retrieve when using the page pagination method type. Should never be set manually, see Pagination section
search_after
string 
optional
Cursor when using the search_after pagination method type. Should never be set manually, see Pagination section
limit
integer 
optional
Number of results by page, see Pagination section
with_count
string 
optional
Return the count of items in the response. Be carefull with that, on a big catalog, it can decrease performance in a significative way
with_quality_scores
string 
optional
Return product model quality scores in the response. (Only available since the 6.0 version)

Responses

🟢200Return product models paginated
application/json
Body
_links
object 
optional
first
object 
optional
next
object 
optional
previous
object 
optional
self
object 
optional
current_page
integer 
optional
Current page number
_embedded
object 
optional
items
array [object {13}] 
optional
🟠401Authentication required
🟠406Not Acceptable
🟠422Unprocessable entity
Modified at 2023-08-15 05:53:55
Previous
Download a product media file
Next
Update/create several product models
Built with