younifyd
Menu

Put V2 Settings

Update Project Settings

PUT/v2/settings

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Put V2 Settings action (under Settings).
  3. Fill in the fields below, then reference the result from later steps as {{putV2Settings.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

typestringrequired

Describes the type of request payload you’re sending. Set this value to `settings`.

page_lengthinteger

Indicates the number of results per page (max: `100`).

list_child_productsboolean

Displays child products or not in product listings.

additional_languagesarray<string>

Represents an array of alpha2 codes for supported languages.

calculation_methodstring

Displays the method used to calculate card and order totals.

One oflinesimple

address_mandatory_fieldsarray<string>

Indicates an array of fields that are required for creating an [address](/docs/api/addresses/account-addresses).

shopper_address_limitinteger

The maximum number of addresses a shopper can have per resource. API clients can only set values up to 500, for a higher limit please contact support.

json
{
  "type": "settings",
  "page_length": 25,
  "list_child_products": false,
  "additional_languages": [
    "es",
    "fr",
    "de"
  ],
  "calculation_method": "line",
  "address_mandatory_fields": [
    "first_name",
    "last_name",
    "line_1",
    "city",
    "region",
    "postcode",
    "country",
    "instructions"
  ],
  "shopper_address_limit": 25
}

Response

Returns 200 with a any. Read it in later steps with {{putV2Settings.response.data.<field>}}.

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Put V2 Settings — Elastic Path — Documentation