To get a gift card or list of gift cards, you need to send a GET request to the /api/gifts/gift endpoint.The request parameters should contain the following:
orderId: The order ID of the gift card. This is an required field of type string.
Request
Query Params
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.getroamify.com/api/gifts/gift?orderId=test-order-id' \
--header'User-Agent: insomnia/10.1.0' \
--header'Authorization: token'
Responses
🟢200successfully / 200
text/plain
Body
Example
application/json; charset=utf-8 content type is not supported in the response body