Item API
An API to upload and download item data
Get items
GET
https://centaraserver/api/items/{site}
Get all items and their metadata
Path Parameters
Name
Type
Description
site
string
The site to view items for
Query Parameters
Name
Type
Description
skip
integer
Skip n many records from the beginning
take
integer
Take only the n first records
Headers
Name
Type
Description
Authentication
string
Bearer access token of the form "Bearer <token>"
{
"itemNumber": "The unique ID of the item/variant/SKU",
"disabled": "Is the item/variant/SKU removed from the system?",
"attributes": {
[attribute:string]: string
}[]
}[]
Put items
PUT
https://centaraserver/api/items/{site}
Put a list of items and metadata
Path Parameters
Name
Type
Description
site
string
The site to put items for
Request Body
Name
Type
Description
raw
object
Supplied items will be overridden. Any existing items that are not supplied will be left intact.
Last updated
Was this helpful?