curl --location --request POST 'https://api-v2.getmarvia.com/v1/locations' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"identifier": "string",
"address": {
"addressLine1": "Johan Huizingalaan 400",
"addressLine2": "string",
"attentionOf": "string",
"city": "Amsterdam",
"zone": "NH",
"countryCode": "NL",
"zipcode": "1066 JS"
},
"legal": {
"address": {
"addressLine1": "Johan Huizingalaan 400",
"addressLine2": "string",
"attentionOf": "string",
"city": "Amsterdam",
"zone": "NH",
"countryCode": "NL",
"zipcode": "1066 JS"
}
},
"invoice": {
"name": "string",
"email": "user@example.com",
"address": {
"addressLine1": "Johan Huizingalaan 400",
"addressLine2": "string",
"attentionOf": "string",
"city": "Amsterdam",
"zone": "NH",
"countryCode": "NL",
"zipcode": "1066 JS"
}
},
"contact": {
"email": "user@example.com",
"website": "https://www.getmarvia.com",
"phone": "string",
"mobile": "string",
"firstName": "string"
},
"coordinates": {
"latitude": 52.3401102568276,
"longitude": 4.826280931111181
}
}'