...
Name | Mandatory | Example | Description |
---|---|---|---|
ownerPartyKey |
| owner-party-name | Unique owner party identifier in DI database |
| Shop object which will be persisted | ||
customerSystemaddressCollector | Data to create a | true | Address collection can be set to true or false for the new customer system connected to , which is automatically generated for the new shop. |
transportSolutionIds |
| [1, 2, 3] | Collection of already existing transport solutions to be connected to the new shop; can’t be empty |
...
Name | Mandatory | Example | Description |
---|---|---|---|
street | Normannsgata | Warehouse’s street name | |
streetNumber | 5 | Warehouse’s street number | |
entrance | A | Warehouse’s entrance name, up to 5 characters | |
zipCode | 1265 | Warehouse’s zip code; 4 digits in Norway, 5 digits in Sweden | |
city | Oslo | Warehouse’s city | |
countryCode | NO | Warehouse’s country code; valid values: NO, SE, DE, EN, FI, SV |
Customer system
Name
Mandatory
Example
Description
name
shortName
Must be unique; max. 5 characters
customerFacingName
Curl request example
Code Block |
---|
curl --location 'https://staging-ws.di.no/ws/json/shop/v-1' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer TOKEN' \ --data-raw '{ "ownerPartyKey": "ownerPartyKey", "shop": { "organizationNumber": "543 123 345", "email": "email@email.com", "address": { "street": "Street gata", "streetNumber": 5, "zipCode": 55555, "city": "The City", "countryCode": "NO" }, "legalName": "Legal Name2", "shortName": "sn1", "delivererEDI": "delivererEDI", "vatLiable": false, "webShopPlatform": "web shop platform", "ceo": "Ceo Ceo", "customerManager": "Kristine", "externalCustomerIds": [{ "freightProductId": 1, "customerNumber": 3799475 }] }, "customerSystem": { "name": " customer system", "shortName": "abcd" }, "transportSolutionsIds": [1] }' |
...