Get details of article
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/article/{id}
curl \
-X GET http://10.10.10.132/api-v1/article/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"archived": true,
"articleId": "string",
"categoryId": 42,
"categoryName": "string",
"currency": {
"code": "string",
"id": 42,
"name": "string"
},
"description": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"ean": "string",
"endDate": "string",
"id": 42,
"imageId": 42,
"isLinkedToShipments": true,
"isManufactured": true,
"items": [
{
"amount": "string",
"articleId": 42,
"articleName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"discount": "string",
"id": 42,
"price": "string",
"totalPrice": "string"
}
],
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"margin": 42.0,
"measurement": "UNIT",
"name": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"quantity": 42.0,
"saleAccountId": 42,
"saleAccountName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"startDate": "string",
"type": "PRODUCT",
"unitCost": "string",
"unitPrice": "string",
"vatRateId": 42,
"weightKg": 42.0
}