write
as a key in your integration defined in amp.yaml
, and add a list of standard and custom objects you want to write to.
inheritMapping
to your manifest file. When you call our Write API, we will ensure that we are writing back to the appropriate field that the customer has mapped.
https://write.withampersand.com/v1/projects/:projectIdOrName/integrations/:integrationId/objects/:objectName
You can find your project ID and integration ID in the Ampersand Dashboard (look in the address bar) or you can run the following in the terminal to get projectId
& integrationId
:
objectName
refers to the objectName
key within the amp.yaml
file that defines your integration. This must match the name of an object that exists within the SaaS instance.
type
being create
. For example:
associations
parameter.
setFieldSettings
. Learn more about pre-requisites for headless UI here.
setFieldSettings
function. Learn more about pre-requisites for headless UI here.
customSource
has been mapped to the myCustomSource
field in this customer’s Hubspot instance, the default value for this field is “myApp” and the field will only be written to when it is a create record request, and not an update request.