Gifting
Create a gifting checkout
Changed onCreates a paid checkout for gifting a product to live chat
post/open-api/v1.0/gifting/checkout
Request
- Base URLhttps://api.fourthwall.com
- URLhttps://api.fourthwall.com/open-api/v1.0/gifting/checkout
- Auth
- OAuth 2Implicit: https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/authScopes: giveaway_write
- or HTTP basic
Request body
Example request
{
"offerId": "00aa4abd-5778-4199-8161-0b49b2f212e5",
"quantity": 1,
"currency": "USD"
}Response
Created
Example response
{
"checkoutId": "ch_BV44UYrXQA2T_Xcf1288tw",
"checkoutUrl": "https://shop.fourthwall.com/checkout/ch_BV44UYrXQA2T_Xcf1288tw"
}Changes
- breaking
added the new required request property
- warning
removed the request property
- breaking
- info
endpoint added
- info