Skip to content

Instantly share code, notes, and snippets.

@vineeth030
Created July 25, 2017 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vineeth030/a699d178cc27cb5b57ce53e4a0dbf204 to your computer and use it in GitHub Desktop.
Save vineeth030/a699d178cc27cb5b57ce53e4a0dbf204 to your computer and use it in GitHub Desktop.
Root URL [App URL] : http://phpstack-87385-243760.cloudwaysapps.com/index.php/rest/V1
Step 1 : [Get token & authenticate]
URL [ POST ]: Root URL + /integration/admin/token
Credentials :
Username : sculpapiuser1
Password : sculpapi1
Step 2 : [Get categories with token id]
URL [ GET ] : Root URL + /categories/
Step 3 : [Get products under a category with Category ID]
URL [ GET ] : Root URL + /categories/66/products [ / categories / :categoryID / products ].
Step 4 : [Get product details with product id]
URL [ GET ] : Root URL + /products/Short Sleeve Compression T-Shirt [ / products / :SKU ].
Step 5 : [Create a cart and get Cart ID (Magento calls it Quote ID) ].
URL [ POST ]: Root URL + /carts/mine
Step 6 : []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment