Delete Settings

Use this request to delete settings for the specified path.

To delete settings for the specified path, use a DELETE method and the following URL:

{service_URI}/marketplace/v1/marketplaces/settings/{start_date}/{settings_path}

where:

  • {service_URI} is the service's URL.
  • {start_date} is the date when the setting was started. For example 1970-01-01.
  • {settings_path} the path to the specific setting. For example countries.FR is the path to the following setting:
{
  "countries": {
    "FR": {
      "is_domestic": true
    }
  }
}

For example:

$ curl \
    -H "x-marketplace-token: ms_{ACCESS_TOKEN}" \
    -H "Content-Type: application/json" \
    -X DELETE \
    --data '{JSON}' \
    https://sellers-api.sandbox.marketplace.taxamo.com/marketplace/v1/marketplaces/settings/1970-01-01/countries.FR

where:

  • {ACCESS_TOKEN} is your access token used for authentication.
  • {JSON} is the body of the request where you specify the seller's details.

Details

API Component TypeAPI Component
Endpoint/marketplace/v1/marketplaces/settings/{start_date}/{settings_path}
MethodDELETE
API Reference DocumentDelete Settings

Input Parameters

ParameterDescription
start_dateSpecify the date when the setting was started. For example 1970-01-01.
settings_pathSpecify the path to the specific setting. For example countries.FR.

Response

A 200 response code indicates that the setting is deleted.