Generated by API Evangelist
Written by API Evangelist tooling for Tradeshift's API. It is a proposal applied on top of the contract, not a document Tradeshift publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Tradeshift External Dx Category Accounts Legal Entities API
version: 1.0.0
extends: openapi/tradeshift-dx-category-accounts-legal-entities-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-24'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/rest/external/legalentities/{id}'].put
update:
x-apievangelist-phrasing:
intent: Create or update a legal entity
effect: write
questions:
- How do I create a legal entity for a company?
- Can I update a legal entity's alternate ID?
instructions:
- text: Create legal entity {id} for company {CompanyId} named {Name} with alternate ID {AlternateEntityId}.
slots:
id: path.id
CompanyId: requestBody.CompanyId
Name: requestBody.Name
AlternateEntityId: requestBody.AlternateEntityId
- text: Update legal entity {id} with description {Description} and legal note {LegalNote}.
slots:
id: path.id
Description: requestBody.Description
LegalNote: requestBody.LegalNote
method: generated
generated: '2026-11-24'
- target: $.paths['/rest/external/legalentities/{id}/identifiers/{identifier}'].put
update:
x-apievangelist-phrasing:
intent: Add or update a legal entity identifier
effect: write
questions:
- How do I add a VAT number to a legal entity?
- Can I overwrite an existing identifier value?
instructions:
- text: Add identifier {identifier} to legal entity {id} with value {value} and label {label}.
slots:
identifier: path.identifier
id: path.id
value: requestBody.IdentifierValue
label: requestBody.Label
- text: Set the {identifier} identifier of entity {id} to {value}, label {label}.
slots:
identifier: path.identifier
id: path.id
value: requestBody.IdentifierValue
label: requestBody.Label
method: generated
generated: '2026-11-24'
- target: $.paths['/rest/external/legalentities/{id}/locations/search'].get
update:
x-apievangelist-phrasing:
intent: Search a legal entity's locations
effect: read
questions:
- Which addresses are set up for a legal entity?
- Can I search a legal entity's locations by name?
instructions:
- text: Find locations on legal entity {id} matching {query}.
slots:
id: path.id
query: query.query
- text: Search legal entity {id} for {query} with only defaults {only_defaults}.
slots:
id: path.id
query: query.query
only_defaults: query.only_defaults
method: generated
generated: '2026-11-24'
- target: $.paths['/rest/external/legalentities/{id}/locations/{locationid}'].put
update:
x-apievangelist-phrasing:
intent: Create or update a legal entity location
effect: write
questions:
- How do I add a billing address to a legal entity?
- Can I make a new location the default for a legal entity?
instructions:
- text: Add {Type} location {locationid} to legal entity {id} with address {Address}.
slots:
id: path.id
locationid: path.locationid
Type: requestBody.Type
Address: requestBody.Address
- text: Make {Type} location {locationid} the default for legal entity {id}, address {Address}.
slots:
id: path.id
locationid: path.locationid
Type: requestBody.Type
Address: requestBody.Address
method: generated
generated: '2026-11-24'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.