Skip to Content

Understand the requirements for listing an item

Find the right product type, download its attribute schema and check whether you can list an item.

Every item on Walmart.com belongs to a product type. The product type decides which attributes your listing must include and which values are valid. Before you create a listing, find the product type that fits your item, get its definition, and check that nothing restricts you from listing the item.

This guide covers three tasks:

  • Browse the taxonomy and find a product type.
  • Download the product type definition, a JSON Schema for the listing's attributes.
  • Check listing restrictions for an item and condition.

Before you begin

  • Get an access token with the definitions:read scope for product type definitions and the listings:read scope for listing restrictions. See Authentication.
  • Have your seller ID ready. You need it for restriction checks, and you can pass it when you get a product type definition.

Step 1: Browse the taxonomy

The taxonomy is a three-level tree: category, then product type group, then product type. Call Get taxonomy without parameters to get the full tree. To get one branch, pass the category name in category. The category name is the identifier, so use the exact category value from a previous response.

GET /definitions/v4/taxonomy?category=Electronics&locale=en_US
Authorization: Bearer <access_token>
{
  "categories": [
    {
      "category": "Electronics",
      "description": "Consumer electronics",
      "productTypeGroups": [
        {
          "productTypeGroupName": "Headphones",
          "productTypes": [
            { "name": "Headphones", "displayName": "Headphones", "marketplaceIds": ["WALMART_US"] }
          ]
        }
      ]
    }
  ]
}

Step 2: Search for a product type

If you don't want to walk the tree, call Search product types.

  • keywords runs a substring search on product types.
  • itemName takes a free-text product title and returns recommended product types for it.
GET /definitions/v4/productTypes?itemName=Wireless%20over-ear%20headphones
Authorization: Bearer <access_token>
{
  "productTypes": [
    { "name": "Headphones", "displayName": "Headphones", "marketplaceIds": ["WALMART_US"] }
  ]
}

Use the name value as the productType in your listing requests.

Step 3: Get the product type definition

Call Get product type definition with the product type name. Pass sellerId to scope the definition to your account.

GET /definitions/v4/productTypes/Headphones?sellerId=<seller_id>&locale=en_US
Authorization: Bearer <access_token>

The response contains:

FieldDescription
schemaThe JSON Schema for this product type's attributes. Build your listing's attributes object from it.
metaSchemaURI of the meta-schema the schema follows.
requirementsRequirement rules for the product type.
propertyGroupsGroupings of related attributes.

Validate before you submit

Validate your attributes object against schema before you create or update a listing. You'll catch missing or malformed attributes before they come back as INVALID submissions.

Step 4: Check listing restrictions

Some items need approval, are blocked for compliance, or can't be listed in a particular condition. Call Get listing restrictions with the item's Walmart Item ID in the asin parameter, the condition you plan to sell in, your seller ID and the marketplace.

GET /listings/v4/restrictions?asin=<walmart_item_id>&conditionType=new_new&sellerId=<seller_id>&marketplaceIds=WALMART_US
Authorization: Bearer <access_token>
{
  "restrictions": [
    {
      "marketplaceId": "WALMART_US",
      "conditionType": "new_new",
      "reasons": [
        {
          "reasonCode": "APPROVAL_REQUIRED",
          "message": "You need approval to list in this category.",
          "links": [
            { "resource": "https://example.com/approval", "verb": "GET", "title": "Request approval" }
          ]
        }
      ]
    }
  ]
}

An empty reasons array means the item isn't restricted for that condition. Otherwise, each reason has one of these codes:

reasonCodeMeaning
APPROVAL_REQUIREDYou need approval before you can list the item.
ASIN_NOT_APPLICABLEThe Walmart Item ID doesn't apply to this request.
NOT_ELIGIBLEThe item isn't eligible for listing.
INELIGIBLE_ITEM_CONDITIONYou can't list the item in this condition.
COMPLIANCE_BLOCKEDThe item is blocked for compliance.
HAZMATThe item is restricted as hazardous material.
RECALLEDThe item is recalled.
RESTRICTED_CATEGORYThe item is in a restricted category.

When a reason includes links, follow the resource URI to resolve it, for example to request approval.

Supported conditionType values: new_new, used_like_new, used_very_good, used_good, used_acceptable, collectible_like_new, collectible_very_good, collectible_good, collectible_acceptable and refurbished_refurbished.

Errors and edge cases

  • A 200 response doesn't guarantee you can list. Always inspect the reasons array for each restriction.
  • Unknown product type. Getting a definition checks the product type against the live taxonomy and returns 404 Not Found if it doesn't exist.
  • Unknown category. The taxonomy endpoint can return 404 Not Found.
  • Missing parameters. asin, conditionType, sellerId and marketplaceIds are all required for restriction checks. Leaving one out returns 400 Bad Request.
  • Rate limits. All three APIs can return 429 Too Many Requests. Back off and retry.
  • Error responses use a problem-details body with an errors array. Each entry has a code and message, and can include details and pointer.

On this page