POST v1/Items
Batch store (insert/update) items.
Request Information
URI Parameters
None.
Body Parameters
List of items to store. Maximum length of the list should not exceed 1,000 items.
Collection of ItemName | Type | Description | Comments |
---|---|---|---|
Identifier | string | ||
Title | string | ||
Vendor | string | ||
ItemType | string | ||
Price | decimal number | ||
OriginalPrice | decimal number | ||
Cost | decimal number | ||
DisplayUrl | string | ||
Description | string | ||
ImageUrl | string | ||
Prevalence | integer | ||
CollectionPrevalence | integer | ||
PopularityIndex | integer | ||
TrendingIndex | integer | ||
Tags | string | ||
Active | boolean | ||
Visible | boolean | ||
Collections | Collection of string | ||
PublishDate | date | ||
CreateDate | date | ||
VersionDate | date | ||
UpdateDate | date |
Request Formats
application/json, text/json
Sample:
[ { "Identifier": "sample string 1", "Title": "T-Shirt", "Vendor": "Nike", "Description": "Sample T-Shirt", "Prevalence": 0, "PopularityIndex": 2, "Tags": "Tee,Shirt,T-Shirt" }, { "Identifier": "sample string 2", "Title": "Shoe", "Vendor": "Adidas", "Description": "Sample Shoe", "Prevalence": 0, "PopularityIndex": 1, "Tags": "Footwear,Shoe" } ]
Response Information
Resource Description
A list of identifiers of successfully stored items.
Collection of IdentifierContainerName | Type | Description | Comments |
---|---|---|---|
Identifier | string |
Response Formats
application/json, text/json
Sample:
[ { "Identifier": "Sample string 1" }, { "Identifier": "Sample string 2" } ]