Core APIs
...
Core Requests
Category
4 min
category parameters get get /request the category parameters are applicable when making a request with type=category to retrieve category results from walmart the category is specified in the category id parameter the parameters should be appended as querystring parameters to the walmart product data api get http request category results are retrieved from the category results page https //www walmart com/cp/skateboards skates/7628560 on walmart type=category is not supported for walmart ca for example, to request category results for the category id of 5f9bb75e8bee926724ada8f8c0dae926912e15a2 , the request would be http https //api bluecartapi com/request?api key=demo\&type=category\&category id=5f9bb75e8bee926724ada8f8c0dae926912e15a2curl l get https //api bluecartapi com/request d api key="demo" d type="category" d category id="5f9bb75e8bee926724ada8f8c0dae926912e15a2"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "category", category id "5f9bb75e8bee926724ada8f8c0dae926912e15a2" } // make the http get request to bluecart api axios get('https //api bluecartapi com/request', { params }) then(response => { // print the json response from bluecart api console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'type' 'category', 'category id' '5f9bb75e8bee926724ada8f8c0dae926912e15a2' } \# make the http get request to bluecart api api result = requests get('https //api bluecartapi com/request', params) \# print the json response from bluecart api print(json dumps(api result json())) category parameters the following parameters are available for all requests made when type=category true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type next steps category results https //docs trajectdata com/bluecartapi/walmart product data api/results/category