Unified.to · Capability
Unified.to API — salesorder
Unified.to API — salesorder. 6 operations. Lead operation: List All Salesorders. Self-contained Naftiko capability covering one Unified To business surface.
What You Can Do
GET
Listaccountingsalesorders
— List All Salesorders
/v1/accounting/{connection-id}/salesorder
POST
Createaccountingsalesorder
— Create a Salesorder
/v1/accounting/{connection-id}/salesorder
DELETE
Removeaccountingsalesorder
— Remove a Salesorder
/v1/accounting/{connection-id}/salesorder/{id}
GET
Getaccountingsalesorder
— Retrieve a Salesorder
/v1/accounting/{connection-id}/salesorder/{id}
PATCH
Patchaccountingsalesorder
— Update a Salesorder
/v1/accounting/{connection-id}/salesorder/{id}
PUT
Updateaccountingsalesorder
— Update a Salesorder
/v1/accounting/{connection-id}/salesorder/{id}
MCP Tools
list-all-salesorders
List All Salesorders
read-only
idempotent
create-salesorder
Create a Salesorder
remove-salesorder
Remove a Salesorder
idempotent
retrieve-salesorder
Retrieve a Salesorder
read-only
idempotent
update-salesorder
Update a Salesorder
idempotent
update-salesorder-2
Update a Salesorder
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Unified.to API — salesorder
description: 'Unified.to API — salesorder. 6 operations. Lead operation: List All Salesorders. Self-contained Naftiko capability
covering one Unified To business surface.'
tags:
- Unified To
- salesorder
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
consumes:
- type: http
namespace: full-salesorder
baseUri: https://api.unified.to
description: Unified.to API — salesorder business capability. Self-contained, no shared references.
resources:
- name: accounting-connection_id-salesorder
path: /accounting/{connection_id}/salesorder
operations:
- name: listaccountingsalesorders
method: GET
description: List All Salesorders
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: number
- name: offset
in: query
type: number
- name: updated_gte
in: query
type: string
description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
format)
- name: sort
in: query
type: string
- name: order
in: query
type: string
- name: query
in: query
type: string
description: Query string to search. eg. email address or name
- name: contact_id
in: query
type: string
description: The contact ID to filter by (reference to AccountingContact)
- name: org_id
in: query
type: string
description: The org ID to filter by (reference to AccountingOrganization)
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: createaccountingsalesorder
method: POST
description: Create a Salesorder
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: accounting-connection_id-salesorder-id
path: /accounting/{connection_id}/salesorder/{id}
operations:
- name: removeaccountingsalesorder
method: DELETE
description: Remove a Salesorder
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Salesorder
required: true
- name: getaccountingsalesorder
method: GET
description: Retrieve a Salesorder
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Salesorder
required: true
- name: patchaccountingsalesorder
method: PATCH
description: Update a Salesorder
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Salesorder
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: updateaccountingsalesorder
method: PUT
description: Update a Salesorder
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Salesorder
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: apikey
key: authorization
value: '{{env.UNIFIED_TO_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: full-salesorder-rest
port: 8080
description: REST adapter for Unified.to API — salesorder. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/accounting/{connection-id}/salesorder
name: accounting-connection-id-salesorder
description: REST surface for accounting-connection_id-salesorder.
operations:
- method: GET
name: listaccountingsalesorders
description: List All Salesorders
call: full-salesorder.listaccountingsalesorders
with:
limit: rest.limit
offset: rest.offset
updated_gte: rest.updated_gte
sort: rest.sort
order: rest.order
query: rest.query
contact_id: rest.contact_id
org_id: rest.org_id
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: createaccountingsalesorder
description: Create a Salesorder
call: full-salesorder.createaccountingsalesorder
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/accounting/{connection-id}/salesorder/{id}
name: accounting-connection-id-salesorder-id
description: REST surface for accounting-connection_id-salesorder-id.
operations:
- method: DELETE
name: removeaccountingsalesorder
description: Remove a Salesorder
call: full-salesorder.removeaccountingsalesorder
with:
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: GET
name: getaccountingsalesorder
description: Retrieve a Salesorder
call: full-salesorder.getaccountingsalesorder
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: patchaccountingsalesorder
description: Update a Salesorder
call: full-salesorder.patchaccountingsalesorder
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updateaccountingsalesorder
description: Update a Salesorder
call: full-salesorder.updateaccountingsalesorder
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: full-salesorder-mcp
port: 9090
transport: http
description: MCP adapter for Unified.to API — salesorder. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: list-all-salesorders
description: List All Salesorders
hints:
readOnly: true
destructive: false
idempotent: true
call: full-salesorder.listaccountingsalesorders
with:
limit: tools.limit
offset: tools.offset
updated_gte: tools.updated_gte
sort: tools.sort
order: tools.order
query: tools.query
contact_id: tools.contact_id
org_id: tools.org_id
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
outputParameters:
- type: object
mapping: $.
- name: create-salesorder
description: Create a Salesorder
hints:
readOnly: false
destructive: false
idempotent: false
call: full-salesorder.createaccountingsalesorder
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: remove-salesorder
description: Remove a Salesorder
hints:
readOnly: false
destructive: true
idempotent: true
call: full-salesorder.removeaccountingsalesorder
with:
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: retrieve-salesorder
description: Retrieve a Salesorder
hints:
readOnly: true
destructive: false
idempotent: true
call: full-salesorder.getaccountingsalesorder
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: update-salesorder
description: Update a Salesorder
hints:
readOnly: false
destructive: false
idempotent: true
call: full-salesorder.patchaccountingsalesorder
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: update-salesorder-2
description: Update a Salesorder
hints:
readOnly: false
destructive: false
idempotent: true
call: full-salesorder.updateaccountingsalesorder
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.