Step 2. Create the configurable product
We have the information we need to create the Champ Tee configurable product.
The sample payload does not contain the price or the size. These attributes will be defined in the simple products.
The visibility
attribute is set to 4, meaning the product can be found by browsing or searching. This value will be changed for the simple products.
Before you using this code sample, verify that the attribute values are the same in your installation. See Get the list of attributes defined in an attribute searchCriteria for more information.
Endpoint
POST <host>/rest/default/V1/products
Payload
Response
Verify this step
-
Log in to the Luma website and select Catalog > Products. The product appears in the grid.
-
On the Luma store front page, search for
Champ
. No results are returned.