List brands
Retrieve advertiser brands, search Walmart's catalog, and validate brand availability.
Overview
Retrieve brands associated with an advertiser account.
Brand data is commonly used when building audiences and creating brand-based targeting strategies.
Use this endpoint to:
- Retrieve brands associated with an advertiser catalog
- Search broader Walmart catalog brand data when eligible
- Validate brand availability before audience or targeting workflows
- Retrieve item counts associated with a brand
Availability
Supported for Onsite Display advertisers.
How it works
Returns brands associated with:
- An advertiser catalog
- Or the broader Walmart catalog when eligible
Each response includes the number of items associated with the brand.
Discovery
Retrieve brands associated with an advertiser account.
Search mode
Choose restricted or unrestricted brand retrieval.
Validate results
Review brand name and item count.
Apply data
Use the brand data in audience or targeting workflows.
Activate workflow
Build brand audiences or validate targeting inputs.
Choosing the right brand mode
Use the table below to determine which request mode matches your workflow. The default for this endpoint is restricted i.e. it will only return brands associated with the advertiser account.
| Need | Request Mode |
|---|---|
| Retrieve only brands associated with the advertiser | Restricted |
| Search for a specific brand name | Restricted with filter[brandName] |
| Search beyond the advertiser catalog when eligible | Unrestricted with filter[brandName] |
| Build brand audiences | Restricted |
| Retrieve advertiser brand portfolios | Restricted |
| Validate brand availability before using item set targeting | Restricted or Unrestricted |
Before you begin
- Valid
advertiserId
Endpoint
POST /api/v1/brands/list
POST /api/v1/brands/listRequest details
How this request is used
Use this endpoint to get the brand information you need to:
- Build brand audiences
- Create brand affinity audiences
- Create advanced audiences
- Retrieve advertiser brand portfolios
Key fields and behaviors
Filtering options
Use filters to retrieve advertiser brands or search across the broader Walmart catalog.
Find a specific brand
| Filter | Use case |
|---|---|
filter[brandName] | Retrieve a specific brand |
Scope results
| Parameter | Use case |
|---|---|
isRestricted=true | Return only brands associated with the advertiser |
isRestricted=false | Search beyond the advertiser's brands |
Understanding restricted vs. unrestricted mode
Advertiser brand portfolio
Use restricted mode when you only want brands associated with the advertiser.
- Brand audiences
- Brand portfolio validation
- Targeting input validation
Brand search beyond the catalog
Use unrestricted mode when eligible and when you need to search for a specific brand name outside the advertiser catalog.
- Brand lookup
- Expanded brand search
- Brand validation workflows
Unrestricted mode requires both isRestricted=false and filter[brandName] in the request.
Sample requests
List brands in the advertiser catalog
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/brands/list' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <auth_token>'
--header 'WM_SEC.AUTH_SIGNATURE: **************' \ --header 'WM_SEC.KEY_VERSION: 1' \ --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779' \ --data '{ "advertiserId": 1, "isRestricted": true, "filter[brandName]": ["Brand Name"], "startIndex": 0, "count": 5 } 'List of specific brands outside of advertiser catalog
curl -X POST \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/brands/list' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <auth_token>'
--header 'WM_SEC.AUTH_SIGNATURE: **************' \ --header 'WM_SEC.KEY_VERSION: 1' \ --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779' \ --data '{ "advertiserId": 1, "isRestricted": false, "filter[brandName]": ["Brand Name"], "startIndex": 0, "count": 5 } 'Response details
What this response returns
This response returns a list of brand names plus the count of items associated with each brand.
Key fields to use
-
brandName
Brand name -
itemCount
Number of associated items -
code
Indicates whether the update request succeeded or failed. -
details
Provides additional information about the request, including errors when applicable. -
message
Optional. High-level, human-readable summary of the error when available. -
errors
Detailed information about one or more errors. This is an array object with fields:field,errorType,description
Error Handling
If the request or an individual item fails, the response includes error information to help identify the issue and determine the corrective action. Use errorType for the error condition, field for the affected request field when applicable, and description for an explanation of the error and, when available, guidance on how to resolve it.
For the complete error response schema and endpoint-specific response definitions, see the API Reference. For guidance on HTTP status codes and how clients should handle them, see API status codes and error handling.
Sample responses
Response with one result
{ "code": "success", "totalResults": 1, "data": [ { "brandName": " Brand Name", "itemCount": 891 } ]
}Sample Response - failure
[ { "code": "failure", "details": [ "string" ], "message": "string",
"errors": [ { "field": "string", "errorType": "string", "description": "string" } ] }
]Common issues
- Using an unsupported brand search mode
- Forgetting pagination for large brand result sets
- Assuming unrestricted mode returns only advertiser-owned brands
- Using brand data when item-level metadata is needed instead
- Fetching brands using
isRestricted=falsewithout using filter[brandName]
What happens next
After retrieving brand data:
- Select the brands needed for the workflow
- Store brand names and related metadata
- Use brand data in brand audience workflows
- Use brand data to validate targeting inputs
Related pages
Updated about 1 month ago
