The internal customer code to search for
Search Company by Customer Code
This endpoint allows searching for a company within a specific portal by its internal customer code. Returns the company details if a match is found. Users attempting to perform this operation need to ensure they possess the necessary permissions. You should have yukiapi:portal:portals:read scope to access this endpoint.
Query Parameters
Path Parameters
The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
Headers
Bearer token for authentication
Content type of the request body
Default:application/json
Response
application/json
Response
Company object
Company
Company information object.
Unique identifier of the company.
Example:123e4567-e89b-12d3-a456-426614174000
The name of the company.
Example:Example Corp
A brief description of the company.
Example:Example Corp is a leading provider of innovative solutions.
Address information object.
Show Child Parameters
Address information object.
Show Child Parameters
Country ISO code.
Example:NL
Email address.
Example:info@example.com
Phone number.
Example:+31 20 123 4567
Company website (optional).
Example:https://example.com
Legal form of the company.
BE: Unknown, SolePartnership, PrivateLimited, PublicLimited, GeneralPartnership, LimitedPartnership, Partnership, Association, Foundation, Cooperative.
NL: values to be added later
Allowed values:UnknownSolePartnershipPrivateLimitedPublicLimitedGeneralPartnershipLimitedPartnershipPartnershipAssociationFoundationCooperative
Example:PrivateLimited
Chamber of Commerce number.
Example:12345678
Internal customer code (optional).
Example:CUST001
Accounting starting date.
Example:2024-01-01
Financial object containing financial-related settings.
Show Child Parameters
Peppol configuration object containing Peppol-related settings.
Show Child Parameters
Domain
Operations related to domains
Create Domain
This endpoint allows the creation of a new domain. Ensure you have the necessary permissions before attempting to create a domain. You should have yukiapi:domain:domains:create and yukiapi:domain:domains:write scopes to access this endpoint.
Path Parameters
The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
Headers
Bearer token for authentication
Content type of the request body
Default:application/json
Body
application/json
Body
CreateDomain
Schema for creating a new domain.
The domain name. If not supplied, will be generated from company name. Only lowercase letters, number and dashes are allowed.
Example:my-company-name
The status of the domain for creation purposes.
Allowed values:StartupActive
Example:Active
The bundle type for the domain.
Allowed values:MinimalSmallMediumLargeUnlimited
Example:Medium
The locale for the domain.
BE: nl-BE, en-US, fr-BE.
NL: en-US, nl-NL
Allowed values:nl-BEen-USfr-BEnl-NL
Example:en-US
Company information object.
Show Child Parameters
Whether to create a customer user.
Example:true
The name of the customer.
Example:John Doe
The email address of the customer.
Example:john.doe@yuki.nl
Back office configuration settings.
Show Child Parameters
Response
application/json
Response
Domain successfully created
The unique identifier of the created domain
Example:3afb7b54-6144-4561-9a29-1148006f2375
Get All Domains for a Portal
This endpoint allows the retrieval of all domains belonging to a Portal. Ensure you have the necessary permissions before attempting to retrieve the domains list. You should have yukiapi:portal:portals:read and yukiapi:domain:domains:read scopes to access this endpoint.
Query Parameters
The number of items to skip before starting to collect the result set
The numbers of items to return
Path Parameters
The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
Headers
Bearer token for authentication
Content type of the request body
Default:application/json
Response
application/json
Response
Paged result of domains
Total number of items available
Example:100
Current offset in the list
Example:10
Maximum number of items returned
Example:20
Show Child Parameters
Update Domain
This endpoint allows the modification of an existing domain’s details. Ensure you have the necessary permissions before attempting to update a domain. You should have yukiapi:domain:domains:write and yukiapi:domain:domains:update scopes to access this endpoint.
Query Parameters
The domain name
Path Parameters
The portal id
Example:3afb7b54-6144-4561-9a29-1148006f2375
Headers
Bearer token for authentication
Content type of the request body
Default:application/json
Body
application/json
Body
UpdateDomain
Schema for updating an existing domain.
Back office configuration settings.
Show Child Parameters
Response
Response
Domain updated successfully.