# Get all Custom Fields

## Get all Custom Fields

<mark style="color:blue;">`GET`</mark> `https://{{accountSlug}}.myeshopbox.com/api/platform/v1/property`

This endpoint allows you to get all custom fields.

#### Headers

| Name          | Type   | Description                                  |
| ------------- | ------ | -------------------------------------------- |
| Authorization | string | The Bearer token to grant access to the API. |

{% tabs %}
{% tab title="200 Custom Fields successfully retrieved." %}

```
{
    "data": [
        {
            "label": "fabric",
            "internalName": "style type",
            "description": "this is style code type property",
            "isUnique": "no",
            "fieldType": "multi_select",
            "options": [
                "rock",
                "classy"
            ],
            "scope": [
                "order"
            ],
            "createdAt": "2020-03-09T17:16:20.645+05:30",
            "updatedAt": "2020-03-13T12:27:05.981+05:30"
        },
        {
            "label": "fabric",
            "internalName": "fabric",
            "description": "type of fabric used in a dress",
            "isUnique": "no",
            "fieldType": "single_select",
            "options": [
                "silk",
                "cotton"
            ],
            "scope": [
                "product"
            ],
            "createdAt": "2020-03-09T10:28:34.645+05:30",
            "updatedAt": "2020-03-09T10:28:34.645+05:30"
        },
        {
            "label": "Season",
            "internalName": "xyz",
            "description": "qwerty-new",
            "isUnique": "yes",
            "fieldType": "long_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-03-07T11:29:05.346+05:30",
            "updatedAt": "2020-03-11T17:47:53.431+05:30"
        },
        {
            "label": "Size",
            "internalName": "fashionu544cgf",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-28T14:40:34.472+05:30",
            "updatedAt": "2020-03-11T17:48:47.048+05:30"
        },
        {
            "label": "fashiontype",
            "internalName": "fashionu54cgf",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-28T14:40:20.308+05:30",
            "updatedAt": "2020-02-28T14:40:20.308+05:30"
        },
        {
           "label": "fashiontype",
            "internalName": "fashionucgf",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-28T13:33:29.699+05:30",
            "updatedAt": "2020-02-28T13:33:29.699+05:30"
        },
        {
           "label": "fashion@type",
            "internalName": "fashion 67type",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-28T13:19:34.371+05:30",
            "updatedAt": "2020-02-28T13:19:34.371+05:30"
        },
        {
           "label": "style",
            "internalName": "codevvv",
            "description": "this is style code property",
            "isUnique": "yes",
            "fieldType": "multi_select",
            "options": [
                "rock",
                "classy",
                "bestseller"
            ],
            "scope": [
                "recall consignment",
                "product"
            ],
            "createdAt": "2020-02-27T18:42:28.943+05:30",
            "updatedAt": "2020-02-27T18:42:28.943+05:30"
        },
        {
           "label": "occassion",
            "internalName": "occassion",
            "description": "occassion dresses",
            "isUnique": "no",
            "fieldType": "multi_select",
            "options": [
                "red,blue,green"
            ],
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-27T18:32:15.528+05:30",
            "updatedAt": "2020-02-27T18:32:15.528+05:30"
        },
        {
           "label": "batch",
            "internalName": "batch",
            "isUnique": "yes",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:32:53.951+05:30"
        },
        {
           "label": "occasion",
            "internalName": "occasion",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
           "label": "month",
            "internalName": "month",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
           "label": "season",
            "internalName": "season",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
           "label": "Fabric",
            "internalName": "fabric",
            "description": "type of fabric used in a dress",
            "isUnique": "no",
            "fieldType": "long_text",
            "options": [
                "silk",
                "cotton"
            ],
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-03-11T17:39:15.062+05:30"
        },
        {
            "label": "fit",
            "internalName": "fit",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
            "label": "sleeves",
            "internalName": "sleeves",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
            "label": "type",
            "internalName": "type",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
            "label": "pattern",
            "internalName": "pattern",
            "isUnique": "no",
            "fieldType": "short_text",
            "scope": [
                "Product"
            ],
            "createdAt": "2020-02-27T15:14:29.519+05:30",
            "updatedAt": "2020-02-27T15:14:29.519+05:30"
        },
        {
            "label": "dsdcgscsfgcd",
            "internalName": "dbsdvsd",
            "description": "sd scdgcs",
            "isUnique": "yes",
            "fieldType": "short_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-24T18:18:49.844+05:30",
            "updatedAt": "2020-02-24T18:18:49.844+05:30"
        },
        {
            "label": "testing-prop",
            "internalName": "testingprop",
            "description": "description optional",
            "isUnique": "no",
            "fieldType": "date_picker",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-24T17:59:16.948+05:30",
            "updatedAt": "2020-02-24T19:34:21.240+05:30"
        },
        {
            "accountSlug": "montecarlo",
            "label": "colorsbj",
            "internalName": "colors",
            "isUnique": "no",
            "fieldType": "attachment",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-24T12:05:29.031+05:30",
            "updatedAt": "2020-02-24T12:21:58.605+05:30"
        },
        {
            "label": "style",
            "internalName": "code",
            "description": "this is style code property",
            "isUnique": "yes",
            "fieldType": "multi_select",
            "options": [
                "rock",
                "classy",
                "bestseller"
            ],
            "scope": [
                "recall consignment",
                "product"
            ],
            "createdAt": "2020-02-24T11:31:06.270+05:30",
            "updatedAt": "2020-02-24T11:31:06.270+05:30"
        },
        {
            "label": "style code",
            "internalName": "style code",
            "description": "this is style code property",
            "isUnique": "yes",
            "fieldType": "multi_select",
            "options": [
                "rock",
                "classy",
                "bestseller"
            ],
            "scope": [
                "recall consignment",
                "product"
            ],
            "createdAt": "2020-02-24T11:30:47.247+05:30",
            "updatedAt": "2020-02-24T11:30:47.247+05:30"
        },
        {
            "label": "label val",
            "internalName": "sdkfjhsdjkf",
            "description": "sdkfjlsdlfkjkl sdlfjklsdfj",
            "isUnique": "yes",
            "fieldType": "long_text",
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-21T19:18:02.944+05:30",
            "updatedAt": "2020-02-21T19:18:02.944+05:30"
        },
        {
            "label": "brand sizes",
            "internalName": "brand sizes",
            "description": "brand sizes",
            "isUnique": "no",
            "fieldType": "single_select",
            "options": [
                "28",
                "30",
                "32",
                "34",
                "36",
                "38",
                "40",
                "42",
                "44",
                "46"
            ],
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-19T15:26:10.051+05:30",
            "updatedAt": "2020-02-19T15:26:10.051+05:30"
        }
    ],
    "page": 1,
    "perPage": 25,
    "total": "30"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="curl" %}

```
curl --location --request GET 'http://localhost:8080/_ah/api/esb/v1/property' \
--header 'Content-Type: application/json' \
--header 'Authorization: '
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eshop.gitbook.io/eshopbox-developers/advanced/custom-fields/get-all-custom-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
