POST /portal-links.json

POST /portal-links.json
application/json

Body Required

  • icon string | null

    Icon

  • name string Required

    Name

  • portal string Required

    Portal

    Values are vendor, returns, or reeller.

  • url string Required

    Url

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
POST /portal-links.json
curl \
 -X POST http://api.example.com/v1/portal-links.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"icon":"string","name":"string","portal":"vendor","url":"string"}'
Request example
{
  "icon": "string",
  "name": "string",
  "portal": "vendor",
  "url": "string"
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "icon": "string",
  "id": 42,
  "name": "string",
  "portal": "vendor",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "url": "string"
}