Operation Id:
clients/giftcards/post [Official Documentaction]
Methods
- giftCards Array<Object>
- typeId Integer
- number String
- pin String
- name String
- expirationDate String
- balance Object
- shops Array<Integer>
- note String
Examples
This function creates a new gift card for a client with specified details such as type ID, number, PIN, name, expiration date, applicable shops, and balance.
Loading editor...
const result = await idosellRequest.postClientsGiftcards .typeId(10) .number("A123456789") .pin("1234") .name("Test card") .expirationDate("2030-12-31") .shops([1,2]) .balance({ "amount":100, "currency":"PLN" }) .exec();