Skip to content

Commit

Permalink
add ts sdk snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavmihaylov committed Apr 18, 2024
1 parent 4644851 commit 0a97155
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _snippets/typescript-sdk/update-customer-company.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
```tsx
const res = await client.updateCustomerCompany({
customerId: 'c_01H14DFQ4PDYBH398J1E99TWSS',
companyIdentifier: {
companyId: 'co_01HRRMRPERZCK42HTPD4JQ57NB',
companyDomainName: 'nike.com',
},
});

if (res.error) {
console.error(res.error);
} else {
console.log(res.data);
}
```

0 comments on commit 0a97155

Please sign in to comment.