Stocks/Tecdoc/Articles
Catalogue detail for articles
Name, brand, barcodes and image of the given TecDoc articles. The ids come from article_id of the equivalents endpoint. The catalogue answers a batch as a whole: when any id in it is unknown, the answer is an empty list for every id, not a shorter one.
AuthorizationBearer <token>
In: header
Query Parameters
idsarray<unknown>
TecDoc article ids, as returned in article_id by the equivalents endpoint. Duplicates are dropped before the catalogue is called; a blank id is rejected with 422.
Response Body
curl -X GET "https://og-tenant1.test:8003/api/v2/stocks/tecdoc/articles?ids="{
"data": [
{
"article_id": "string",
"article_number": "string",
"article_name": "string",
"brand_name": "string",
"brand_number": "string",
"barcodes": [
"string"
],
"image_url": "string"
}
]
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}{
"data": {
"code": "VALIDATION_FAILED",
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required."
]
}
},
"meta": {
"trace_id": "9f86d081884c7d659a2feaa0c55ad01568f3a1c2b4d5e"
}
}