Currently in the process of migrating from Apiary.
curl --location 'https://ext.kasamax.cz/ext/address-book/client/import' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"payload": [
{
"localId": "string",
"externalId": "string",
"name": "string",
"clientCardIdentifier": "string",
"email": "string",
"phone": "string",
"backofficeOnly": true,
"clientPoints": 0,
"dateOfBirth": "string",
"address": {
"city": "string",
"street": "string",
"buildingNumber": "string",
"ZIP": "string",
"country": "string"
},
"company": {
"address": {
"city": "string",
"street": "string",
"buildingNumber": "string",
"ZIP": "string",
"country": "string"
},
"name": "string",
"TIN": "string",
"VATID": "string"
},
"reverseChargeEU": true,
"note": "string",
"benefits": {
"discountScope": "none",
"discount": {
"value": 0,
"type": "none"
},
"articleGroupDiscounts": [
{
"value": 0,
"type": "none",
"localGroupId": "string"
}
]
}
}
],
"options": {
"matchingAttribute": "localId"
}
}'{
"payload": [
{
"externalId": "string",
"localId": "string",
"result": "success",
"errors": [
"string"
]
}
]
}