Unable to find products with ID via Headless API


  • Noticed that products have two ID fields, when you fetch them via headless API
    • id
    • productId
  • id is visible on the UI and productId is not.
  • When you try to get products via headless API using id, it does not work:
    E.g.: GET /o/headless-commerce-admin-catalog/v1.0/products/{id}


  • Commerce 4.0 (DXP 7.4) reposted so far


  • When headless APIs are used, the productId is the only ID that the endpoint is using and looking for.

Additional Information


0 人中有 0 人觉得有帮助