Avalara · Capability
Avalara AvaTax APIs — Upcs
Avalara AvaTax APIs — Upcs. 6 operations. Lead operation: Avalara CreateUPCs. Self-contained Naftiko capability covering one Avalara business surface.
What You Can Do
POST
Post
— Avalara CreateUPCs
/v1/api/v2/companies/{companyid}/upcs
GET
Get
— Avalara ListUPCsByCompany
/v1/api/v2/companies/{companyid}/upcs
DELETE
Delete
— Avalara DeleteUPC
/v1/api/v2/companies/{companyid}/upcs/{id}
GET
Get
— Avalara GetUPC
/v1/api/v2/companies/{companyid}/upcs/{id}
PUT
Put
— Avalara UpdateUPC
/v1/api/v2/companies/{companyid}/upcs/{id}
GET
Get
— Avalara QueryUPCs
/v1/api/v2/upcs
MCP Tools
avalara-createupcs
Avalara CreateUPCs
avalara-listupcsbycompany
Avalara ListUPCsByCompany
read-only
idempotent
avalara-deleteupc
Avalara DeleteUPC
idempotent
avalara-getupc
Avalara GetUPC
read-only
idempotent
avalara-updateupc
Avalara UpdateUPC
idempotent
avalara-queryupcs
Avalara QueryUPCs
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Avalara AvaTax APIs — Upcs
description: 'Avalara AvaTax APIs — Upcs. 6 operations. Lead operation: Avalara CreateUPCs. Self-contained Naftiko capability
covering one Avalara business surface.'
tags:
- Avalara
- Upcs
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
AVALARA_API_KEY: AVALARA_API_KEY
capability:
consumes:
- type: http
namespace: avatax-apis-upcs
baseUri: http://{{baseurl}}
description: Avalara AvaTax APIs — Upcs business capability. Self-contained, no shared references.
resources:
- name: api-v2-companies-companyId-upcs
path: /api/v2/companies/{companyId}/upcs
operations:
- name: post
method: POST
description: Avalara CreateUPCs
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: get
method: GET
description: Avalara ListUPCsByCompany
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: api-v2-companies-companyId-upcs-id
path: /api/v2/companies/{companyId}/upcs/{id}
operations:
- name: delete
method: DELETE
description: Avalara DeleteUPC
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: get
method: GET
description: Avalara GetUPC
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: put
method: PUT
description: Avalara UpdateUPC
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
- name: companyId
in: path
type: string
required: true
- name: id
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: api-v2-upcs
path: /api/v2/upcs
operations:
- name: get
method: GET
description: Avalara QueryUPCs
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: X-Avalara-Client
in: header
type: string
description: Identifies the software you are using to call this API. For more information on the client header,
see [Client Headers](https://developer.avalara.com/avatax/cli
authentication:
type: basic
username: '{{env.AVALARA_USER}}'
password: '{{env.AVALARA_PASS}}'
exposes:
- type: rest
namespace: avatax-apis-upcs-rest
port: 8080
description: REST adapter for Avalara AvaTax APIs — Upcs. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/api/v2/companies/{companyid}/upcs
name: api-v2-companies-companyid-upcs
description: REST surface for api-v2-companies-companyId-upcs.
operations:
- method: POST
name: post
description: Avalara CreateUPCs
call: avatax-apis-upcs.post
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: get
description: Avalara ListUPCsByCompany
call: avatax-apis-upcs.get
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/companies/{companyid}/upcs/{id}
name: api-v2-companies-companyid-upcs-id
description: REST surface for api-v2-companies-companyId-upcs-id.
operations:
- method: DELETE
name: delete
description: Avalara DeleteUPC
call: avatax-apis-upcs.delete
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: GET
name: get
description: Avalara GetUPC
call: avatax-apis-upcs.get
with:
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: put
description: Avalara UpdateUPC
call: avatax-apis-upcs.put
with:
Content-Type: rest.Content-Type
X-Avalara-Client: rest.X-Avalara-Client
companyId: rest.companyId
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/upcs
name: api-v2-upcs
description: REST surface for api-v2-upcs.
operations:
- method: GET
name: get
description: Avalara QueryUPCs
call: avatax-apis-upcs.get
with:
X-Avalara-Client: rest.X-Avalara-Client
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: avatax-apis-upcs-mcp
port: 9090
transport: http
description: MCP adapter for Avalara AvaTax APIs — Upcs. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: avalara-createupcs
description: Avalara CreateUPCs
hints:
readOnly: false
destructive: false
idempotent: false
call: avatax-apis-upcs.post
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-listupcsbycompany
description: Avalara ListUPCsByCompany
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-upcs.get
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
outputParameters:
- type: object
mapping: $.
- name: avalara-deleteupc
description: Avalara DeleteUPC
hints:
readOnly: false
destructive: true
idempotent: true
call: avatax-apis-upcs.delete
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: avalara-getupc
description: Avalara GetUPC
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-upcs.get
with:
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: avalara-updateupc
description: Avalara UpdateUPC
hints:
readOnly: false
destructive: false
idempotent: true
call: avatax-apis-upcs.put
with:
Content-Type: tools.Content-Type
X-Avalara-Client: tools.X-Avalara-Client
companyId: tools.companyId
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: avalara-queryupcs
description: Avalara QueryUPCs
hints:
readOnly: true
destructive: false
idempotent: true
call: avatax-apis-upcs.get
with:
X-Avalara-Client: tools.X-Avalara-Client
outputParameters:
- type: object
mapping: $.