(Quick Reference) Service: Delete a promotion list

Description: Returns a json response.

URL:

https://BASE_URL/api/VERSION/promotionLists/{id}

URL with external_id:

https://BASE_URL/api/VERSION/promotionLists/reference/{id}

Method: DELETE

Parameters:

NameDescriptionTypeRequiredExample values
idThe ID of the desired promotion listLong/Stringyes123

Success Output

Success case: response.status = 200

{
  "success": "true",
  "success_description": "Instance deleted successfully"
}

Failure Output

Failure case:response.status = 400

{
  "error": "delete_failed",
  "error_description": "Failed to delete instance."
}

Failure case:response.status = 404

{
  "error": "not_found",
  "error_description": "The promotion list with the id 123 doesn't exist."
}