Mo
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
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
Support Staff 1 Posted by Marc Guyer on 13 Aug, 2010 03:20 PM
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
Marc Guyer closed this discussion on 13 Aug, 2010 03:20 PM.