Magento REST icon

Magento REST

Consume Magento REST API

Product → Get

AI-generated

Summary

Get a product from Magento by SKU.

Inputs

  • sku (required) — Product SKU

Output shape

object

The product data returned by the Magento REST API. When simplifyOutput is enabled, the response is flattened per the node's logic: custom_attributes array converts to an object keyed by attribute code, extension_attributes expand to top-level keys with 'extension_' prefix, product_links are keyed by link_type with arrays of linked product SKUs, and media_gallery_entries simplify to an images array containing url, roles, position, id, and disabled fields.

Examples

Example 1: Retrieve a single product by SKU with default settings.

sku: '12345', websiteCode: '', simplifyOutput: false

Links

Discussion