tebexio / TebexHeadless-OpenAPI

OpenAPI spec for implementing your own store frontend with a Tebex webstore.
MIT License
0 stars 0 forks source link

Inconsistency between documentation and OpenAPI spec for Gifting Packages #1

Open ploxxxy opened 1 month ago

ploxxxy commented 1 month ago

Description:

I'm encountering an issue when attempting to gift a package to another player using Headless API

Expected Behavior:

According to both the official docs and the Postman collection, gifting should be possible by including the target_username_id field in the request body.

Actual Behavior:

However, the latest version of your OpenAPI spec has no mention of gifting, or the "target_username_id" field. Despite this, attempting to send a request with said field still results in a The provided username that should receive the gift is invalid error message:

image

Additional Info:

Could you clarify if gifting is currently supported?

WildBamaBoy commented 1 month ago

This should definitely be working - to me it is strange that we're seeing "User not found" in the error detail yet this is a valid username. I will follow up with our API team to see why this is happening.