The following items cover advanced options, tips, and links to other reference materials that may be useful for Four51 integrations.
The Extended Properties (XP) property provided by the OrderCloud API allows addition of customized fields to most objects.
In Jitterbit, if an object supports the OrderCloud XP property, then the Four51 Connector will generate the XP property in that object's request and response schemas. The XP property can be used in create, update, patch update, or delete activities. In addition, the XP property is available for filtering, sorting, and searching in all read activities for multiple-record endpoints (i.e. includes list of records, but not single record).
For example, if you want to use the XP property to add a custom "Previous Address" field, on your request transformation, double-click the XP property and add the following to the script:
In the example above, we use XML within a string enclosed by double quotes in a standard Jitterbit script. After deploying and executing the operation, you can check the OrderCloud.io API Console and find the data included.
Large Amounts of Data
Pagination is supported by the Jitterbit Four51 Connector. Information regarding pagination returned from the OrderCloud API will be provided in Jitterbit within the response XML under the meta tag. An example is provided below. If you have a lot of records being returned and want to adjust the pagination, you can do so using the meta object.
Searching is supported by the Jitterbit Four51 Connector. You can search for large sets of data within the CloudOrder API directly by specifying the search parameter. An example searching all fields is provided below.
The following example limits the search to specified fields available on the resource that you're searching.
NOTE: For additional information on searching and combining queries, see Four51 documentation on Searching.
Filtering is supported by the Jitterbit Four51 Connector. You can filter large lists of items within the CloudOrder API directly by specifying a filter.
Filters support Wildcard, Logical OR, Negate, Logical AND, and GreaterThan / LessThan on dates and numeric values. Examples are provided below.
NOTE: For additional information on filtering, performance considerations, and combining queries, see Four51 documentation on Filtering.
Sorting is supported by the Jitterbit Four51 Connector. You can sort large lists of items within the CloudOrder API directly by specifying the sort order. An example is provided below.
NOTE: For additional information on sorting and combining queries, see Four51 documentation on Sorting.
If you want to interact with the CloudOrder API on behalf of an existing Buyer User, you can do so with the user "impersonation" feature provided by the CloudOrder API. Make sure the Buyer User you want to impersonate has an application with associated Client ID and the appropriate Security Profile assigned. After this is done, you should be able to set up your Four51 endpoint as normal with the credentials for the impersonated user.
The following design patterns may be useful for Four51 integrations: