Using the Streaming Items API

circle-info

Required fields are marked with a red asterisk (*) in the Name column.

Use the streaming Items API for partial real time item updates throughout the day.

Upsert items

POST https://items.attraqt.io/items

This endpoint allows you to create or modify a list of items.

Query Parameters

Name
Type
Description

tenant*

string

Your tenant ID

environment*

string

Your environment ID

fhrValidation

string

True/false. Enforces specific validation to comply with the Fredhopper data model

Headers

Name
Type
Description

Authorization*

string

Request Body

Name
Type
Description

items*

array

List of items

[
 {
  itemId: {{item id}},
  receiptId: {{receipt id}}
 }
]
circle-exclamation
circle-info

Please keep the message size of each API call under 1MB for better performance.

Patch items

PATCH https://items.attraqt.io/items

This method allows you to patch attributes of given items.

Unlike the upsert, patch an item will only update attributes that are present in the request. It means that you don't need to send the whole item, but only the updated attributes.

Query Parameters

Name
Type
Description

tenant*

string

Your tenant ID

environment*

string

Your environment ID

fhrValidation

String

True/false. Enforces specific validation to comply with the Fredhopper data model

Headers

Name
Type
Description

Authorization*

string

Bearer token

Request Body

Name
Type
Description

items*

array

List of items with attributes to patch

circle-info

Mandatory attributes aren't checked with this method. Only the attribute's types are validated.

Delete items

POST https://items.attraqt.io/items/delete

This endpoint allows you to delete items.

Query Parameters

Name
Type
Description

tenant*

string

Your tenant ID

environment*

string

Your environment ID

Headers

Name
Type
Description

Authorization*

string

Bearer token

Request Body

Name
Type
Description

item IDs*

array

List of item IDs

Last updated