DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. locations
  • Overview
  • Getting Started
  • Authentication
  • Permissions
  • API Reference
    • locations
      • List locations
        GET
      • Create a location
        POST
      • Get a location
        GET
      • Update a location by UUID
        PATCH
      • Delete a location
        DELETE
    • users
      • List users
      • Create a new user
      • Get a user
      • Delete a user
    • groups
      • List groups
      • Create a new group
      • Get a group
      • Update a group
      • Delete a group
    • assets
      • List assets
      • Get single asset
    • products
      • List products
  1. locations

Update a location by UUID

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
PATCH
https://api-v2.getmarvia.com
/v1/locations/{uuid}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '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
    }
}'
Response Response Example
200 - Example 1
{}

Request

Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Location updated successfully
Body

🟠404Record Not Found
🔴500Server Error
Modified at 2025-07-25 04:54:55
Previous
Get a location
Next
Delete a location
Built with