POST api/pos/giftcard
Do gift card operations
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
None.
Body Parameters
ApiGiftCardOperationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationId | integer |
None. |
|
| Operation | ApiGiftCardOperation |
None. |
|
| Code | string |
None. |
|
| CustomPaymentMethodId | integer |
None. |
|
| Params | Dictionary of string [key] and Object [value] |
None. |
|
| OrderItemMobileId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LocationId": 1,
"Operation": 1,
"Code": "sample string 2",
"CustomPaymentMethodId": 1,
"Params": {
"sample string 1": {},
"sample string 3": {}
},
"OrderItemMobileId": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |