Created
June 9, 2021 09:07
-
-
Save somewherewarm-snippets/36ce73f78ca6173a7fd5fd7b5bdb6b4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 177, | |
"code": "5QY5-E4AX-TAVR-LCPK", | |
"recipient": "recipient@somewherewarm.local", | |
"sender": "Awesome Sender", | |
"sender_email": "0", | |
"message": "", | |
"balance": 100, | |
"remaining": 100, | |
"order_id": 0, | |
"order_item_id": 0, | |
"create_date": "2021-06-02 08:40:15", | |
"deliver_date": 0, | |
"expire_date": 0, | |
"redeem_date": 0, | |
"redeemed_by": 0, | |
"delivered": "no", | |
"is_active": "on", | |
"activities": [ | |
{ | |
"id": 60, | |
"type": "issued", | |
"user_id": 0, | |
"user_email": "0", | |
"object_id": 0, | |
"gc_id": 177, | |
"gc_code": "5QY5-E4AX-TAVR-LCPK", | |
"amount": 100, | |
"date": "2021-06-02 08:40:15", | |
"note": "" | |
} | |
], | |
"meta_data": [ | |
{ | |
"id": 43, | |
"key": "sample key 1", | |
"value": "sample value 1" | |
}, | |
{ | |
"id": 44, | |
"key": "sample key 2", | |
"value": "sample value 2" | |
} | |
], | |
"_links": { | |
"self": [ | |
{ | |
"href": "https://example.com/wp-json/wc/v3/gift-cards/177" | |
} | |
], | |
"collection": [ | |
{ | |
"href": "https://example.com/wp-json/wc/v3/gift-cards" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment