Shop domains

We can enable custom domains for your shops to be running on. If you want to enable shops using custom domains, please contact us by sending a mail to our support team.

The domain model

The domain model contains info about the domain and the shop it belongs to.

Properties

  • Name
    identifier
    Type
    string
    Description

    Unique identifier for the brand.

  • Name
    webshop_domain
    Type
    string
    Description

    The domain of the webshop.

  • Name
    webshop_subdomain
    Type
    string
    Description

    The subdomain of the webshop.

  • Name
    quickshop_domain
    Type
    string
    Description

    The domain of the quickshop.

  • Name
    quickshop_subdomain
    Type
    string
    Description

    The subdomain of the quickshop.

  • Name
    webshop_url
    Type
    string
    Description

    The url of the webshop.

  • Name
    quickshop_url
    Type
    string
    Description

    The url of the quickshop.


GET/shops/:identifier/domains

Get the domain

This endpoint allows you to fetch the domain settings of a shop.

Required headers

  • Name
    Authorization
    Type
    string
    Description

    The token itself as a bearer token.

Abilities

  • Name
    shops.domains.get
    Type
    string
    Description

    The scope required to access this endpoint.

Route parameters

  • Name
    identifier
    Type
    string
    Description

    The identifier of the shop.

Request

GET
/shops/:identifier/domains
curl -X GET https://api.walletapp.co/shops/:identifier/domains
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Authorization: Bearer <your_token>"

Response

{
    "success": true,
    "data" {
        "identifier": "<brand_id>",
        "webshop_domain": "<webshop_domain>",
        "webshop_subdomain":  "<webshop_subdomain>",
        "quickshop_domain":  "<quickshop_domain>",
        "quickshop_subdomain":  "<quickshop_subdomain>",
        "webshop_url":  "https://<webshop_subdomain>.<webshop_domain>",
        "quickshop_url":  "https://<quickshop_subdomain>.<quickshop_domain>",
    }
}