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 example1970-01-01
.{settings_path}
the path to the specific setting. For examplecountries.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 Type | API Component |
---|---|
Endpoint | /marketplace/v1/marketplaces/settings/{start_date}/{settings_path} |
Method | DELETE |
API Reference Document | Delete Settings |
Input Parameters
Parameter | Description |
---|---|
start_date | Specify the date when the setting was started. For example 1970-01-01 . |
settings_path | Specify the path to the specific setting. For example countries.FR . |
Response
A 200 response code indicates that the setting is deleted.
Updated 4 months ago