curlコマンドのサンプルはありますか?

こちらはAPI連携を前提とした開発ご担当者さま向けのAPI仕様についてのよくあるご質問です。APIのご利用には弊社内の審査がございますのであらかじめご了承ください。

以下より該当するサンプルをご利用ください。

 

ギフトカード:発行API

curl -X POST -H "Authorization: Basic <Base64 encoded token>" 
"https://g4b.giftee.biz/api/gift_cards.json?gift_card_config_code=
<gift_card_config_code>&issue_identity=<issue_identity>"

ギフトカード:参照API

curl -X GET -H "Authorization: Basic <base64 encoded accesstoken>" 
"https://g4b.giftee.biz/api/gift_cards/<issue_identity>

 

giftee Box:発行API

curl -X POST -H "Authorization: Basic <Base64 encoded token>"
"https://g4b.giftee.biz/api/giftee_boxes.json?giftee_box_config_code=
<giftee_box_config_code>&issue_identity=<issue_identity>&initial_point=<initial_point>"

giftee Box:参照API

curl -X GET -H "Authorization: Basic <base64 encoded accesstoken>"
"https://g4b.giftee.biz/api/giftee_boxes/<issue_identity>"

関連するエンティティ:

他にご質問がございましたら、リクエストを送信してください