POST /salesforce-accounts.json

POST /salesforce-accounts.json
application/json

Body Required

  • channelId integer(int32) | null

    Channel

  • enabled boolean | null Required

    Enabled

    Default value is true.

  • loginUrl string Required

    Login url

  • name string Required

    Name

  • paidStatuses array[string] | null

    Paid statuses

  • password string Required

    Password

  • securityToken string | null

    Security token

  • username string Required

    Username

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelId integer(int32) | null

      Channel

    • createdAt string(date-time)

      Created at

    • enabled boolean | null Required

      Enabled

      Default value is true.

    • id integer(int32)

      Id

    • loginUrl string Required

      Login url

    • name string Required

      Name

    • paidStatuses array[string] | null

      Paid statuses

    • password string Required

      Password

    • securityToken string | null

      Security token

    • updatedAt string(date-time)

      Updated at

    • username string Required

      Username

POST /salesforce-accounts.json
curl \
 --request POST 'http://api.example.com/v1/salesforce-accounts.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"enabled":true,"loginUrl":"string","name":"string","paidStatuses":["string"],"password":"string","securityToken":"string","username":"string"}'
Request examples
{
  "channelId": 42,
  "enabled": true,
  "loginUrl": "string",
  "name": "string",
  "paidStatuses": [
    "string"
  ],
  "password": "string",
  "securityToken": "string",
  "username": "string"
}
Response examples (200)
{
  "channelId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "enabled": true,
  "id": 42,
  "loginUrl": "string",
  "name": "string",
  "paidStatuses": [
    "string"
  ],
  "password": "string",
  "securityToken": "string",
  "updatedAt": "2025-05-04T09:42:00Z",
  "username": "string"
}