최근 검색
최근 검색 없음
Updating Domain on Org Change
2024년 9월 20일에 게시됨
Hello Team,
I am looking to solve an issue of having multiple domains for my customers, yet only a single domain in our SFDC instance. Every time it is updated it overwrites any additional domains we've added.
I was thinking of creating a new org field to host those extra domains names, and then a trigger that when an org is updated we hit the ZD webhook to update the org domain_names field to include the SFDC one and the domains in additional domains.
However I am trying to test my webhook against /api/v2/organizations{{organization_id}}, with the following and get a 422 unprocessable error, this works with plain text.
{
"organization": {
"domain_names": "{{organization.custom_fields.xxxxxxxxx}}"
}
}
I assume this is because there is something wrong with my placeholder, can we call directly from the organization if don't have a preceeding user or ticket?
0
댓글 1개
Elaine
It sounds like you're working on a complex setup to manage multiple domains for your customers, and I appreciate the details you've provided.
Regarding the 422 unprocessable entity error, it’s likely related to how the placeholder for is being handled. Here are a few suggestions that might help:
0