Skip to content

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

id
required
One of:
string

The ID or URL-encoded path of the namespace

add_on_name
required
string

The name of the add-on

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