public interface VendorsApi
| Modifier and Type | Method and Description |
|---|---|
BulkCreateVendorsResponse |
bulkCreateVendors(BulkCreateVendorsRequest body)
Creates one or more [Vendor]($m/Vendor) objects to represent suppliers to a seller.
|
CompletableFuture<BulkCreateVendorsResponse> |
bulkCreateVendorsAsync(BulkCreateVendorsRequest body)
Creates one or more [Vendor]($m/Vendor) objects to represent suppliers to a seller.
|
BulkRetrieveVendorsResponse |
bulkRetrieveVendors(BulkRetrieveVendorsRequest body)
Retrieves one or more vendors of specified [Vendor]($m/Vendor) IDs.
|
CompletableFuture<BulkRetrieveVendorsResponse> |
bulkRetrieveVendorsAsync(BulkRetrieveVendorsRequest body)
Retrieves one or more vendors of specified [Vendor]($m/Vendor) IDs.
|
BulkUpdateVendorsResponse |
bulkUpdateVendors(BulkUpdateVendorsRequest body)
Updates one or more of existing [Vendor]($m/Vendor) objects as suppliers to a seller.
|
CompletableFuture<BulkUpdateVendorsResponse> |
bulkUpdateVendorsAsync(BulkUpdateVendorsRequest body)
Updates one or more of existing [Vendor]($m/Vendor) objects as suppliers to a seller.
|
CreateVendorResponse |
createVendor(CreateVendorRequest body)
Creates a single [Vendor]($m/Vendor) object to represent a supplier to a seller.
|
CompletableFuture<CreateVendorResponse> |
createVendorAsync(CreateVendorRequest body)
Creates a single [Vendor]($m/Vendor) object to represent a supplier to a seller.
|
RetrieveVendorResponse |
retrieveVendor(String vendorId)
Retrieves the vendor of a specified [Vendor]($m/Vendor) ID.
|
CompletableFuture<RetrieveVendorResponse> |
retrieveVendorAsync(String vendorId)
Retrieves the vendor of a specified [Vendor]($m/Vendor) ID.
|
SearchVendorsResponse |
searchVendors(SearchVendorsRequest body)
Searches for vendors using a filter against supported [Vendor]($m/Vendor) properties and a
supported sorter.
|
CompletableFuture<SearchVendorsResponse> |
searchVendorsAsync(SearchVendorsRequest body)
Searches for vendors using a filter against supported [Vendor]($m/Vendor) properties and a
supported sorter.
|
UpdateVendorResponse |
updateVendor(UpdateVendorRequest body,
String vendorId)
Updates an existing [Vendor]($m/Vendor) object as a supplier to a seller.
|
CompletableFuture<UpdateVendorResponse> |
updateVendorAsync(UpdateVendorRequest body,
String vendorId)
Updates an existing [Vendor]($m/Vendor) object as a supplier to a seller.
|
BulkCreateVendorsResponse bulkCreateVendors(BulkCreateVendorsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<BulkCreateVendorsResponse> bulkCreateVendorsAsync(BulkCreateVendorsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.BulkRetrieveVendorsResponse bulkRetrieveVendors(BulkRetrieveVendorsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<BulkRetrieveVendorsResponse> bulkRetrieveVendorsAsync(BulkRetrieveVendorsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.BulkUpdateVendorsResponse bulkUpdateVendors(BulkUpdateVendorsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<BulkUpdateVendorsResponse> bulkUpdateVendorsAsync(BulkUpdateVendorsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.CreateVendorResponse createVendor(CreateVendorRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CreateVendorResponse> createVendorAsync(CreateVendorRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.SearchVendorsResponse searchVendors(SearchVendorsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<SearchVendorsResponse> searchVendorsAsync(SearchVendorsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.RetrieveVendorResponse retrieveVendor(String vendorId) throws ApiException, IOException
vendorId - Required parameter: ID of the [Vendor]($m/Vendor) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<RetrieveVendorResponse> retrieveVendorAsync(String vendorId)
vendorId - Required parameter: ID of the [Vendor]($m/Vendor) to retrieve.UpdateVendorResponse updateVendor(UpdateVendorRequest body, String vendorId) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.vendorId - Required parameter: Example:ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<UpdateVendorResponse> updateVendorAsync(UpdateVendorRequest body, String vendorId)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.vendorId - Required parameter: Example:Copyright © 2022. All rights reserved.