Delete a promotion from customer account?

Frank's Avatar

Frank

09 Oct, 2012 01:13 PM

Is it possible to remove or disable a previously applied promotion from a customer account?

I tried doing an edit-subscription API call with couponCode = '' but nothing happened.

  1. 1 Posted by adam on 10 Oct, 2012 03:15 PM

    adam's Avatar

    Hi Frank, we don't currently have a method for doing that. We can do it manually for you though. When we designed the system, we considered this but didn't foresee every possible reason. What is the use case for doing this?

    Let me know which customer/subscription you would like to have the promotion removed from and we'll take care of it.

    Thanks,
    Adam

  2. 2 Posted by Frank on 10 Oct, 2012 03:39 PM

    Frank's Avatar

    The question came up while writing unit tests for a new service I'm building, I wanted to make sure I covered all functionality.

    So I don't have a real customer that needs it removed, however I've been doing ecomm for too long now. I'm sure some customer somewhere will do something that necessitates removing a discount.

  3. 3 Posted by adam on 10 Oct, 2012 03:46 PM

    adam's Avatar

    Ok, understood. I agree that there is a definite possibility of it happening eventually, but since the quantity is unknown we'll likely leave it as a manual process until it becomes apparent that a new function is necessary. Thanks for the input!

    Adam

  4. 4 Posted by Frank on 10 Oct, 2012 04:15 PM

    Frank's Avatar

    Agreed, I wouldn't expect you to automate that process without a concrete use case (sorry, should've been clearer in my reply).

    I got what I need to finish my test cases, so thanks very much.

  5. adam closed this discussion on 11 Oct, 2012 04:05 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM