External Fees Providers

Create external fees provider

Creates an external fees provider from a live fees URL and an optional test fees URL, the endpoints Duda's ecommerce service contacts to retrieve fees for a cart; the test URL falls back to the live URL when left out. Returns the created provider.

post/api/sites/multiscreen/{site_name}/ecommerce/fees-providers

Request

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

Path parameters

site_namestring required

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

Request body

live_fees_urlstring required

Live url used to fetch the associated fees of a cart. Must be a valid https url

test_fees_urlstring nullable

Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

Response

Created

idstring

System identifier of the external fees provider

live_fees_urlstring

Live url used to fetch the associated fees of a cart. Must be a valid https url

test_fees_urlstring

Optional test url used to fetch the associated fees of a cart in test mode. Will default to the live url if not provided. Must be a valid https url

Changes

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