DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Locations
  • Overview
  • Getting Started
  • Authentication
  • Permissions
  • Using the Marvia CDN
  • API Reference
    • Users
      • Get a user
      • Delete a user
      • List
      • Create a new user
    • Products
      • List products
    • Locations
      • Update a location
        PATCH
      • Get a location
        GET
      • Delete a location
        DELETE
      • List locations
        GET
      • Create a new location
        POST
    • Groups
      • Get a group
      • Update a group
      • Delete a group
      • List groups
      • Create a new group
    • Uploads
      • Initialize multipart upload
      • Complete multipart upload
    • Assets
      • List assets
      • Create a new asset
      • Get asset by UUID
      • Update an asset
      • Search assets
  1. Locations

Get a location

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
GET
https://api-v2.getmarvia.com
/v1/locations/{uuid}
Required Permission: read:locations
This endpoint requires an API key with the read:locations permission. Make sure your token was created with this permission during token creation.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Header Params

Responses

🟢200OK
application/json
Success
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-v2.getmarvia.com/v1/locations/' \
--header 'Authorization: <api-key>'
Response Response Example
200 - Example 1
{
    "_tag": "Success",
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
        "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"
        },
        "media": {
            "logo": {
                "uuid": "string",
                "url": "string"
            },
            "storefront": {
                "uuid": "string",
                "url": "string"
            },
            "profilePhoto": {
                "uuid": "string",
                "url": "string"
            }
        },
        "coordinates": {
            "latitude": 0,
            "longitude": 0
        },
        "createdAt": "string",
        "editedAt": "string"
    }
}
Modified at 2025-09-08 06:20:01
Previous
Update a location
Next
Delete a location
Built with