personalizer.io Documentation

Help Page Home

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 Item
NameTypeDescriptionComments
Identifier string

Title string

Vendor string

ItemType string

Price decimal number

OriginalPrice decimal number

DisplayUrl string

Description string

ImageUrl string

Prevalence integer

CollectionPrevalence integer

PopularityIndex integer

TrendingIndex integer

Tags string

Active boolean

Collections Collection of string

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 IdentifierContainer
NameTypeDescriptionComments
Identifier string

Response Formats

application/json, text/json

Sample:
[
  {
    "Identifier": "Sample string 1"
  },
  {
    "Identifier": "Sample string 2"
  }
]