Get all Custom Fields by Scope

Get all Custom Fields by Scope

GET https://{{accountSlug}}.myeshopbox.com/api/platform/v1/property/scopes

This endpoint allows you to get all custom fields by scope.

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API.

{
    "items": [
        {
            "id": 1,
            "scope": "product",
            "createdAt": "2020-03-12T16:02:31.229+05:30",
            "updatedAt": "2020-03-12T16:02:31.229+05:30"
        },
        {
            "id": 2,
            "scope": "recall consignment",
            "createdAt": "2020-03-12T16:02:58.583+05:30",
            "updatedAt": "2020-03-12T16:02:58.583+05:30"
        },
        {
            "id": 3,
            "scope": "inward consignment",
            "createdAt": "2020-03-12T16:03:12.410+05:30",
            "updatedAt": "2020-03-12T16:03:12.410+05:30"
        },
        {
            "id": 4,
            "scope": "order",
            "createdAt": "2020-03-12T16:03:24.537+05:30",
            "updatedAt": "2020-03-12T16:03:24.537+05:30"
        },
        {
            "id": 5,
            "scope": "invoice",
            "createdAt": "2020-03-12T16:04:09.717+05:30",
            "updatedAt": "2020-03-12T16:04:09.717+05:30"
        },
        {
            "id": 6,
            "scope": "listing",
            "createdAt": "2020-03-12T16:04:44.530+05:30",
            "updatedAt": "2020-03-12T16:04:44.530+05:30"
        },
        {
            "id": 7,
            "scope": "inventory",
            "createdAt": "2020-03-12T16:05:04.489+05:30",
            "updatedAt": "2020-03-12T16:05:04.489+05:30"
        },
        {
            "id": 8,
            "scope": "expense",
            "createdAt": "2020-03-12T16:05:25.842+05:30",
            "updatedAt": "2020-03-12T16:05:25.842+05:30"
        },
        {
            "id": 9,
            "scope": "expense",
            "createdAt": "2020-03-12T16:05:47.280+05:30",
            "updatedAt": "2020-03-12T16:05:47.280+05:30"
        },
        {
            "id": 10,
            "scope": "return",
            "createdAt": "2020-03-12T16:06:25.945+05:30",
            "updatedAt": "2020-03-12T16:06:25.945+05:30"
        }
    ]
}

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

Last updated