How to expand Akeneo API with product/product-model id field from db?

I’m getting product data from API without "id" field from db table. How to expand API?

  array(1) {
    'self' =>
    array(1) {
      'href' =>
      string(59) "https://akeneo-example.com/api/rest/v1/products/108663-BLUE"
    }
  }
  'identifier' =>
  string(12) "108663-BEIGE"
  'enabled' =>
  bool(true)
  'family' =>
  string(5) "color"
  'categories' =>
  array(2) {
    [0] =>
    string(12) "plastic_pens"
    [1] =>
    string(12) "plastic_pens"
  }

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *