Skip to main content
POST
/
supply-requests
Request supply
curl --request POST \
  --url https://api.interchange.io/api/v2/supply-requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "channel": "<string>"
}
'
import requests

url = "https://api.interchange.io/api/v2/supply-requests"

payload = {
"domain": "<string>",
"channel": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: '<string>', channel: '<string>'})
};

fetch('https://api.interchange.io/api/v2/supply-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "created": true,
  "updated": true,
  "request": {
    "domain": "<string>",
    "channel": "<string>",
    "market": "<string>",
    "desiredSupply": "<string>",
    "publicStatus": {
      "label": "<string>",
      "description": "<string>",
      "asOf": "<string>"
    },
    "customerNeed": {
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  }
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}

Authorizations

Authorization
string
header
required

API key or access token

Body

application/json
domain
string
required
Minimum string length: 1
channel
string
required
Minimum string length: 1
geo
string
Minimum string length: 1
launchDate
string
Minimum string length: 1
desiredSupply
Required string length: 1 - 4000
notes
string
Required string length: 1 - 4000

Response

Request supply

created
boolean
required
updated
boolean
required
registryStatus
enum<string>
required
Available options:
found,
missing,
unavailable
request
object
required