# Sell in the marketplace

`POST /hosting/market/seller` · Rivier · hosting

Sell in the marketplace: accept the terms for sellers in force and give the name buyers see. Refused while no terms are published.

- Scope: hosting:write
- Sdk: hosting.marketSeller.set
- Cli: hosting market seller set

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80
    },
    "terms": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40,
      "description": "The version of the terms for sellers being accepted, as the marketplace states it"
    }
  },
  "required": [
    "name",
    "terms"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/market/seller' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "terms": "string"
}'
```
