Account

Get account settings

Returns the ecommerce account settings for the site: default currency, business name and address, time zone, enabled countries, email notification preference, contact information, cart settings, tax settings, lowest-price display, and measurement system.

get/api/sites/multiscreen/{site_name}/ecommerce

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Response

OK

default_currencystring nullable

ISO 4217 3-letters currency code. Ref: https://en.wikipedia.org/wiki/ISO_4217

business_namestring nullable

The full name of the business

time_zonestring nullable

Time zone settings

timezonestring nullable

IANA time zone identifier of the store. Dates that must land in the store's local time, such as a discount's validity window, are resolved in it.

enabled_countriesstring[] nullable

Enabled countries ISO 3166 2-letters country code. Ref: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes

send_email_notificationsboolean nullable

Activate/deactivate automatic email delivery to customers when they complete an order or receive a refund

contact_emailstring nullable

The email address customers can contact for order support

contact_namestring nullable

The name customers can contact for order supports

show_lowest_priceboolean

If true, the customer needs to be shown the lowest price that any customer might see. <remarks> This origin of this setting is to comply to the Enforcement and Modernisation Directive in the EU, also known as the Omnibus Directive </remarks>

measurement_system'METRIC' | 'IMPERIAL'

Example response

{
  "timezone": "America/New_York",
  "cart_settings": {
    "email_marketing_opt_in_settings": {
      "description_html": "\n                    I want to opt in to any email marketing. See our privacy policies for more\n                    information\n                "
    },
    "sms_marketing_opt_in_settings": {
      "description_html": "\n                    I want to opt in to any email marketing. See our privacy policies for more\n                    information\n                "
    },
    "marketing_opt_in_settings": {
      "description_html": "\n                    I want to opt in to any email marketing. See our privacy policies for more\n                    information\n                "
    }
  },
  "contact_email": "support@mybusiness.com",
  "contact_name": "Customer Support"
}

Changes

No recorded changes to this operation across all 1 revision of this API.