Composable Frontend 2.0 Learn more 

  • Commerce Cloud/
    Store Settings/
    Get all Settings

    Get all Settings

    You can get all of the project settings via one API call using a client_credential token. The response is in object format as shown in the following example.

    The default calculation_method is line.

    GET Get all Project Settings

    https://useast.api.elasticpath.com/v2/settings
    

    Parameters

    Headers

    NameRequiredTypeDescription
    AuthorizationRequiredstringThe Bearer token required to get access to the API.

    Request Examples

    Curl

    curl -X GET https://useast.api.elasticpath.com/v2/settings \
         -H "Authorization: Bearer XXXX" \
         -H "Content-Type: application/json" \
    

    JavaScript SDK

    // Where `EPCC` is an authenticated client
    await EPCC.Settings.All();
    

    Response Example

    200 OK

    {
        "data": {
            "type": "settings",
            "id": "XXX-XXX-XXX",
            "page_length": 25,
            "list_child_products": true,
            "additional_languages": [],
            "calculation_method": "line",
            "currency_limit": 10,
            "field_limit": 100,
            "integration_limit": 100,
            "event_limit": 5,
            "filter_limit": 10,
            "tax_item_limit": 5,
            "promotions_limit": 1000,
            "promotion_codes_limit": 1000,
            "page_offset_limit": 10000,
            "address_mandatory_fields": [
                "first_name",
                "last_name",
                "line_1",
                "city",
                "region",
                "postcode",
                "country"
            ]
        },
        "meta": {
          "owner": "store"
        }
    }
    
    Previous
    Overview