Get product declarations
GET REST API request that returns declarations of products within a shipment. Fetching is done by the shipment id which is passed in the URL as a variable. In the response, a list of declarations is returned for the products that belong to the shipment.
Request
| HTTP Method | GET | |||||
| URL | QA2 | https://api.qa2.ananastest.com/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/product-declarations | ||||
| Production | https://api.ananas.rs/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/product-declarations | |||||
| HTTP Headers |
|
Response
Response is a collection of product declarations.
| Field Name | Type | Description |
| productCode | String | Product code (SKU) |
| productName | String | Name of the product |
| productType | String | Product category/type |
| brand | String | Product brand |
| model | String | Product model (SKU) |
| merchantName | String | Merchant name |
| supplierName | String | Supplier name |
| countryOfOrigin | String | Country where product is manufactured |
| material | String | Material composition |
| careInformation | String | Instructions for product care |
| sizeLabel | String | Size label information |
| shrinkage | String | Shrinkage details after washing/use |
| qualityControlledBy | String | Entity responsible for quality control |
| recommendedAge | String | Recommended age for usage |
| batteryInformation | String | Battery details (if applicable) |
| length | String | Product length (e.g. cm) |
| width | String | Product width (e.g. cm) |
| height | String | Product height (e.g. cm) |
| depth | String | Product depth (e.g. cm) |
| weight | String | Product weight (e.g. kg) |
JSON
[
{
"productCode": "58301",
"productName": "Free2Play Harmonika",
"productType": "Univerzalne Igračke",
"brand": "Free2Play",
"model": "58301",
"merchantName": "SPARK SEE d.o.o. BEOGRAD Vladimira Popovića 8a, 11070 Novi Beograd",
"supplierName": " APOLLO D.O.O, Puhova ulica 18, 2250 Ptuj, Slovenija,",
"countryOfOrigin": "Hrvatska",
"material": "Plastika",
"careInformation": "Suvom krpom",
"sizeLabel": "Iskazan na ušivnoj etiketi",
"shrinkage": "Po dužini 2%, po širini 2%",
"qualityControlledBy": "PROFI LAB Beograd",
"recommendedAge": "Pogodno za decu stariju od 3 godine",
"batteryInformation": "Uključene baterije – 3*AA baterije za dinosaura",
"length": "23",
"width": "11",
"height": "34",
"depth": "1",
"weight": "0.6"
}
]