Account

Update account settings

Updates the ecommerce account settings for the site. Accepts changes to default currency, business name and address, time zone, enabled countries, email notification preference, contact information, cart settings, tax settings, lowest-price display, measurement system, and digital goods URL expiration.

patch/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.

Request body

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 (e.g. America/New_York). Dates that must land in the store's local time, such as a discount's validity window, are resolved in it. Omit to leave unchanged; send null to reset it to UTC.

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_namestring nullable

Name displayed to customers so they can contact for support

contact_emailstring nullable

Email address displayed to customers so they can contact for support

show_lowest_priceboolean nullable
measurement_system'METRIC' | 'IMPERIAL'
digital_goods_url_expiration_in_daysinteger nullable

Length in days before digital goods download URL expires. Omit to leave unchanged; send null for unlimited.

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.