All departments

The All departments API enables Walmart Marketplace sellers to retrieve information about Walmart departments.


Endpoint

GET /v3/utilities/taxonomy/departments

Function

Use this API to get information about:

  • Super departments
  • Associated departments
  • Department identifiers

Request sample

curl --request GET \ --url https://marketplace.walmartapis.com/v3/utilities/taxonomy/departments \ --header 'accept: application/json'

Modify your code

1. Verify the API endpoint

https://marketplace.walmartapis.com/v3/utilities/taxonomy/departments

2. Specify the Market

Example:

--header 'WM_MARKET: us'

3. Include authentication credentials

Ensure your request has the required Walmart Marketplace authentication headers and a valid access token.


Response samples

200

{ "status": "SUCCESS", "payload": [ { "superDepartment": "13 HOUSEHOLD CHEMICALS", "superDepartmentId": "44000", "departments": [ { "departmentName": "LAUNDRY AND HOUSEHOLD CHEMICALS", "departmentId": "44003" }, { "departmentName": "HOUSEHOLD CHEMICALS MISC L2", "departmentId": "44004" } ] }, { "superDepartment": "94 PRODUCE", "superDepartmentId": "80100", "departments": [ { "departmentName": "PRODUCE L2", "departmentId": "1080100" } ] }, { "superDepartment": "01 CANDY AND TOBACCO", "superDepartmentId": "86000", "departments": [ { "departmentName": "CANDY AND TOBACCO L2", "departmentId": "1086000" } ] }, { "superDepartment": "34 LADIES APPAREL", "superDepartmentId": "56000", "departments": [ { "departmentName": "WOMENS SEASONAL", "departmentId": "56007" }, { "departmentName": "WOMENS", "departmentId": "56004" }, { "departmentName": "JUNIORS", "departmentId": "56002" }, { "departmentName": "WOMENS PLUS", "departmentId": "56006" }, { "departmentName": "OUTDOOR WOMENS HIKE AND ALPINE APPAREL", "departmentId": "1056114" }, { "departmentName": "WOMENS ACTIVEWEAR", "departmentId": "56146" }, { "departmentName": "MATERNITY", "departmentId": "56003" }, { "departmentName": "LADIES APPAREL MISC L2", "departmentId": "1056125" } ] }, { "superDepartment": "08 PETS AND SUPPLIES", "superDepartmentId": "47000", "departments": [ { "departmentName": "PETS L2", "departmentId": "1047022" }, { "departmentName": "CAT", "departmentId": "47012" }, { "departmentName": "BIRD AQUATICS SMALL ANIMAL", "departmentId": "47014" }, { "departmentName": "DOG", "departmentId": "47010" } ] } ]
}

Result

The results include the following department information:

  • status: Indicates if the request was successful
  • superDepartment: Identifies the super department name
  • superDepartmentId: Identifies the super department using a unique ID
  • departments: Contains the departments associated with the super department
  • departmentName: Identifies the department name
  • departmentId: Identifies the department using a unique ID

Next steps

After you retrieve the department taxonomy information, review the returned super departments, department names, and identifiers to determine which classifications apply to your products.

Use the department IDs to support product catalog organization and maintain consistent department mappings within your integration.



Did this page help you?