Update item set
Update Item Set configurations using PUT and track asynchronous rebuild status.
Overview
Use this endpoint to update an existing Item Set's name, description, or product selection criteria.
This endpoint replaces the Item Set definition and initiates an asynchronous rebuild. Partial updates are not supported.
Availability
Supported for Onsite Display only.
How it works
Retrieve the existing Item Set configuration, make the required changes, and submit the complete replacement definition.
Retrieve Item Set
Get the current definition and confirm update eligibility.
Modify definition
Update supported fields while retaining unchanged values.
Submit PUT
Send the complete replacement definition.
Rebuild
Walmart Connect processes the updated Item Set asynchronously.
Verify readiness
Confirm status is BUILT before using the updated Item Set.
Before you begin
- Valid
advertiserIdanditemsetId - Existing Item Set configuration
- Item Set is owned by the advertiser and configured with
editable=true - Current Item Set status is
BUILTorINVALID - Any updated product identifiers, brands, or category criteria are valid
Endpoint
PUT /api/v1/itemset
PUT /api/v1/itemsetRequest details
How this request is used
Use this endpoint to update supported Item Set attributes, including:
- Item Set name or description
- Products included in an item-based Item Set
- Brands included in a brand-based Item Set
- Category selection criteria
- Existing hybrid expression criteria
The Item Set's class and type cannot be changed after creation.
Key fields and behaviors
itemsetId
Identifies the existing item set to updateclass
Identifies whether the item set is used formeasurement(default) ortargeting; cannot be updated.itemsetType
Identifiesfeaturedorhalowhenclass=measurement; cannot be updated.type
Identifies the existing product selection type (item,brand,category, orhybrid).editable
Must betruefor item set to be edited.items
Supplies the replacement product list for an item-based item set.brands
Supplies the replacement brand list for a brand-based item set.expression
Supplies the replacement selection criteria for expression-based item sets.
For complete field definitions and validation requirements, see the Update Item Set API reference.
Update eligibility
Not all Item Sets can be updated.
| Item Set condition | Update behavior |
|---|---|
editable=true | Required for updating an existing Item Set. |
editable=false | Item Set cannot be updated. |
| Shared Item Set | Cannot be updated by the receiving advertiser. |
| Auto-generated Halo Item Set | Cannot be updated. |
| Featured products used in active ad groups | Products associated with creatives used by ad groups cannot be removed from the Featured Item Set. |
Field eligibility by status
Item Sets can be updated only when their current status is BUILT or INVALID.
| Field | BUILT | INVALID | Notes |
|---|---|---|---|
name | ✅ | ✅ | Name can be updated. |
description | ✅ | ✅ | Requires editable=true. |
items, brands, expression | ✅ | ✅ | Product selection can be updated when eligible and editable=true. |
class | ❌ | ❌ | Immutable. |
type | ❌ | ❌ | Immutable. |
editable | ❌ | ❌ | Immutable. |
Updates are not supported while the Item Set is DRAFT, PENDING, BUILDING, or FAILED.
Preserve the existing Item Set typeUpdating an Item Set does not allow you to change its
type.For example, an Item-based Item Set cannot be converted into a Brand, Category, or Hybrid Item Set using this endpoint. Create a new Item Set when a different type is needed.
Update product selection
The product selection fields depend on the existing Item Set type.
Item-based Item Sets
Use items to replace the list of included products.
Each item includes:
id— identifies the product.itemType— identifies the catalog identifier type.
Supported itemType values include gtin, upc, stores, and online.
For items with catalog=UNIVERSAL in the List Items API, use GTIN identifiers.
Brand-based Item Sets
Use brands or a brand-based expression to update the selected brands.
brandsaccepts an array of brand names.- Brand expressions use clauses with
type=brand. - Do not combine a brand expression with the
brandsarray in the same request.
Category-based Item Sets
Use expression to update category selection criteria.
Category clauses include:
name— category name.level— category hierarchy level.attributes— optional additional category filters.
Supported hierarchy levels are 1, 2, and 3.
Department, category, and subcategory names are case sensitive. Use the exact names returned by the List Taxonomies API.
Hybrid Item Sets
Use expression to update a combination of items, brands, and categories.
Hybrid Item Sets are supported for Targeting workflows.
The existing Item Set must already have type=hybrid. An update cannot convert another type into Hybrid.
Expression rules
When updating an expression-based Item Set:
- Use the
expression.orarray to define the selection criteria. - Include at least one expression clause.
- Supported clause types are
item,brand, andcategory. - Only OR operations are supported.
- Nested logical gates are not supported.
- Do not combine
expressionwith theitemsorbrandsarray fields.
For category expression attributes and supported values, see the Create Item Set guide.
Sample requests
The following examples show how to update Item Sets using the supported product selection structures.
Update brand-based Item Set
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "measurement", "type": "brand", "editable": true, "brands": [ "abc", "xyz" ] } ]'Update items in Item Set
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "measurement", "type": "item", "editable": true, "items": [ { "id": 123456789, "itemType": "gtin" }, { "id": 123456790, "itemType": "gtin" } ] } ]'Update brand expression
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "measurement", "type": "brand", "editable": true, "expression": { "or": [ { "type": "brand", "value": { "name": "pepsi" } }, { "type": "brand", "value": { "name": "red bull" } } ] } } ]'Update Halo category expression
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "measurement", "type": "category", "itemsetType": "halo", "editable": true, "expression": { "or": [ { "type": "category", "value": { "name": "baby food", "level": 1 } }, { "type": "category", "value": { "name": "Quilting Basting Guns", "level": 1 } } ] } } ]'Update Targeting category expression
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "targeting", "type": "category", "editable": true, "expression": { "or": [ { "type": "category", "value": { "name": "baby food", "level": 1 } }, { "type": "category", "value": { "name": "Quilting Basting Guns", "level": 1 } } ] } } ]'Update hybrid Item Set
curl -X PUT \ 'https://developer.api.us.stg.walmart.com/api-proxy/service/display/api/v1/api/v1/itemset' \ --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, "itemsetId": 123, "name": "string", "description": "itemset description", "class": "targeting", "type": "hybrid", "editable": true, "expression": { "or": [ { "type": "item", "value": { "itemId": "123456789", "itemType": "gtin" } }, { "type": "item", "value": { "itemId": "123456790", "itemType": "gtin" } }, { "type": "brand", "value": { "name": "pepsi" } }, { "type": "category", "value": { "name": "baby food", "level": 1 } } ] } } ]'Response details
What this response returns
A successful response confirms that the update request was accepted and returns the Item Set identifier.
Key fields to use
code
Indicates whether the update request succeeded or failed.details
Provides additional information about the request, including errors when applicable.itemsetId
Identifies the updated Item Set.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.
How to interpret the response
A successful response confirms that the update request was accepted. It does not indicate that the Item Set has finished rebuilding.
After an update:
- The Item Set enters the asynchronous build process.
- Its status must return to
BUILTbefore reuse. - The updated Item Set is temporarily unavailable while rebuilding.
Sample response
Item set update accepted
[ { "code": "success", "details": ["string"], "itemsetId": 123 }
]Sample response - failure
[ { "code": "failure", "details": [ "string" ], "message": "string",
"errors": [ { "field": "string", "errorType": "string", "description": "string" } ] }
]Common issues
- Submitting a partial definition instead of the complete replacement payload
- Attempting to update an Item Set with
editable=false - Updating a shared or auto-generated Halo Item Set
- Attempting to change immutable fields such as
classortype - Updating an Item Set while its status is not
BUILTorINVALID - Removing Featured Measurement products associated with creatives used in ad groups
- Mixing
expressionwithitemsorbrandsarrays - Using an unsupported catalog identifier or category value
- Attempting to use the Item Set before rebuilding completes
What happens next
After a successful update:
- Store the returned
itemsetId. - Use List Item Sets to check build status.
- Wait until
status=BUILT. - Resume the applicable measurement, audience, or targeting workflow.
Related pages
Updated 26 days ago
