Create items on Walmart.com
Check the catalog for an existing product, then create a listing for your SKU.
To sell a product on Walmart.com, you create a listing for your SKU. The listing names the product type and carries the attributes that the product type definition asks for.
Start by searching the Walmart catalog. If the product already exists, you can use its catalog data and its Walmart Item ID to check restrictions before you list. If it doesn't, you set up the full product from your own data.
Before you begin
- Get an access token with the
catalog:readandlistings:writescopes. Addlistings:readto check restrictions and read the listing back. See Authentication. - Know your seller ID and the SKU you'll use for the item.
- Find the product type and download its definition. See Understand the requirements for listing an item.
Step 1: Search the catalog for the product
Call Search catalog items with an identifier you have. You can search by gtin (14 digits), upc (12 digits), walmartItemIds (comma-separated, up to 20), sellerSku or keywords. marketplaceIds is required and takes one value.
GET /v4/catalog/items?upc=012345678905&marketplaceIds=WALMART_US&includedData=identifiers,productTypes,attributes
Authorization: Bearer <access_token>{
"numberOfResults": 1,
"items": [
{
"walmartItemId": "00000000000000",
"marketplaceId": "WALMART_US",
"identifiers": {
"marketplaceWalmartItemId": [
{ "identifierType": "WALMART_ITEM_ID", "identifier": "00000000000000", "marketplaceId": "WALMART_US" }
]
},
"productTypes": [{ "productType": "Headphones" }]
}
]
}If you find a match, note its walmartItemId and productType. To read more detail, call Get a catalog item with the 14-digit Walmart Item ID and the includedData sections you need: attributes, dimensions, identifiers, images, productTypes, relationships or salesRanks.
GET /v4/catalog/items/00000000000000?marketplaceIds=WALMART_US&includedData=attributes,images
Authorization: Bearer <access_token>Step 2: Check listing restrictions
If the product is in the catalog, check whether you can list it in your condition. Call Get listing restrictions with the Walmart Item ID in asin. Only continue if the reasons array is empty, or once you've resolved each reason.
GET /listings/v4/restrictions?asin=00000000000000&conditionType=new_new&sellerId=<seller_id>&marketplaceIds=WALMART_US
Authorization: Bearer <access_token>Step 3: Create the listing
Call Create or replace a listing for your SKU. The body requires productType and attributes. requirements is optional and defaults to LISTING. The other values are LISTING_PRODUCT_ONLY and LISTING_OFFER_ONLY.
PUT /v4/items/listings/<seller_id>/HP-WL-001?marketplaceIds=WALMART_US&issueLocale=en_US
Authorization: Bearer <access_token>
Content-Type: application/json{
"productType": "Headphones",
"requirements": "LISTING",
"attributes": {
"item_name": [{ "value": "Wireless Over-Ear Headphones", "language": "en_US" }],
"brand": [{ "value": "ExampleBrand" }],
"condition_type": [{ "value": "new_new" }]
}
}Attribute names come from the definition
The attribute keys above are illustrative. Use the names, structure and allowed values from the schema in your product type's definition.
Step 4: Review the submission response
The response tells you whether the submission was accepted.
{
"sku": "HP-WL-001",
"status": "ACCEPTED",
"submissionId": "f1c7a3e2-58b4-4c1d-9b0e-2a6d4e8f1a10",
"issues": []
}status | What to do |
|---|---|
ACCEPTED | The submission was received. Get the listing later to confirm its status. |
INVALID | The submission was rejected. Fix the attributes listed in issues and submit again. |
Each issue has a code, a message in your issueLocale, a severity (ERROR, WARNING or INFO) and the attributeNames it affects.
Step 5: Confirm the item status
Call Get a listing with includedData=summaries,issues to see the item's status in the marketplace: BUYABLE, DISCOVERABLE or SUPPRESSED. See Get item details.
Errors and edge cases
INVALIDstatus. The request succeeded, but the listing wasn't accepted. Readissuesto find the attributes to fix.PUTreplaces the listing. If the SKU already exists, aPUTfully replaces it. To change only some attributes, usePATCH. See Update and retire items.- Catalog identifiers.
gtinmust be 14 digits,upcmust be 12 digits and a Walmart Item ID in the catalog path must be 14 digits.walmartItemIdstakes at most 20 IDs. Invalid values return400 Bad Request. - No catalog match. Catalog search and get can return
404 Not Found. Set the item up from your own product data instead. - Permissions. A token without the right scope returns
403 Forbidden. - Rate limits. Back off and retry on
429 Too Many Requests.
