[Magento 2] [REST API] [CURL] Add Configurable Product Using REST API -- 2
$10-30 USD
In Progress
Posted about 8 years ago
$10-30 USD
Paid on delivery
Using the REST API for Magento 2.0 and CURL, we need a script of 'curl' commands that will add a configurable product to the catalog. The configurable product will be a shirt with color options.
For example, in Magneto2 sample data there are configurable products, like shirts with colors. Now, using Magento 2.0 REST API, make a script that contains 'curl' get, put, post commands that will create new configurable products with drop-down options. This means a configurable product is created. Configurable options are associated with the configurable product, and simple products are associated with the parent configurable product.. all using curl and REST calls to Magento 2.0 API.
[login to view URL]
curl -X POST "[login to view URL]{customer|admin}/token" \
-H "Content-Type:application/json" \
-d '{"username":"<USER-NAME>", "password":"<PASSWORD>"}'
[login to view URL]
Here is the solution for SOAP: [login to view URL]
We need the REST API solution using curl commands.