Fetch all tags, this is a dynamic list managed from within Kobra.
These could for example be used to mark a product as having an uncertain price, possible incomplete artist information or something else.
[- {
- "id": 0,
- "name": "string",
- "groupId": 0,
- "groupName": "string",
- "rank": 0
}
]Fetch the current version of API according to X.Y.Z. Below is taken from https://semver.org
{- "version": "string"
}Retrieves the details of an existing product. Supply the unique product ID and receive corresponding product details.
| id required | integer <int32> |
{- "id": 0,
- "productNumber": "string",
- "productListId": 0,
- "categoryIds": [
- 0
], - "labelId": 0,
- "artistId": 0,
- "mediaId": 0,
- "recordConditionId": 0,
- "sleeveConditionId": 0,
- "title": "string",
- "text": "string",
- "inPrice": 0,
- "outPrice": 0,
- "tagIds": [
- 0
], - "supplierArticleNumber": "string",
- "releaseDate": "2019-08-24T14:15:22Z"
}Create a new product. Status will always be set to inactive, supplier to "BEGAGNAT", Currency to SEK, VAT to 0%, Stock to 1
| productListId required | integer <int32> |
| categoryIds required | Array of integers <int32> non-empty [ items <int32 > ] |
| labelId required | integer <int32> |
| artistId required | integer <int32> |
| mediaId required | integer <int32> |
| recordConditionId required | integer <int32> |
| sleeveConditionId required | integer <int32> |
| title required | string [ 0 .. 120 ] characters |
| text required | string |
| inPrice | number <double> Default: 10 The price payed for product. Should be in SEK. |
| outPrice required | number <double> The price which product should be put up for sale at. Should be in SEK. |
| tagIds | Array of integers <int32> [ items <int32 > ] |
| supplierArticleNumber | string [ 0 .. 30 ] characters |
| releaseDate | string <date-time> |
| noLongerAvailable | boolean |
{- "productListId": 0,
- "categoryIds": [
- 0
], - "labelId": 0,
- "artistId": 0,
- "mediaId": 0,
- "recordConditionId": 0,
- "sleeveConditionId": 0,
- "title": "string",
- "text": "string",
- "inPrice": 10,
- "outPrice": 0.1,
- "tagIds": [
- 0
], - "supplierArticleNumber": "string",
- "releaseDate": "2019-08-24T14:15:22Z",
- "noLongerAvailable": true
}{- "id": 0,
- "productNumber": "string",
- "productListId": 0,
- "categoryIds": [
- 0
], - "labelId": 0,
- "artistId": 0,
- "mediaId": 0,
- "recordConditionId": 0,
- "sleeveConditionId": 0,
- "title": "string",
- "text": "string",
- "inPrice": 0,
- "outPrice": 0,
- "tagIds": [
- 0
], - "supplierArticleNumber": "string",
- "releaseDate": "2019-08-24T14:15:22Z"
}Upload image for product. If original image is larger than 350kb it will be hit with compression. Provided file be used to output 2 variants. A smaller one which is used in list view and one for the product details view.
Note! The image should be passed in body under the key "file". This is not displayed in docs properly due to technical reasons
| rank required | number <double> |
| productId required | number <double> |
{- "rank": 0.1,
- "productId": 0.1
}nullFetch all product lists, also referred to as batches.
When creating products, the product list must be included or else product creation will not be accepted.
[- {
- "id": 0,
- "name": "string",
- "usedProducts": true,
- "public": true
}
]Create a new product list. This list can then later be used for adding products to.
| name required | string [ 0 .. 35 ] characters |
| usedProducts | boolean Default: true This flag is currently ignored. |
| public | boolean Default: false This flag is currently ignored. |
{- "name": "string",
- "usedProducts": true,
- "public": false
}{- "id": 0,
- "name": "string",
- "usedProducts": true,
- "public": true
}Retrieves all products in product-list. Supply the unique product list ID and receive details for all products in product-list.
| id required | integer <int32> |
[- {
- "id": 0,
- "productNumber": "string",
- "productListId": 0,
- "categoryIds": [
- 0
], - "labelId": 0,
- "artistId": 0,
- "mediaId": 0,
- "recordConditionId": 0,
- "sleeveConditionId": 0,
- "title": "string",
- "text": "string",
- "inPrice": 0,
- "outPrice": 0,
- "tagIds": [
- 0
], - "supplierArticleNumber": "string",
- "releaseDate": "2019-08-24T14:15:22Z"
}
]Create a new label.
| name required | string [ 0 .. 50 ] characters |
{- "name": "string"
}{- "id": 0,
- "name": "string"
}Retrieves the details of an existing artist. Supply the unique artist ID and receive corresponding artist details.
| id required | integer <int32> |
{- "id": 0,
- "name": "string",
- "primaryCategory": 1,
- "relatedArtistIds": [
- 0
]
}Create a new artist.
| name required | string [ 0 .. 100 ] characters |
| orderBy | string [ 0 .. 100 ] characters Defaults to name if not provided |
| primaryCategory required | integer <int32> >= 1 |
| relatedArtistIds | Array of integers <int32> [ items <int32 > ] |
{- "name": "string",
- "orderBy": "string",
- "primaryCategory": 1,
- "relatedArtistIds": [
- 0
]
}{- "id": 0,
- "name": "string",
- "primaryCategory": 1,
- "relatedArtistIds": [
- 0
]
}