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 MethodGET
URLQA2https://api.qa2.ananastest.com/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/product-declarations
Productionhttps://api.ananas.rs/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/product-declarations
HTTP Headers
Header nameHeader value
AuthorizationBearer {access_token}

Response

Response is a collection of product declarations.

Field NameTypeDescription
productCodeStringProduct code (SKU)
productNameStringName of the product
productTypeStringProduct category/type
brandStringProduct brand
modelStringProduct model (SKU)
merchantNameStringMerchant name
supplierNameStringSupplier name
countryOfOriginStringCountry where product is manufactured
materialStringMaterial composition
careInformationStringInstructions for product care
sizeLabelStringSize label information
shrinkageStringShrinkage details after washing/use
qualityControlledByStringEntity responsible for quality control
recommendedAgeStringRecommended age for usage
batteryInformationStringBattery details (if applicable)
lengthStringProduct length (e.g. cm)
widthStringProduct width (e.g. cm)
heightStringProduct height (e.g. cm)
depthStringProduct depth (e.g. cm)
weightStringProduct weight (e.g. kg)

JSON

Click to copy
Success!
[
    {
        "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"
    }
]
Copyright © Ananas 2023. All right reserved.