java.lang.Object | |
↳ | org.mule.modules.handshake.core.HandshakeConnector |
![]() |
![]() |
Handshake provides the B2B Commerce platform for manufacturers and distributors that powers standout ordering experiences both in-person and online. Companies using Handshake transform their sales effectiveness and drive operational efficiency, delighting customers and growing lasting relationships.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
antiThrottleKey | Secret key provided by Handshake to by-pass throttling checks. | ||||||||||
apiKey | |||||||||||
clientProvider | |||||||||||
endpoint | Endpoint to which the Connector should connect and call API methods | ||||||||||
securityToken |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Connect
| |||||||||||
The key to identify the connection
| |||||||||||
Creates a
Address on Handshake | |||||||||||
Creates a
Category on handshake | |||||||||||
Creates a
Customer on Handshake
Take into account than neither the CustomerGroup nor the UserGroup can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one | |||||||||||
Creates a
Item on handshake | |||||||||||
Creates
Item s on handshake | |||||||||||
Creates a
Order on handshake | |||||||||||
Disconnect
| |||||||||||
Find all customers for the connected account that match the filters
| |||||||||||
Get all items for the connected account that match the filters
| |||||||||||
Find all Sales Orders for the connected account that match the filters
| |||||||||||
Get a
Address , given its id | |||||||||||
Get a
Category , given its id | |||||||||||
Get a
Customer , given its resourceUri | |||||||||||
Get a
CustomerGroup , given its id | |||||||||||
Get a
Item , given its resourceUri | |||||||||||
Get a
Order , given its resourceUri | |||||||||||
Get a
UserGroup , given its id | |||||||||||
Are we connected
| |||||||||||
Updates a
Address on Handshake, given its resourceUri | |||||||||||
Updates a
Customer on Handshake, given her resourceUri
Take into account than neither the CustomerGroup nor the UserGroup can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one | |||||||||||
Updates a
Item on Handshake, given its resourceUri |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Secret key provided by Handshake to by-pass throttling checks. If you hit API-call limits, contact Handshake to require one
Endpoint to which the Connector should connect and call API methods
Connect
apiKey | The API key for the user |
---|---|
securityToken | Used for sensitive data encryption. Please refer to http://www.handshake-app.com/help/kb/api/api-authentication |
ConnectionException |
---|
The key to identify the connection
Creates a Customer
on Handshake
Take into account than neither the CustomerGroup
nor the UserGroup
can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one
customer | To create. Mandatory fields are ID, name and billTo (which has to be a new Address, and not a reference) |
---|
Creates Item
s on handshake
items | To create |
---|
Disconnect
Find all customers for the connected account that match the filters
filters | Allowed values are: "customerGroup", "userGroup", "ctime" and "mtime" (for creation and modification times, check operators in http://www.handshake-app.com/help/kb/api/web-services-resources-overview) NOTE: filter values refer to the user-defined IDs, and not to the HandShake id |
---|---|
fetchAllResults | Set to true if you want to get the full result instead of a paged one. WARNING: This could be slow and raise OutOfMemoryError if the result is too long |
Get all items for the connected account that match the filters
filters | To apply. Allowed filters are category (by Handshake id), manufacturer (by Handshake id), order (to get items from a specific Order), search (only items with a sku or name that match will be returned), sku (you'll get either 1 or 0 results) |
---|---|
fetchAllResults | Set to true if you want to get the full result instead of a paged one. WARNING: This could be slow and raise OutOfMemoryError if the result is too long |
Find all Sales Orders for the connected account that match the filters
filters | Allowed values are: "customerID", "status", "ctime" and "mtime" (for creation and modification times, check operators in http://www.handshake-app.com/help/kb/api/web-services-resources-overview) |
---|---|
fetchAllResults | Set to true if you want to get the full result instead of a paged one. WARNING: This could be slow and raise OutOfMemoryError if the result is too long |
Get a Address
, given its id
resourceUri | Of the Address to get. The uri is Handshake's uid, as returned by the creation method (like '/api/v2/<resource>/<id>') |
---|
HandshakeAPIException
, if the Address doesn't exist
Get a Category
, given its id
id | Of the Category to get. The id is the one specified on creation, and not Handshake's uid |
---|
Get a Customer
, given its resourceUri
resourceUri | Of the Customer to get. The resourceUri is Handshake's uid, as returned by the creation method (like '/api/v2/<resource>/<id>') |
---|
Get a CustomerGroup
, given its id
id | Of the CustomerGroup to get. The id is the one specified on creation, and not Handshake's uid |
---|
Get a Item
, given its resourceUri
resourceUri | Of the Item to get. The resourceUri is Handshake's uid, as returned by the creation method (like '/api/v2/<resource>/<id>') |
---|
Get a Order
, given its resourceUri
resourceUri | Of the Order to get. The uri is Handshake's uid, as returned by the creation method (like '/api/v2/<resource>/<id>') |
---|
HandshakeAPIException
, if the Order doesn't exist
Get a UserGroup
, given its id
id | Of the UserGroup to get. The id is the one specified on creation, and not Handshake's uid |
---|
Are we connected
antiThrottleKey |
---|
endpoint |
---|
Updates a Address
on Handshake, given its resourceUri
resourceUri | Of the Address to edit (if you skip this, you should include the resourceUri attribute in the address) |
---|---|
address | With the changes to update. You should only include those fields that you want to update, specially if referencing existing nested objects |
Updates a Customer
on Handshake, given her resourceUri
Take into account than neither the CustomerGroup
nor the UserGroup
can be created alongside the Customer
You can either let them be the default values for your account (by not specifying them), or use their resourceUri property to reference an existing one
resourceUri | Of the Customer to update (if you skip this, you should include the resourceUri attribute in the customer) |
---|---|
customer | With the changes to update. You should only include those fields that you want to update, specially if referencing existing nested objects (e.g. try not to include billing address information if it hasn't changed) |
Updates a Item
on Handshake, given its resourceUri
resourceUri | Of the Item to edit (if you skip this, you should include the resourceUri attribute in the item) |
---|---|
item | With the changes to update. You should only include those fields that you want to update, specially if referencing existing nested objects |