Mo

gerwin.brunner's Avatar

gerwin.brunner

13 Aug, 2010 03:14 PM

Hi,

I'm currently looking into implementing your api with our application and I have to solve the following szenario:

Plan: A
- user can have up to 10 lists - user can share EACH list with up to 1 person

I would love to have as much logic (and with that flexibility) on the side of CheddarGetter.
How would it be possible to implement this?

One way I thought would be to define a MAX_SHARING_LIMIT item and then check for every "share action" if the current list is already shared...
For that to work I would need a "Get Item Quantity" function, but I did not see one in the API.
The bad thing about that would be that I have to add the logic myself :(

Another (and I think cooler) way to solve this would be to add an optional parameter 'subitem' of type string to the "Add Item Quantity/Remove Item Quantity" request. With that the sub item count could be tracked.

Looking forward to your feedback.

Best,
Gerwin

  1. Support Staff 1 Posted by Marc Guyer on 13 Aug, 2010 03:20 PM

    Marc Guyer's Avatar

    Hi Gerwin -- You can get current item quantities from the customers/get API call.

    It sounds to me like you'll need to write some logic on your side to achieve what you want. You might consider leveraging the MetaData feature, however: http://support.cheddargetter.com/faqs/api-8/customer-meta-data

  2. Marc Guyer closed this discussion on 13 Aug, 2010 03:20 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