POST Send an API request on Behalf of a Client Account
Use this API method to send an API request on behalf of a managed client account in your partnership.
The request body properties you use in this partner API call determine the structure of the API request that Constant Contact sends on behalf of the managed client account. This includes the HTTP url, HTTP method type, request body, request url parameters, request query parameters, and headers that for the request. You can use this /partner/accounts/{encoded_account_id}/account_operations/sync API method to send a request using non-partner v3 API methods.
Path parameters
An encoded account id for a managed account in your partnership.
Request body
Example request
{
"account_operation_url": "/contacts/{contact_id}",
"account_operation_method": "GET",
"account_operation_query_parameters": [
{
"query_param_key": "include",
"query_param_value": "list_memberships"
}
],
"account_operation_path_parameters": [
{
"path_param_key": "contact_id",
"path_param_value": "04fe9a-a579-43c5-bb1a-58ed29bf0a6a"
}
],
"account_operation_headers": [
{
"header_key": "Accept",
"header_value": "application/json"
}
]
}Response
Request successful. The response body schema returned by this method corresponds to the specific API request you provided in the request body.