organization
post
/ccadmin/v1/webhook/organization
The metadata for create/update account webhook.
Request
Supported Media Types
- application/json
Body Parameter
The metadata for create/update account webhook.
Root Schema : organization_request
The metadata for create/update account webhook.
- organization
-
Type:
objectorganizationAdditional Properties Allowed:
Nested Schema : organization
Type:
object- active
-
Type:
booleanActive status of an Organization. Should be true or false. By default the value is set to true - ancestorOrganizations
-
Type:
arrayancestorOrganizationsAdditional Properties Allowed:The ancestor organizations - approvalRequired
-
Type:
booleanWhether approval is required - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:Default billing address of the Organization - contract
-
Type:
objectcontractAdditional Properties Allowed:The contract information associated with this account - customerType
-
Type:
stringCustomer Type for Organization - delegateApprovalManagement
-
Type:
booleanWhether to delegate approval management - derivedBillingAddress
-
Type:
objectderivedBillingAddressAdditional Properties Allowed:The derived default billing address for the Organization. This a read only attribute. This will come if property 'isDefaultBillingAddress' is set to 'true' in secondaryAddresses attribute or if parent has default billing address. - derivedContract
-
Type:
objectderivedContractAdditional Properties Allowed:Derived Contract - derivedCustomerType
-
Type:
stringDerived Customer type of the Organization - derivedDescription
-
Type:
stringThe description of the Organization - derivedDunsNumber
-
Type:
stringDerived dunsNumber of the Organization - derivedOrganizationLogo
-
Type:
stringDerived organizationLogo of the Organization - derivedOrganizationLogoURL
-
Type:
stringThe organization logo URL - derivedShippingAddress
-
Type:
objectderivedShippingAddressAdditional Properties Allowed:The derived default shipping address for the Organization. This a read only attribute. This will come if property 'isDefaultShippingAddress' is set to 'true' in secondaryAddresses attribute or if parent has default shipping address. - derivedTaxExemptionCode
-
Type:
stringDerived taxExemptionCode of the Organization - derivedTaxReferenceNumber
-
Type:
stringDerived taxReferenceNumber of the Organization - derivedType
-
Type:
stringDerived type of the Organization - derivedUniqueId
-
Type:
stringDerived unique Id of the Organization - derivedVatReferenceNumber
-
Type:
stringDerived VatReferenceNumber of the Organization - description
-
Type:
stringDescription for Organization - dunsNumber
-
Type:
stringDUNS Number for Organization. - id
-
Type:
stringId of the Organization - members
-
Type:
arraymembersAdditional Properties Allowed:Contact details associated with an Organization - name
-
Type:
stringThe name for Organization - orderPriceLimit
-
Type:
stringOrder price limit of the account - organizationLogo
-
Type:
stringFile path of organization logo. - organizationLogoURL
-
Type:
stringFull URL of organization logo. - parentOrganization
-
Type:
objectparentOrganizationAdditional Properties Allowed:Parent organization Info. - paymentMethods
-
Type:
arraypaymentMethodsAdditional Properties Allowed:Payment methods associated for organization. - relativeRoles
-
Type:
arrayrelativeRolesAdditional Properties Allowed:The relative roles - repositoryId
-
Type:
stringRepository Id of the Organization - secondaryAddresses
-
Type:
arraysecondaryAddressesAdditional Properties Allowed:List of addresses associated with an Organization. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:Default shipping address of the Organization - shippingMethods
-
Type:
arrayshippingMethodsAdditional Properties Allowed:Shipping methods associated for organization. - siteOrganizationProperties
-
Type:
arraysiteOrganizationPropertiesAdditional Properties Allowed:The site organization properties of the account - taxExemptionCode
-
Type:
stringTax exemption code for Organization - taxReferenceNumber
-
Type:
stringTax Reference number for Organization - type
-
Type:
stringType for Organization - uniqueId
-
Type:
stringUnique Id of the Organization - useAllPaymentMethodsFromSite
-
Type:
booleanFlag to use all the payment methods available for site. - useAllShippingMethodsFromSite
-
Type:
stringFlag to use all the shipping methods available for site. - useExternalApprovalWebhook
-
Type:
booleanWhether to trigger order approval webhook - vatReferenceNumber
-
Type:
stringVat reference number for the organization
Nested Schema : ancestorOrganizations
Nested Schema : billingAddress
Type:
objectDefault billing address of the Organization
- address1
-
Type:
stringthe address1 of the address - address2
-
Type:
stringthe address2 of the address - city
-
Type:
stringthe city of the address - companyName
-
Type:
stringthe company name of the address - country
-
Type:
stringthe country of the address - phoneNumber
-
Type:
stringthe phone Number of the address - postalCode
-
Type:
stringthe postal Code of the address - repositoryId
-
Type:
stringRepository Id of the address - state
-
Type:
stringthe state of the address
Nested Schema : contract
Type:
objectThe contract information associated with this account
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:The catalog information - creationDate
-
Type:
stringThe date of creation - derivedDescription
-
Type:
stringDerived description of the Organization - description
-
Type:
stringThe description of contract - displayName
-
Type:
stringThe name of contract - endDate
-
Type:
stringThe end date of contract - externalContractReference
-
Type:
stringThe external contract reference of contract - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:The price list group information - repositoryId
-
Type:
stringThe repository Id of contract - startDate
-
Type:
stringThe start date of the contract - terms
-
Type:
objecttermsAdditional Properties Allowed:Terms and Conditions
Nested Schema : derivedBillingAddress
Type:
objectThe derived default billing address for the Organization. This a read only attribute. This will come if property 'isDefaultBillingAddress' is set to 'true' in secondaryAddresses attribute or if parent has default billing address.
- address1
-
Type:
stringthe address1 of the address - address2
-
Type:
stringthe address2 of the address - city
-
Type:
stringthe city of the address - companyName
-
Type:
stringthe company name of the address - country
-
Type:
stringthe country of the address - phoneNumber
-
Type:
stringthe phone Number of the address - postalCode
-
Type:
stringthe postal Code of the address - repositoryId
-
Type:
stringRepository Id of the address - state
-
Type:
stringthe state of the address
Nested Schema : derivedContract
Type:
objectDerived Contract
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
stringContract creation date time stamp - description
-
Type:
stringDescription for contract - displayName
-
Type:
stringDisplay name for contract - endDate
-
Type:
stringContract end date time stamp - externalContractReference
-
Type:
stringExternal contract reference - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:Price ListGroup associated with contract - repositoryId
-
Type:
stringRepository Id of the contract - startDate
-
Type:
stringContract start date time stamp - terms
-
Type:
objecttermsAdditional Properties Allowed:Terms and Conditions
Nested Schema : derivedShippingAddress
Type:
objectThe derived default shipping address for the Organization. This a read only attribute. This will come if property 'isDefaultShippingAddress' is set to 'true' in secondaryAddresses attribute or if parent has default shipping address.
- address1
-
Type:
stringthe address1 of the address - address2
-
Type:
stringthe address2 of the address - city
-
Type:
stringthe city of the address - companyName
-
Type:
stringthe company name shipping address - country
-
Type:
stringthe country of the address - phoneNumber
-
Type:
stringthe phone Number of the company address - postalCode
-
Type:
stringthe postal Code of the address - repositoryId
-
Type:
stringrepository Id of the address - state
-
Type:
stringthe state of the address
Nested Schema : members
Nested Schema : parentOrganization
Type:
objectParent organization Info.
- active
-
Type:
booleanActive flag of the parent Organization. - id
-
Type:
stringId of the parent Organization. - name
-
Type:
stringName of the parent organization. - repositoryId
-
Type:
stringRepository Id of the parent organization.
Nested Schema : paymentMethods
Nested Schema : relativeRoles
Nested Schema : secondaryAddresses
Nested Schema : shippingAddress
Type:
objectDefault shipping address of the Organization
- address1
-
Type:
stringthe address1 of the address - address2
-
Type:
stringthe address2 of the address - city
-
Type:
stringthe city of the address - companyName
-
Type:
stringthe company name of the address - country
-
Type:
stringthe country of the address - phoneNumber
-
Type:
stringthe phone Number of the address - postalCode
-
Type:
stringthe postal Code of the address - repositoryId
-
Type:
stringRepository Id of the address - state
-
Type:
stringthe state of the address
Nested Schema : shippingMethods
Nested Schema : siteOrganizationProperties
Nested Schema : items
Type:
object- active
-
Type:
booleanWhether the account is active - id
-
Type:
stringThe id of the account - name
-
Type:
stringThe name of the account - repositoryId
-
Type:
stringThe repository id of the account
Nested Schema : catalog
Nested Schema : priceListGroup
Type:
objectThe price list group information
- repositoryId
-
Type:
stringThe priceListGroup id
Nested Schema : terms
Nested Schema : catalog
Type:
objectCatalog associated with contract
- repositoryId
-
Type:
stringRepository Id of the catalog
Nested Schema : priceListGroup
Type:
objectPrice ListGroup associated with contract
- repositoryId
-
Type:
stringRepository Id of the price list group
Nested Schema : terms
Type:
objectTerms and Conditions
- repositoryId
-
Type:
stringRepository Id of terms and conditions - terms
-
Type:
stringTerms and Conditions
Nested Schema : items
Type:
object- repositoryId
-
Type:
stringRepository Id of contact
Nested Schema : items
Type:
object- function
-
Type:
stringThe function of the account - repositoryId
-
Type:
stringThe repository id of the account
Nested Schema : items
Type:
object- address
-
Type:
objectaddressAdditional Properties Allowed:Address created for the Organization. - addressType
-
Type:
stringAddress type represents nick name of account if present else repository ID of address item.
Nested Schema : address
Type:
objectAddress created for the Organization.
- address1
-
Type:
stringthe address1 of the address - address2
-
Type:
stringthe address2 of the address - city
-
Type:
stringthe city of the address - companyName
-
Type:
stringthe company name of the address - country
-
Type:
stringthe country of the address - phoneNumber
-
Type:
stringthe phone Number of the address - postalCode
-
Type:
stringthe postal Code of the address - repositoryId
-
Type:
stringRepository Id of the address - state
-
Type:
stringthe state of the address
Nested Schema : items
Type:
object- displayName
-
Type:
stringThe name of the shippingMethod - id
-
Type:
stringThe Id of the shipping method.
Nested Schema : items
Type:
object- properties
-
Type:
objectpropertiesAdditional Properties Allowed:The properties of the site - site
-
Type:
objectsiteAdditional Properties Allowed:The site property of the account
Nested Schema : properties
Type:
objectThe properties of the site
- approvalRequired
-
Type:
booleanWhether approval is required - contract
-
Type:
objectcontractAdditional Properties Allowed:The contract information associated with this account - delegateApprovalManagement
-
Type:
booleanWhether to delegate approval management - orderPriceLimit
-
Type:
stringOrder price limit of the account - paymentMethods
-
Type:
arraypaymentMethodsAdditional Properties Allowed:Payment methods associated for organization. - shippingMethods
-
Type:
arrayshippingMethodsAdditional Properties Allowed:Shipping methods associated for organization. - useAllPaymentMethodsFromSite
-
Type:
booleanFlag to use all the payment methods available for site. - useAllShippingMethodsFromSite
-
Type:
stringFlag to use all the shipping methods available for site. - useExternalApprovalWebhook
-
Type:
booleanWhether to trigger order approval webhook
Nested Schema : site
Nested Schema : contract
Type:
objectThe contract information associated with this account
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:The catalog information - creationDate
-
Type:
stringThe date of creation - derivedDescription
-
Type:
stringDerived description of the Organization - description
-
Type:
stringThe description of contract - displayName
-
Type:
stringThe name of contract - endDate
-
Type:
stringThe end date of contract - externalContractReference
-
Type:
stringThe external contract reference of contract - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:The price list group information - repositoryId
-
Type:
stringThe repository Id of contract - startDate
-
Type:
stringThe start date of the contract - terms
-
Type:
objecttermsAdditional Properties Allowed:Terms and Conditions
Nested Schema : paymentMethods
Nested Schema : shippingMethods
Nested Schema : catalog
Nested Schema : priceListGroup
Type:
objectThe price list group information
- repositoryId
-
Type:
stringThe priceListGroup id
Nested Schema : terms
Nested Schema : items
Type:
object- displayName
-
Type:
stringThe name of the shippingMethod - id
-
Type:
stringThe Id of the shipping method.
Response
Supported Media Types
- application/json
200 Response
No response is returned as this is an event webhook
Body
Root Schema : emptyResponse