Returns an add-on purchase for the namespace
Deprecated
GET
/api/v4/namespaces/{id}/subscription_add_on_purchase/{add_on_name}
Deprecated in GitLab 17.7
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”OK
Media type application/json
object
namespace_id
integer format: int64
namespace_name
string
add_on
string
quantity
integer
started_on
string format: date
expires_on
string format: date
purchase_xid
string
trial
boolean
Example
{ "namespace_id": 123, "namespace_name": "GitLab", "add_on": "Code Suggestions", "quantity": 10, "started_on": "2023-05-30", "expires_on": "2023-05-30", "purchase_xid": "A-S00000001", "trial": false}Bad request
Unauthorized
Not found