You can create Gift Cards via the API. A gift card is just a Credit Account that isn't attached to a specific customer and has a code to identify it in our system. Take a look at
http://merchantos.com/API/Account/797/CreditAccount.help to see about creating a CreditAccount. It will automatically be marked as a gift card type created account if you create it through that control, because customer credit accounts need to be created through the customer control.
The way you fund a gift card is to create a sale with a positive payment that is the funding source (say Credit Card) and a negative payment attached to the CreditAccount that is the gift card.
A clerk can apply the gift card to a sale as a payment by hitting the "Gift Card" payment type and entering the gift card code (the "code" field fo the CreditAccount).
It may be helpful to try all of this in the system through the interface first and then query the API to see what those objects look like (the CreditAccount object and the Sale object with it's SalePayment children for creating and using a gift card)
On Friday, August 24, 2012 2:54:02 PM UTC-7, buzzworm wrote:
Hi, I'm a prospective MerchantOS customer trying to see if I'll be able to write a Java program to do some kind of integration with our BigCommerce site. So I'm wondering if there's any way I could automatically keep a gift card (e-card or physical) in sync whether purchased online through BigCommerce or in the store through MerchantOS.
So for starters I looked at the MerchantOS API docs for gift card creation and access but didn't see anything. Does the API have any kind of gift card capability that I might've missed?
thanks,
glen