Welcome to the hummel CONNECT Gateway API.
hummel CONNECT Gateway API provides programmatic access to Product information, Availability and allows partners to create and track Orders.
If you need help or have any questions to the APIs or your specific integration, please create a ticket through our service desk and we will get back to you as soon as possible.
OAuth2 is used for authentication. You should have received a client secret used to request a token and an api key to identify your client.
If you are using the .NET platform you can use the Microsoft.Identity library with:
Tenant ID: 52c7c612-ac6c-420c-88d2-cb752f797d6b
Client ID: 4e46d82c-f238-4e9f-ad63-d0965cad07c8
If not, here is a small recipe:
POST https://login.microsoftonline.com/52c7c612-ac6c-420c-88d2-cb752f797d6b/oauth2/v2.0/token
with form-encoded content:
client_id=4e46d82c-f238-4e9f-ad63-d0965cad07c8&scope=api%3A%2F%2F4e46d82c-f238-4e9f-ad63-d0965cad07c8%2F.default&client_secret=XXX&grant_type=client_credentials
will return a json object with the access_token.
The api key must be sent as a standard HTTP header with the key hml-api-key.
All GET api endpoints are built around sequenceNo, these numbers are ever increasing and will be updated when changes occur. They are also part of the output. While it is also possible to get changes per datetime, it is not recommended as it can lead to missing changes. Results will always be ordered by sequenceNo in ascending order.
The API uses rate limits to ensure each client gets their fair share of the shared resources.
When using sequenceNo you can do 1 request per endpoint every 2 seconds. Bursts are allowed to temporarily exceed this limit but only for shorter periods.
When not using sequenceNo then the limit is 1 request per endpoint every 15 seconds.
If you hit the rate limit, a 429 status code will be returned. Furthermore the RetryAfter header will be filled out to enable proper retries.
The availability API streams what is available per variant no.
Available quantity is what is available right now, while next availabilities is an ordered list of incoming stock available at a later date.
This endpoint supports asynchronous streaming.
Availability information.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "availableQuantity": 0,
- "nextAvailabilities": [
- {
- "date": "1923-12-31",
- "quantity": 0
}
], - "qtyPerUnitOfMeasure": 0,
- "grouping": "string",
- "itemNo": "string",
- "variantNo": "060089-2001-45"
}
]
The credit notes API endpoints allows once to fetch either full credit notes with lines or headers and lines individually.
Credit notes can be fetched either by their no or as deltas using sequence no.
Credit notes with all attached properties.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "creditNo": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "externalDocumentNo": "string",
- "yourReference": "string",
- "postingDate": "1923-12-31",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "memberNo": "string",
- "orderdBy": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "lines": [
- {
- "lineNo": 0,
- "lineAmountExcludingTax": 0,
- "lineAmountIncludingTax": 0,
- "unitPriceExcludingTax": 0,
- "taxPercentage": 0,
- "warehouse": "string",
- "variantNo": "060089-2001-45",
- "ean": "string",
- "countryOfOrigins": "string",
- "quantity": 0
}
]
}
]
Credit notes.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "creditNo": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "externalDocumentNo": "string",
- "yourReference": "string",
- "postingDate": "1923-12-31",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "memberNo": "string",
- "orderdBy": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}
}
]
Credit note lines.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "lineNo": 0,
- "lineAmountExcludingTax": 0,
- "lineAmountIncludingTax": 0,
- "unitPriceExcludingTax": 0,
- "taxPercentage": 0,
- "warehouse": "string",
- "variantNo": "060089-2001-45",
- "ean": "string",
- "countryOfOrigins": "string",
- "quantity": 0,
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "creditNo": "string"
}
]
The invoices API endpoints allows once to fetch either full invoices with lines or headers and lines individually.
Invoices can be fetched either by their no or as deltas using sequence no.
Invoices with all attached properties.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "invoiceNo": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "externalDocumentNo": "string",
- "salesOrderNo": "string",
- "postingDate": "1923-12-31",
- "documentDate": "1923-12-31",
- "dueDate": "1923-12-31",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "yourReference": "string",
- "shipmentNo": "string",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "lines": [
- {
- "lineNo": 0,
- "lineAmountExcludingTax": 0,
- "lineAmountIncludingTax": 0,
- "unitPriceExcludingTax": 0,
- "taxPercentage": 0,
- "warehouse": "string",
- "variantNo": "060089-2001-45",
- "ean": "string",
- "orderLineNo": 0,
- "orderType": "string",
- "countryOfOrigins": "string",
- "quantity": 0
}
]
}
]
Invoices.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "invoiceNo": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "externalDocumentNo": "string",
- "salesOrderNo": "string",
- "postingDate": "1923-12-31",
- "documentDate": "1923-12-31",
- "dueDate": "1923-12-31",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "yourReference": "string",
- "shipmentNo": "string",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}
}
]
Invoice lines.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "lineNo": 0,
- "lineAmountExcludingTax": 0,
- "lineAmountIncludingTax": 0,
- "unitPriceExcludingTax": 0,
- "taxPercentage": 0,
- "warehouse": "string",
- "variantNo": "060089-2001-45",
- "ean": "string",
- "orderLineNo": 0,
- "orderType": "string",
- "countryOfOrigins": "string",
- "quantity": 0,
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "invoiceNo": "string"
}
]
The items API endpoints can overall be split into two categories: ItemsFull and individual endpoints for each specific part of an item.
ItemsFull is easy to work with because it gives the full tree from item, to color to color sizes and season collections. The flipside is that all this information must be transferred on each change to an item even if only one variant is changed. Because of this, it is also possible to use the APIs like Items or ItemColorSizes to get only those specific changes.
The hierarchy:
Existing products might at some point no longer be available, we want to export this information to external partners so they can handle them properly. To do this we products with DEAD OR BLOCKED item status are exported for 3 months after they enter this status. One must not create new orders on these products.
This endpoint supports asynchronous streaming.
Items with all attached properties.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "itemNo": "060089",
- "name": "string",
- "productOwnerCode": "string",
- "fastener": "string",
- "brand": "string",
- "brandCode": "string",
- "category": {
- "code": "string",
- "description": "string"
}, - "subCategory": {
- "code": "string",
- "description": "string"
}, - "branchGroupCode": "string",
- "itemCategoryLevels": [
- {
- "code": "A",
- "description": "string"
}
], - "itemCategoryArmLength": "string",
- "itemCategoryLegLength": "string",
- "itemCategoryClosureFastener": "string",
- "sizeGroup": {
- "code": "string",
- "description": "string"
}, - "baseUnitOfMeasure": "string",
- "department": {
- "code": "string",
- "description": "string"
}, - "qualityCode": "string",
- "quality": "string",
- "fedasSizeGroup": "string",
- "colors": [
- {
- "colorNo": "060089-2001",
- "colorCode": "2001",
- "colorName": "string",
- "pantoneColorCode": "string",
- "webColor": "string",
- "colorSubstituteNo": "string",
- "colorSubstituteName": "string",
- "isActiveNoos": true,
- "activeNoosEndDate": "1923-12-31",
- "compositions": [
- {
- "name": "string",
- "fabrics": [
- {
- "code": null,
- "translations": [ ],
- "percentage": null
}
]
}
], - "media": [
- {
- "thumbnail": "string",
- "packshots": [
- "string"
]
}
], - "variants": [
- {
- "variantNo": "060089-2001-45",
- "sizeNo": "string",
- "ean": "string",
- "sizeRelationCode": "string",
- "gender": "string",
- "prepackNo": "string",
- "isPrepack": true,
- "prepackQuantity": 0,
- "isAssemblyBom": true,
- "defaultAssemblyBomVariant": true,
- "sorting": 0,
- "itemStatus": "string",
- "tariffNo": "string",
- "sizeDescription": "string",
- "shoeSizeCM": "string",
- "sizes": [
- {
- "system": null,
- "size": null
}
], - "washAndCareCodes": [
- "string"
], - "bullets": [
- {
- "code": null,
- "shortDescription": null,
- "longDescription": null
}
], - "deliveryPeriod": "string",
- "deliverySellingPeriod": {
- "no": "string",
- "description": "string",
- "deliveryPeriodStart": "1923-12-31",
- "deliveryPeriodEnd": "1923-12-31",
- "sellingPeriodStart": "1923-12-31",
- "sellingPeriodEnd": "1923-12-31"
}, - "netWeight": "string",
- "grossWeight": "string",
- "quality": "string",
- "genderCode": "string",
- "countryRegionOfOrigin": "string",
- "countryOfOrigins": "string",
- "qualityCode": "string",
- "volume": 0,
- "fedasCode": "string",
- "seasonCollections": [
- {
- "seasonCollectionNo": null,
- "season": null,
- "year": null,
- "collectionCode": null,
- "collection": null,
- "subCollectionCode": null,
- "subCollection": null
}
], - "translations": [
- {
- "languageCode": null,
- "outputName": null,
- "section": null,
- "productText": null,
- "features": null,
- "activity": null,
- "salesDescription": null,
- "headline": null,
- "usp": null,
- "technologies": null,
- "washAndCareDescriptions": [ ]
}
], - "listPrices": [
- {
- "salesArea": null,
- "currency": null,
- "price": null
}
], - "unitPrices": [
- {
- "salesArea": null,
- "currency": null,
- "price": null
}
], - "discounts": [
- {
- "currency": null,
- "discountPercentage": null
}
], - "tags": [
- {
- "tag": null,
- "translations": [ ]
}
]
}
]
}
], - "translations": [
- {
- "languageCode": "string",
- "webCategory": "string",
- "fitting": "string"
}
]
}
]
This endpoint supports asynchronous streaming.
Items.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "itemNo": "060089",
- "name": "string",
- "productOwnerCode": "string",
- "fastener": "string",
- "brand": "string",
- "brandCode": "string",
- "category": {
- "code": "string",
- "description": "string"
}, - "subCategory": {
- "code": "string",
- "description": "string"
}, - "branchGroupCode": "string",
- "itemCategoryLevels": [
- {
- "code": "A",
- "description": "string"
}
], - "itemCategoryArmLength": "string",
- "itemCategoryLegLength": "string",
- "itemCategoryClosureFastener": "string",
- "sizeGroup": {
- "code": "string",
- "description": "string"
}, - "baseUnitOfMeasure": "string",
- "department": {
- "code": "string",
- "description": "string"
}, - "qualityCode": "string",
- "quality": "string",
- "fedasSizeGroup": "string"
}
]
This endpoint supports asynchronous streaming.
Item translations.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "languageCode": "string",
- "webCategory": "string",
- "fitting": "string",
- "itemNo": "060089"
}
]
This endpoint supports asynchronous streaming.
Item colors.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "sequenceNo": 0,
- "updatedDate": "2019-08-24T14:15:22Z",
- "colorNo": "060089-2001",
- "colorCode": "2001",
- "colorName": "string",
- "pantoneColorCode": "string",
- "webColor": "string",
- "colorSubstituteNo": "string",
- "colorSubstituteName": "string",
- "isActiveNoos": true,
- "activeNoosEndDate": "1923-12-31",
- "itemNo": "string"
}
]
This endpoint supports asynchronous streaming.
Item color compositions.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "name": "string",
- "fabrics": [
- {
- "code": "string",
- "translations": [
- {
- "languageCode": "string",
- "name": "string"
}
], - "percentage": 100
}
], - "colorNo": "060089-2001",
- "deleted": true
}
]
This endpoint supports asynchronous streaming.
Item media permalinks.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "thumbnail": "string",
- "packshots": [
- "string"
], - "colorNo": "060089-2001"
}
]
This endpoint supports asynchronous streaming.
Item color sizes.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "variantNo": "060089-2001-45",
- "sizeNo": "string",
- "ean": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "sizeRelationCode": "string",
- "gender": "string",
- "prepackNo": "string",
- "isPrepack": true,
- "prepackQuantity": 0,
- "isAssemblyBom": true,
- "defaultAssemblyBomVariant": true,
- "sorting": 0,
- "itemStatus": "string",
- "tariffNo": "string",
- "sizeDescription": "string",
- "shoeSizeCM": "string",
- "sizes": [
- {
- "system": "EU",
- "size": "string"
}
], - "washAndCareCodes": [
- "string"
], - "bullets": [
- {
- "code": "string",
- "shortDescription": "string",
- "longDescription": "string"
}
], - "deliveryPeriod": "string",
- "deliverySellingPeriod": {
- "no": "string",
- "description": "string",
- "deliveryPeriodStart": "1923-12-31",
- "deliveryPeriodEnd": "1923-12-31",
- "sellingPeriodStart": "1923-12-31",
- "sellingPeriodEnd": "1923-12-31"
}, - "netWeight": "string",
- "grossWeight": "string",
- "quality": "string",
- "genderCode": "string",
- "countryRegionOfOrigin": "string",
- "countryOfOrigins": "string",
- "qualityCode": "string",
- "volume": 0,
- "fedasCode": "string",
- "itemNo": "060089",
- "colorNo": "060089-2001"
}
]
This endpoint supports asynchronous streaming.
Item color size translations.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "languageCode": "string",
- "outputName": "string",
- "section": "string",
- "productText": "string",
- "features": "string",
- "activity": "string",
- "salesDescription": "string",
- "headline": "string",
- "usp": "string",
- "technologies": "string",
- "washAndCareDescriptions": [
- "string"
], - "variantNo": "060089-2001-45"
}
]
This endpoint supports asynchronous streaming.
Item color size season collections.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "seasonCollectionNo": "string",
- "season": "string",
- "year": 0,
- "collectionCode": "string",
- "collection": "string",
- "subCollectionCode": "string",
- "subCollection": "string",
- "variantNo": "060089-2001-45"
}
]
This endpoint supports asynchronous streaming.
Item color size list prices.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "salesArea": "Spain",
- "currency": "CHF",
- "price": 0.01,
- "variantNo": "060089-2001-45"
}
]
This endpoint supports asynchronous streaming.
Item color size unit prices.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "salesArea": "Spain",
- "currency": "CHF",
- "price": 0.01,
- "variantNo": "060089-2001-45"
}
]
This endpoint supports asynchronous streaming.
Bullet points.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "sequenceNo": 0,
- "code": "string",
- "shortDescription": "string",
- "longDescription": "string"
}
]
The orders API endpoints allows customers to place orders and to receive status on these orders.
There are two overall types of orders:
Normal and replenishment orders are created once and cannot be changed once created. Batch on the other hand allows one to keep adding lines to an open order until it is closed. The order is automatically closed when a new order begins. When this happens is something that agreed between hummel and you. The currently active order returned in the external document no field. As this is automatically assigned for Batch, it should be left blank in input.
This endpoint supports asynchronous streaming.
Order creation request.
The created order(s).
Request for creation of the order has been accepted, but results can not be returned before processing completes.
Bad Request
Unauthorized
Forbidden
Conflict
Unprocessable Entity
Internal Server Error
Service Unavailable
[- {
- "externalDocumentNo": "",
- "requestedDeliveryDate": "1923-12-31",
- "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipTo": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "contact": "John Smith"
}, - "phoneNo": "",
- "email": "",
- "orderType": "Normal",
- "company": "B2B",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "lines": [
- {
- "quantity": 1,
- "variantNo": "000000-0000-ABC",
- "ean": "5700494902853",
- "shipmentDate": "1923-12-31"
}
]
}
]
[- {
- "externalDocumentNo": "",
- "updatedDate": "2019-08-24T14:15:22Z",
- "requestedDeliveryDate": "1923-12-31",
- "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipTo": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "contact": "John Smith"
}, - "phoneNo": "",
- "email": "",
- "orderType": "Normal",
- "company": "B2B",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "orderDate": "2019-08-24T14:15:22Z",
- "status": "PendingImport",
- "currencyCode": "str",
- "salesPerson": "string",
- "pricesIncludeTax": true,
- "discountAmount": 0,
- "discountAppliedBeforeTax": false,
- "totalTaxAmount": 0,
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "lines": [
- {
- "deleted": false,
- "quantity": 1,
- "variantNo": "000000-0000-ABC",
- "ean": "5700494902853",
- "shipmentDate": "1923-12-31",
- "lineIndex": 0,
- "description": "string",
- "unitOfMeasureCode": "PCS",
- "unitPrice": 0,
- "discountAmount": 0,
- "discountPercent": 0,
- "discountAppliedBeforeTax": true,
- "amountExcludingTax": 0,
- "amountIncludingTax": 0,
- "taxCode": "string",
- "taxPercent": 0,
- "totalTaxAmount": 0,
- "invoiceDiscountAllocation": 0,
- "netAmount": 0,
- "netTaxAmount": 0,
- "netAmountIncludingTax": 0,
- "warehouse": "HDC"
}
]
}
]
Orders with all attached properties.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "externalDocumentNo": "",
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "requestedDeliveryDate": "1923-12-31",
- "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipTo": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "contact": "John Smith"
}, - "phoneNo": "",
- "email": "",
- "orderType": "Normal",
- "company": "B2B",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "orderDate": "2019-08-24T14:15:22Z",
- "status": "PendingImport",
- "currencyCode": "str",
- "salesPerson": "string",
- "pricesIncludeTax": true,
- "discountAmount": 0,
- "discountAppliedBeforeTax": false,
- "totalTaxAmount": 0,
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "lines": [
- {
- "deleted": false,
- "quantity": 1,
- "variantNo": "000000-0000-ABC",
- "ean": "5700494902853",
- "shipmentDate": "1923-12-31",
- "lineIndex": 0,
- "description": "string",
- "unitOfMeasureCode": "PCS",
- "unitPrice": 0,
- "discountAmount": 0,
- "discountPercent": 0,
- "discountAppliedBeforeTax": true,
- "amountExcludingTax": 0,
- "amountIncludingTax": 0,
- "taxCode": "string",
- "taxPercent": 0,
- "totalTaxAmount": 0,
- "invoiceDiscountAllocation": 0,
- "netAmount": 0,
- "netTaxAmount": 0,
- "netAmountIncludingTax": 0,
- "warehouse": "HDC"
}
]
}
]
Orders.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "externalDocumentNo": "",
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "requestedDeliveryDate": "1923-12-31",
- "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipTo": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "contact": "John Smith"
}, - "phoneNo": "",
- "email": "",
- "orderType": "Normal",
- "company": "B2B",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "orderDate": "2019-08-24T14:15:22Z",
- "status": "PendingImport",
- "currencyCode": "str",
- "salesPerson": "string",
- "pricesIncludeTax": true,
- "discountAmount": 0,
- "discountAppliedBeforeTax": false,
- "totalTaxAmount": 0,
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0
}
]
Order lines.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "externalDocumentNo": "",
- "deleted": false,
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "quantity": 1,
- "variantNo": "000000-0000-ABC",
- "ean": "5700494902853",
- "shipmentDate": "1923-12-31",
- "lineIndex": 0,
- "description": "string",
- "unitOfMeasureCode": "PCS",
- "unitPrice": 0,
- "discountAmount": 0,
- "discountPercent": 0,
- "discountAppliedBeforeTax": true,
- "amountExcludingTax": 0,
- "amountIncludingTax": 0,
- "taxCode": "string",
- "taxPercent": 0,
- "totalTaxAmount": 0,
- "invoiceDiscountAllocation": 0,
- "netAmount": 0,
- "netTaxAmount": 0,
- "netAmountIncludingTax": 0,
- "warehouse": "HDC",
- "company": "B2B",
- "customerNo": "string"
}
]
The sales orders API endpoints allows once to fetch either full sales orders with lines or headers and lines individually.
Sales orders can be fetched either by their no or as deltas using sequence no.
These endpoints expose all sales orders as opposed to the orders APIs that only expose orders created using connect.
Sales orders with all attached properties.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "orderNo": "string",
- "externalDocumentNo": "string",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "yourReference": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "documentDate": "1923-12-31",
- "orderDate": "1923-12-31",
- "orderType": "string",
- "orderedBy": "string",
- "shipmentMethodCode": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "lines": [
- {
- "lineNo": 0,
- "shipmentDate": "1923-12-31",
- "completelyShipped": true,
- "freightChargeLine": true,
- "quantity": 0,
- "initialQuantity": 0,
- "outstandingQuantity": 0,
- "shippedQuantity": 0,
- "invoicedQuantity": 0,
- "warehouse": "string",
- "variantNo": "string",
- "ean": "string",
- "listPrice": 0,
- "unitPrice": 0,
- "unitPriceExcludingTax": 0,
- "amountExcludingTax": 0,
- "amountIncludingTax": 0,
- "outstandingAmount": 0,
- "grossAmount": 0,
- "discountPercentage": 0,
- "discountAmountExVat": 0,
- "lineType": "Item"
}
]
}
]
Sales orders.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "orderNo": "string",
- "externalDocumentNo": "string",
- "externalInformation": "string",
- "externalOrderNo": "string",
- "yourReference": "string",
- "totalAmountExcludingTax": 0,
- "totalAmountIncludingTax": 0,
- "currencyCode": "str",
- "buyingGroupCode": "string",
- "buyingGroupReference": "string",
- "paymentTerms": "string",
- "documentDate": "1923-12-31",
- "orderDate": "1923-12-31",
- "orderType": "string",
- "orderedBy": "string",
- "shipmentMethodCode": "string",
- "customer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "billToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}, - "shipToCustomer": {
- "name": "hummel A/S",
- "addressLine1": "Balticagade 20",
- "addressLine2": "string",
- "city": "Aarhus C",
- "postCode": "8000",
- "state": "string",
- "country": "DK",
- "no": "string"
}
}
]
Sales order lines.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "lineNo": 0,
- "shipmentDate": "1923-12-31",
- "completelyShipped": true,
- "freightChargeLine": true,
- "quantity": 0,
- "initialQuantity": 0,
- "outstandingQuantity": 0,
- "shippedQuantity": 0,
- "invoicedQuantity": 0,
- "warehouse": "string",
- "variantNo": "string",
- "ean": "string",
- "listPrice": 0,
- "unitPrice": 0,
- "unitPriceExcludingTax": 0,
- "amountExcludingTax": 0,
- "amountIncludingTax": 0,
- "outstandingAmount": 0,
- "grossAmount": 0,
- "discountPercentage": 0,
- "discountAmountExVat": 0,
- "lineType": "Item",
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "orderNo": "string"
}
]
The shipment status API endpoint allows one to follow the status of an order, from approved approved to invoiced. The data will include shipment and invoice information.
Shipment status.
Bad Request
Unauthorized
Forbidden
Internal Server Error
Service Unavailable
[- {
- "updatedDate": "2019-08-24T14:15:22Z",
- "sequenceNo": 0,
- "salesOrderNo": "string",
- "salesOrderLineNo": "string",
- "externalDocumentNo": "string",
- "shipmentNo": "string",
- "invoiceNo": "string",
- "variantNo": "060089-2001-45",
- "warehouse": "string",
- "status": "Open",
- "salesOrderQuantity": 0,
- "salesOrderOutstandingQuantity": 0,
- "shippedQuantity": 0,
- "invoicedQuantity": 0,
- "orderDate": "1923-12-31",
- "expectedOrderTransferDate": "1923-12-31",
- "shippedDate": "1923-12-31",
- "invoicedDate": "1923-12-31",
- "tracking": [
- {
- "trackingNo": "string",
- "weight": 0,
- "pickedQuantity": 0,
- "orderedQuantity": 0,
- "countryOfOrigins": "string"
}
]
}
]