curl --location --request POST 'https://api-v2.getmarvia.com/v1/locations' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"identifier": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"attentionOf": "string",
"city": "string",
"zone": "string",
"countryCode": "string",
"zipcode": "string"
},
"legal": {
"address": {
"addressLine1": "string",
"addressLine2": "string",
"attentionOf": "string",
"city": "string",
"zone": "string",
"countryCode": "string",
"zipcode": "string"
}
},
"invoice": {
"name": "string",
"email": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"attentionOf": "string",
"city": "string",
"zone": "string",
"countryCode": "string",
"zipcode": "string"
}
},
"contact": {
"email": "string",
"website": "string",
"phone": "string",
"mobile": "string",
"firstName": "string"
},
"coordinates": {
"latitude": 0,
"longitude": 0
}
}'