Request Partner Sync
POST /internal/v2/{bucket}/sync/{partner}/{action}/{data_type}
Request a sync with a partner
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The bucket (client) name
Example
exampleThe partner to sync with e.g. mailchimp, gocardless, stripe
The action to perform e.g. pull, push
The data type to sync e.g. contacts, payments
Query Parameters
Section titled “Query Parameters ”The number of hours to look back for changes e.g. 24 would look back 24 hours for changes
If the data_type is contacts, should new contacts be created?
Where supported a full sync will override the since_hours parameter
Responses
Section titled “ Responses ”Details of the request. The output from the requested sync will appear in the usage reports with a summary of the results.
object
The parameters to pass to the lambda function which will execute your request
object
The number of hours to look back for changes
OK if the request was successful
Bad request, see the error field for details
Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
Not found
An error occurred within sheepCRM, please report to support@sheepcrm.com