Locale

The API documentation provides the means to retrieve Locale data from PIM.

Locale List

GET https://api.dckappim.com/api/integration/locale

By utilizing the endpoint, you can retrieve locale list information.

Headers

NameTypeDescription

token*

String

Access Token for PIM Integration.

x-domain*

String

Customer Account Name Example: For the Customer Account URL "demo.dckappim.com," the customer account name is "demo."

{
    "status": true,
    "message": "Locale List",
    "data": [
        {
            "id": 1,
            "code": "en_US",
            "name": "English – United States",
            "flag": "flag-us",
            "status": 1,
            "created_at": "2023-09-27 11:14:50",
            "updated_at": "2023-09-27 11:14:50"
        }
    ],
    "time": "2023-10-20T09:22:25.768508Z",
    "status_code": 200
}

Locale Show

GET https://api.dckappim.com/api/integration/locale/show

By utilizing the endpoint, you can retrieve specific locale information.

Query Parameters

NameTypeDescription

id*

String

Locale ID

Headers

NameTypeDescription

token*

String

Access Token for PIM Integration.

x-domain*

String

Customer Account Name Example: For the Customer Account URL "demo.dckappim.com," the customer account name is "demo."

{
    "status": true,
    "message": "Locale Data",
    "data": {
        "id": 1,
        "code": "en_US",
        "name": "English – United States",
        "flag": "flag-us",
        "status": 1,
        "created_at": "2023-09-27 11:14:50",
        "updated_at": "2023-09-27 11:14:50"
    },
    "time": "2023-10-20T09:28:11.562710Z",
    "status_code": 200
}

Last updated