DELETE /v2/api/prices/batch

Deletes prices for multiple SKUs in the specified price list.

application/json

Body Required

Price list external ID and keys to delete

  • keys array[string] Required

    Keys to delete prices for

  • listExternalID string Required

    ID of Price list in external platform

  • season string

    Season that the key belong to. Only used for product versioning.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • message string
    • reference string
    • referenceField string
    • statusCode integer
  • 400 application/json

    Bad request - invalid input

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode integer
  • default application/json

    All errors will return the same object with a describing code & message

    Hide response attributes Show response attributes object
    • message string
    • reference string
    • referenceField string
    • statusCode integer
DELETE /v2/api/prices/batch
curl \
 --request DELETE 'https://api.maddenanalytics.com/v2/api/prices/batch' \
 --header "Content-Type: application/json" \
 --data '{"keys":["['key1'","'key2']"],"listExternalID":"retail_SEK","season":"Spring/Summer"}'
Request examples
{
  "keys": [
    "['key1'",
    "'key2']"
  ],
  "listExternalID": "retail_SEK",
  "season": "Spring/Summer"
}
Response examples (200)
[
  {
    "message": "Missing BrandName",
    "reference": "123456-001-43",
    "referenceField": "key",
    "statusCode": 400
  }
]
Response examples (400)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}
Response examples (default)
[
  {
    "message": "Missing BrandName",
    "reference": "123456-001-43",
    "referenceField": "key",
    "statusCode": 400
  }
]