Skip to main content
PUT
/
v1
/
businesses
/
{id}
/
online-presences
/
{onlinePresenceId}
Update business online presence
curl --request PUT \
  --url https://api.shingleai.com/v1/businesses/{id}/online-presences/{onlinePresenceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "description": "<string>",
  "type": "<string>",
  "provider": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "businessId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>",
    "description": "<string>",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "provider": "<string>"
  },
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

Business UUID

onlinePresenceId
string<uuid>
required

Online Presence UUID

Body

application/json
name
string
url
string | null
description
string | null
type
string | null
provider
string | null

Response

Online presence updated successfully

data
object
required
meta
object