Get all products
GET/pcm/products
Retrieves a list of all your products in the Product Experience Manager system.
You can also use include
to retrieve top-level resources, such as files or images, and key attribute data, such as SKU or slug for component products in a product bundle. With this option, you can get more information about the products in a product bundle in your store front, improving the buying experience for your shoppers.
Filtering
Many Commerce API endpoints support filtering. The general syntax is described in Filtering.
The following attributes and operators are supported.
Operator | Attribute | Description | Example |
---|---|---|---|
eq | sku , slug ,upc_ean , manufacturer_part_num , name , templates , commodity_type , owner , product_types , tags | Equals. Checks if the values of two operands are equal. If they are, the condition is true. For product_types , you can only specify one product type. For example, filter=eq(product_types,child) | filter=eq(name,some-name) |
like | sku , slug ,upc_ean , manufacturer_part_num , name , tags | Like. Checks if the operand contains the specified string. Wildcards are supported. | filter=like(name,*some-name*) |
In | id , name , SKU , slug , upc_ean , manufacturer_part_num , product_types , tags | Checks if the values are included in the specified string. If they are, the condition is true. For product_types , you can specify more than one product type. For example, filter=in(product_types,child,bundle) . | filter=in(id,some-id) |
Request
Responses
- 200
- 400
- 500
Returns a list of all products.
Bad request. The request failed validation.
Internal server error. There was a system failure in the platform.