ReDoc documentation
Create a new gift card account with duplicate code detection.
required | object (gift-card-account-api-data-gift-card-account-data-interface) Data interface for individual gift card account entities. |
200 Success.
401 Unauthorized
Internal Server error
Unexpected error
{- "giftcardAccount": {
- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}
}{- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}Retrieve gift card accounts matching search criteria.
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "account_id": 0,
- "code": "string",
- "status": 0,
- "date_created": "string",
- "date_expires": "string",
- "balance": 0,
- "state": 0,
- "is_redeemable": 0
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}