checkOrderApprovalWebhook
post
/ccadmin/v1/webhook/checkOrderApprovalWebhook
This event will be called if approval check from webhook is enabled from admin's approval setting page.
Request
Supported Media Types
- application/json
Body Parameter
This event will be called if approval check from webhook is enabled from admin's approval setting page.
Root Schema : checkOrderApprovalWebhook_request
This event will be called if approval check from webhook is enabled from admin's approval setting page.
- request
-
Type:
objectrequestAdditional Properties Allowed:
Nested Schema : request
Type:
object- creationDate
-
Type:
stringThe order creation date. - creationTime
-
Type:
numberThe creation time of the order. - discountInfo
-
Type:
objectdiscountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:the value of the dynamic Properties - exchangeRate
-
Type:
numberexchangeRate - giftWithPurchaseInfo
-
Type:
arraygiftWithPurchaseInfoAdditional Properties Allowed: - giftWithPurchaseOrderMarkers
-
Type:
arraygiftWithPurchaseOrderMarkersAdditional Properties Allowed: - isItemPriceOverrideAllowed
-
Type:
boolean - locale
-
Type:
stringthe locale of the request/response - orderId
-
Type:
stringThe ID of the order. - orderProfileId
-
Type:
stringThe profile id on the order. - orderStatus
-
Type:
stringThe order status. - organization
-
Type:
objectorganizationAdditional Properties Allowed:The organization related property object - priceInfo
-
Type:
objectpriceInfoAdditional Properties Allowed: - pricingMessages
-
Type:
objectpricingMessagesAdditional Properties Allowed: - profile
-
Type:
objectprofileAdditional Properties Allowed: - secondaryCurrencyCode
-
Type:
stringSecondary currencyCode - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:Default shipping address of the profile - shippingGroups
-
Type:
arrayshippingGroupsAdditional Properties Allowed: - shoppingCart
-
Type:
objectshoppingCartAdditional Properties Allowed: - siteId
-
Type:
string
Nested Schema : discountInfo
Type:
objectThe discount information.
- orderCouponsMap
-
Type:
arrayorderCouponsMapAdditional Properties Allowed:The list of all the coupons with the order. - orderDiscount
-
Type:
integerThe order discount. - shippingDiscount
-
Type:
integerThe shipping discount.
Nested Schema : dynamicProperties
Nested Schema : giftWithPurchaseInfo
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : organization
Type:
objectThe organization related property object
- active
-
Type:
booleanActive status of an Organization. Should be true or false. By default the value is set to true - allApprovers
-
Type:
arrayallApproversAdditional Properties Allowed:list of all the approvers - allContracts
-
Type:
objectallContractsAdditional Properties Allowed: - allCostCenters
-
Type:
arrayallCostCentersAdditional Properties Allowed: - allCreditCards
-
Type:
objectallCreditCardsAdditional Properties Allowed: - allMembers
-
Type:
arrayallMembersAdditional Properties Allowed: - allPreferredVendors
-
Type:
arrayallPreferredVendorsAdditional Properties Allowed: - ancestorOrganizations
-
Type:
arrayancestorOrganizationsAdditional Properties Allowed:List of ancestors for the Organization - approvalRequired
-
Type:
booleanApproval flag is required for the organization, by default it is set to false - approvers
-
Type:
arrayapproversAdditional Properties Allowed: - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:The default billing address for the Organization. This a read only attribute. This will come if property 'isDefaultBillingAddress' is set to 'true' in secondaryAddresses attribute. - childOrganizations
-
Type:
arraychildOrganizationsAdditional Properties Allowed: - contacts
-
Type:
arraycontactsAdditional Properties Allowed: - contract
-
Type:
objectcontractAdditional Properties Allowed:Contract - costCenters
-
Type:
arraycostCentersAdditional Properties Allowed: - creditCards
-
Type:
objectcreditCardsAdditional Properties Allowed: - customerType
-
Type:
stringCustomer Type for Organization - delegateApprovalManagement
-
Type:
booleanThis flag indicates if the delegated admin has the provision of approval management, if set merchant admin cannot do any approval management. - derivedApprovalRequired
-
Type:
booleanApproval flag is required for the organization, by default it is set to false - derivedBillingAddress
-
Type:
objectderivedBillingAddressAdditional Properties Allowed:Default billing address of the profile - derivedContract
-
Type:
objectderivedContractAdditional Properties Allowed:Contract - derivedCustomerType
-
Type:
stringDerived customer type of the Organization - derivedDunsNumber
-
Type:
stringDerived dunsNumber of the Organization - 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. - derivedTaxReferenceNumber
-
Type:
stringDerived taxReferenceNumber of the Organization - derivedType
-
Type:
stringDerived type of the Organization - dunsNumber
-
Type:
stringDUNS Number for Organization. Should be 9 digit number - dynamicPropertyMapBigString
-
Type:
arraydynamicPropertyMapBigStringAdditional Properties Allowed: - dynamicPropertyMapDouble
-
Type:
arraydynamicPropertyMapDoubleAdditional Properties Allowed: - dynamicPropertyMapLong
-
Type:
arraydynamicPropertyMapLongAdditional Properties Allowed: - dynamicPropertyMapString
-
Type:
arraydynamicPropertyMapStringAdditional Properties Allowed: - id
-
Type:
stringId of the Organization - members
-
Type:
arraymembersAdditional Properties Allowed: - name
-
Type:
stringThe name for Organization - preferredVendors
-
Type:
arraypreferredVendorsAdditional Properties Allowed: - relativeRoles
-
Type:
arrayrelativeRolesAdditional Properties Allowed:List of organization roles. - roles
-
Type:
arrayrolesAdditional Properties Allowed: - secondaryMembers
-
Type:
arraysecondaryMembersAdditional Properties Allowed: - siteOrganizationProperties
-
Type:
objectsiteOrganizationPropertiesAdditional Properties Allowed:Site Organization Properties - taxReferenceNumber
-
Type:
stringTax Reference Number of the Organization - type
-
Type:
stringType for Organization - useExternalApprovalWebhook
-
Type:
booleanFlag to enable/disable Order Approval check from External Webhook
Nested Schema : priceInfo
Type:
object- amount
-
Type:
number - currencyCode
-
Type:
string - shipping
-
Type:
number - shippingSurchargeValue
-
Type:
number - subTotal
-
Type:
number - tax
-
Type:
number - total
-
Type:
number - totalWithoutTax
-
Type:
number
Nested Schema : pricingMessages
Type:
objectNested Schema : profile
Type:
object- abandonedOrderCount
-
Type:
integer - abandonedOrders
-
Type:
arrayabandonedOrdersAdditional Properties Allowed: - active
-
Type:
booleanthe user status of the profile. Should be true or false - activePromotions
-
Type:
arrayactivePromotionsAdditional Properties Allowed: - allApprovers
-
Type:
arrayallApproversAdditional Properties Allowed:list of all the approvers - allCostCenters
-
Type:
arrayallCostCentersAdditional Properties Allowed: - allCreditCards
-
Type:
objectallCreditCardsAdditional Properties Allowed: - allowPartialShipment
-
Type:
boolean - allPreferedVenders
-
Type:
arrayallPreferedVendersAdditional Properties Allowed: - allSecondaryAddresses
-
Type:
arrayallSecondaryAddressesAdditional Properties Allowed:List of all shipping addresses associated with profile. - ancestors
-
Type:
arrayancestorsAdditional Properties Allowed: - approvers
-
Type:
arrayapproversAdditional Properties Allowed: - businessProcessMarkers
-
Type:
arraybusinessProcessMarkersAdditional Properties Allowed: - catalog
-
Type:
stringThis is a read only attribute added for 'Account Based Commerce', this is the ID of the catalog that is associated with the organization to which this user is associated - comments
-
Type:
arraycommentsAdditional Properties Allowed: - contract
-
Type:
objectcontractAdditional Properties Allowed: - costCenters
-
Type:
arraycostCentersAdditional Properties Allowed: - creditCards
-
Type:
objectcreditCardsAdditional Properties Allowed: - currentLocation
-
Type:
string - currentOrganization
-
Type:
objectcurrentOrganizationAdditional Properties Allowed: - derivedApprovalRequired
-
Type:
booleanProfile level approval required enable/disable - derivedBillingAddress
-
Type:
objectderivedBillingAddressAdditional Properties Allowed:Default billing address of the profile - derivedCatalog
-
Type:
objectderivedCatalogAdditional Properties Allowed: - derivedPriceList
-
Type:
objectderivedPriceListAdditional Properties Allowed: - derivedPriceListGroup
-
Type:
objectderivedPriceListGroupAdditional Properties Allowed: - derivedSalePriceList
-
Type:
objectderivedSalePriceListAdditional Properties Allowed:The derived sale price list from the user's parent organization - derivedShippingAddress
-
Type:
arrayderivedShippingAddressAdditional Properties Allowed:List of shipping addresses associated with profile. - dynamicPropertyMapBigString
-
Type:
arraydynamicPropertyMapBigStringAdditional Properties Allowed: - dynamicPropertyMapDouble
-
Type:
arraydynamicPropertyMapDoubleAdditional Properties Allowed: - dynamicPropertyMapLong
-
Type:
arraydynamicPropertyMapLongAdditional Properties Allowed: - dynamicPropertyMapString
-
Type:
objectdynamicPropertyMapStringAdditional Properties Allowed: -
Type:
stringthe email address of the profile - emailStatus
-
Type:
string - expressCheckout
-
Type:
boolean - favoriteStores
-
Type:
arrayfavoriteStoresAdditional Properties Allowed: - firstName
-
Type:
stringthe first name of the profile - gender
-
Type:
string - generatedPassword
-
Type:
boolean - giftlistAddresses
-
Type:
objectgiftlistAddressesAdditional Properties Allowed: - giftlists
-
Type:
arraygiftlistsAdditional Properties Allowed: - homeAddress
-
Type:
objecthomeAddressAdditional Properties Allowed:Home address which is set on the profile - id
-
Type:
stringget the shopper profile with id - lastName
-
Type:
stringthe last name of the profile - lastPurchaseAmount
-
Type:
integer - lifetimeAOV
-
Type:
integer - lifetimeSpend
-
Type:
integer - login
-
Type:
stringlogin of the user - loyaltyPrograms
-
Type:
arrayloyaltyProgramsAdditional Properties Allowed:Loyalty Programs Information - mailings
-
Type:
arraymailingsAdditional Properties Allowed: - markers
-
Type:
arraymarkersAdditional Properties Allowed: - member
-
Type:
boolean - numberOfOrders
-
Type:
integer - otherGiftlists
-
Type:
arrayotherGiftlistsAdditional Properties Allowed: - parentOrganization
-
Type:
objectparentOrganizationAdditional Properties Allowed:This attribute is added for 'Account Based Commerce', this is required only in case of 'Account Based Commerce', this is the id of organization to which user is associated - preferredVendors
-
Type:
arraypreferredVendorsAdditional Properties Allowed: - priceList
-
Type:
objectpriceListAdditional Properties Allowed: - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:The associated price list group for this user - profileType
-
Type:
stringThis attribute is added for account based commerce, It's value is 'b2b_user' - purchaseLists
-
Type:
arraypurchaseListsAdditional Properties Allowed: - receiveEmail
-
Type:
stringthis is site specific email marketing flag. can be yes or no - registrationDate
-
Type:
string - roles
-
Type:
arrayrolesAdditional Properties Allowed:List of user roles. - salePriceList
-
Type:
objectsalePriceListAdditional Properties Allowed: - scenarioInstances
-
Type:
arrayscenarioInstancesAdditional Properties Allowed: - scenarioValues
-
Type:
objectscenarioValuesAdditional Properties Allowed: - secondaryAddresses
-
Type:
arraysecondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - secondaryOrganizations
-
Type:
arraysecondaryOrganizationsAdditional Properties Allowed:List of secondary organizations associated to profile. It will be empty always. Secondary Organizations associated to the profile can be fetched using organization endpoints - securityStatus
-
Type:
integer - sessionOrganization
-
Type:
objectsessionOrganizationAdditional Properties Allowed: - shippingAddresses
-
Type:
objectshippingAddressesAdditional Properties Allowed:Default shipping address of the profile - shippingSurchargePriceList
-
Type:
objectshippingSurchargePriceListAdditional Properties Allowed:The shipping surcharge price list for this user - siteProperties
-
Type:
objectsitePropertiesAdditional Properties Allowed: - slotInstances
-
Type:
arrayslotInstancesAdditional Properties Allowed: - taxExempt
-
Type:
booleanIndicates tax exemption status.True or False - usedPromotions
-
Type:
arrayusedPromotionsAdditional Properties Allowed: - version
-
Type:
integer - wishlist
-
Type:
objectwishlistAdditional Properties Allowed:
Nested Schema : shippingAddress
Type:
objectDefault shipping address of the profile
- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : shoppingCart
Type:
object- items
-
Type:
arrayitemsAdditional Properties Allowed: - numberOfItems
-
Type:
integer
Nested Schema : orderCouponsMap
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringThe promotion description. - promotionId
-
Type:
stringThe promotion ID. - promotionLevel
-
Type:
stringThe promotion level. - totalAdjustment
-
Type:
stringThe total adjustment.
Nested Schema : items
Type:
objectNested Schema : items
Type:
object- giftWithPurchaseDetail
-
Type:
stringString identifying the free gift, usually the repository id of the gift type. - giftWithPurchaseIdentifier
-
Type:
numberAn identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one. - giftWithPurchaseQuantityAvailableForSelection
-
Type:
numbergift quantity available for selection - giftWithPurchaseType
-
Type:
stringThe type of the gift. (sku, product) - promotionId
-
Type:
stringThe gift with purchase promotion id
Nested Schema : items
Type:
objectNested Schema : allApprovers
Nested Schema : allContracts
Type:
objectNested Schema : allCreditCards
Type:
objectNested Schema : allMembers
Nested Schema : allPreferredVendors
Nested Schema : ancestorOrganizations
Nested Schema : billingAddress
Type:
objectThe default billing address for the Organization. This a read only attribute. This will come if property 'isDefaultBillingAddress' is set to 'true' in secondaryAddresses attribute.
- 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 : childOrganizations
Nested Schema : contract
Type:
objectContract
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
stringContract creation date time stamp - description
-
Type:
stringDescription for contract - displayName
-
Type:
stringName of the 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 : creditCards
Type:
objectNested Schema : derivedBillingAddress
Type:
objectDefault billing address of the profile
- address1
-
Type:
stringthe address1 of the billing address - address2
-
Type:
stringthe address2 of the billing address - city
-
Type:
stringthe city of the billing address - country
-
Type:
stringthe country of the billing address - county
-
Type:
stringthe county of the billing address - firstName
-
Type:
stringthe first name of the billing address - lastName
-
Type:
stringthe last name of the billing address - phoneNumber
-
Type:
stringthe phone Number of the billing address - postalCode
-
Type:
stringthe postal Code of the billing address - repositoryId
-
Type:
stringthe id of the billing address - state
-
Type:
stringthe state of the billing address
Nested Schema : derivedContract
Type:
objectContract
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
stringContract creation date time stamp - description
-
Type:
stringDescription for contract - displayName
-
Type:
stringName of the 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 : dynamicPropertyMapBigString
Nested Schema : dynamicPropertyMapDouble
Nested Schema : dynamicPropertyMapLong
Nested Schema : dynamicPropertyMapString
Nested Schema : members
Nested Schema : preferredVendors
Nested Schema : relativeRoles
Nested Schema : roles
Type:
array-
Type:
string
Nested Schema : secondaryMembers
Nested Schema : siteOrganizationProperties
Type:
objectSite Organization Properties
- site
-
Type:
objectsiteAdditional Properties Allowed:Site information
Nested Schema : items
Type:
object- firstName
-
Type:
stringthe first name of the approver - lastName
-
Type:
stringthe last name of the apporver - middleName
-
Type:
stringthe middle name of the approver
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectAll member details
- firstName
-
Type:
stringthe first name of the member - lastName
-
Type:
stringthe last name of the member - middleName
-
Type:
stringthe middle name of the member
Nested Schema : items
Type:
objectNested Schema : items
Type:
object- active
-
Type:
booleanActive flag of the organization. - id
-
Type:
stringId of the organization. - name
-
Type:
stringName of the organization. - repositoryId
-
Type:
stringRepository Id of the organization.
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : catalog
Type:
objectCatalog associated with contract
- displayName
-
Type:
stringName of the catalog - id
-
Type:
stringid of the catalog - status
-
Type:
string
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:
objectNested Schema : catalog
Type:
objectCatalog associated with contract
- displayName
-
Type:
stringName of the catalog - id
-
Type:
stringid of the catalog - status
-
Type:
string
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:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectMember details
- firstName
-
Type:
stringthe first name of the member - lastName
-
Type:
stringthe last name of the member - middleName
-
Type:
stringthe middle name of the member
Nested Schema : items
Type:
objectNested Schema : items
Type:
object- function
-
Type:
stringFunction of the role which can be admin, buyer or approver. - repositoryId
-
Type:
stringRepository Id of the role.
Nested Schema : items
Type:
objectNested Schema : site
Type:
objectSite information
- approvalRequired
-
Type:
booleanApproval flag is required for the organization, by default it is set to false - contract
-
Type:
objectcontractAdditional Properties Allowed:Contract - delegateApprovalManagement
-
Type:
booleanThis flag indicates if the delegated admin has the provision of approval management, if set merchant admin cannot do any approval management. - orderPriceLimit
-
Type:
numberIts order limit value for the organization, if order limit is more than this value then approval is needed for the order - useExternalApprovalWebhook
-
Type:
booleanFlag to enable/disable Order Approval check from External Webhook
Nested Schema : contract
Type:
objectContract
- catalog
-
Type:
objectcatalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
stringContract creation date time stamp - description
-
Type:
stringDescription for contract - displayName
-
Type:
stringName of the 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 : catalog
Type:
objectCatalog associated with contract
- displayName
-
Type:
stringName of the catalog - id
-
Type:
stringid of the catalog - status
-
Type:
string
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 : activePromotions
Nested Schema : allApprovers
Nested Schema : allCreditCards
Type:
objectNested Schema : allPreferedVenders
Nested Schema : allSecondaryAddresses
Nested Schema : businessProcessMarkers
Nested Schema : comments
Type:
array-
Type:
string
Nested Schema : contract
Type:
objectNested Schema : creditCards
Type:
objectNested Schema : currentOrganization
Nested Schema : derivedBillingAddress
Type:
objectDefault billing address of the profile
- address1
-
Type:
stringthe address1 of the billing address - address2
-
Type:
stringthe address2 of the billing address - city
-
Type:
stringthe city of the billing address - country
-
Type:
stringthe country of the billing address - county
-
Type:
stringthe county of the billing address - firstName
-
Type:
stringthe first name of the billing address - lastName
-
Type:
stringthe last name of the billing address - phoneNumber
-
Type:
stringthe phone Number of the billing address - postalCode
-
Type:
stringthe postal Code of the billing address - repositoryId
-
Type:
stringthe id of the billing address - state
-
Type:
stringthe state of the billing address
Nested Schema : derivedCatalog
Type:
objectNested Schema : derivedPriceList
Type:
objectNested Schema : derivedPriceListGroup
Type:
objectNested Schema : derivedSalePriceList
Type:
objectThe derived sale price list from the user's parent organization
- repositoryId
-
Type:
stringRepository ID
Nested Schema : derivedShippingAddress
Nested Schema : dynamicPropertyMapBigString
Nested Schema : dynamicPropertyMapDouble
Nested Schema : dynamicPropertyMapLong
Nested Schema : dynamicPropertyMapString
Type:
objectNested Schema : giftlistAddresses
Type:
objectNested Schema : homeAddress
Type:
objectHome address which is set on the profile
- address1
-
Type:
stringthe address1 of the billing address - address2
-
Type:
stringthe address2 of the billing address - city
-
Type:
stringthe city of the billing address - country
-
Type:
stringthe country of the billing address - county
-
Type:
stringthe county of the billing address - firstName
-
Type:
stringthe first name of the billing address - lastName
-
Type:
stringthe last name of the billing address - phoneNumber
-
Type:
stringthe phone Number of the billing address - postalCode
-
Type:
stringthe postal Code of the billing address - repositoryId
-
Type:
stringthe id of the billing address - state
-
Type:
stringthe state of the billing address
Nested Schema : loyaltyPrograms
Nested Schema : mailings
Type:
array-
Type:
string
Nested Schema : parentOrganization
Type:
objectThis attribute is added for 'Account Based Commerce', this is required only in case of 'Account Based Commerce', this is the id of organization to which user is associated
- active
-
Type:
booleanthe status of the parent organization. Should be true or false - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:Default billing address of the organization - description
-
Type:
stringDescription of the Organization - id
-
Type:
stringthe id of the parent organization - name
-
Type:
stringthe name of the parent organization - repositoryId
-
Type:
stringthe id of the parent organization - secondaryAddresses
-
Type:
arraysecondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:Default shipping address of the organization
Nested Schema : preferredVendors
Nested Schema : priceList
Type:
objectNested Schema : priceListGroup
Type:
objectThe associated price list group for this user
- repositoryId
-
Type:
stringRepository ID
Nested Schema : roles
Nested Schema : salePriceList
Type:
objectNested Schema : scenarioInstances
Nested Schema : scenarioValues
Type:
objectNested Schema : secondaryAddresses
Nested Schema : secondaryOrganizations
Nested Schema : sessionOrganization
Nested Schema : shippingAddresses
Type:
objectDefault shipping address of the profile
- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : shippingSurchargePriceList
Type:
objectThe shipping surcharge price list for this user
- repositoryId
-
Type:
stringRepository ID
Nested Schema : siteProperties
Type:
objectNested Schema : wishlist
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- firstName
-
Type:
stringthe first name of the approver - lastName
-
Type:
stringthe last name of the apporver - middleName
-
Type:
stringthe middle name of the approver
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
object- id
-
Type:
stringget the ancestor's organization id
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- id
-
Type:
stringget the current organization id
Nested Schema : items
Type:
object- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- membershipId
-
Type:
stringmembershipId of the profile. - programId
-
Type:
stringprogramId of Loyalty Program - programName
-
Type:
stringprogramName of Loyalty Program - repositoryId
-
Type:
stringrepository Id - status
-
Type:
stringstatus of Enrollment.
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : billingAddress
Type:
objectDefault billing address of the organization
- address1
-
Type:
stringthe address1 of the billing address - address2
-
Type:
stringthe address2 of the billing address - city
-
Type:
stringthe city of the billing address - country
-
Type:
stringthe country of the billing address - county
-
Type:
stringthe county of the billing address - firstName
-
Type:
stringthe first name of the billing address - lastName
-
Type:
stringthe last name of the billing address - phoneNumber
-
Type:
stringthe phone Number of the billing address - postalCode
-
Type:
stringthe postal Code of the billing address - repositoryId
-
Type:
stringthe id of the billing address - state
-
Type:
stringthe state of the billing address
Nested Schema : secondaryAddresses
Nested Schema : shippingAddress
Type:
objectDefault shipping address of the organization
- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
object- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- function
-
Type:
stringFunction of the role which can be admin or buyer. - relativeTo
-
Type:
objectrelativeToAdditional Properties Allowed:organization ID of the role - repositoryId
-
Type:
stringRepository id of the role.
Nested Schema : relativeTo
Type:
objectorganization ID of the role
- id
-
Type:
stringOrganization ID of the role to be assigned
Nested Schema : items
Type:
objectNested Schema : items
Type:
object- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
object- active
-
Type:
booleanthe status of the organization. Should be true or false - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:Default billing address of the profile - description
-
Type:
stringDescription of the organization - name
-
Type:
stringthe name of the organization - repositoryId
-
Type:
stringRepository ID - secondaryAddresses
-
Type:
arraysecondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:Default shipping address of the profile
Nested Schema : billingAddress
Type:
objectDefault billing address of the profile
- address1
-
Type:
stringthe address1 of the billing address - address2
-
Type:
stringthe address2 of the billing address - city
-
Type:
stringthe city of the billing address - country
-
Type:
stringthe country of the billing address - county
-
Type:
stringthe county of the billing address - firstName
-
Type:
stringthe first name of the billing address - lastName
-
Type:
stringthe last name of the billing address - phoneNumber
-
Type:
stringthe phone Number of the billing address - postalCode
-
Type:
stringthe postal Code of the billing address - repositoryId
-
Type:
stringthe id of the billing address - state
-
Type:
stringthe state of the billing address
Nested Schema : secondaryAddresses
Nested Schema : shippingAddress
Type:
objectDefault shipping address of the profile
- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
object- address1
-
Type:
stringthe address1 of the shipping address - address2
-
Type:
stringthe address2 of the shipping address - city
-
Type:
stringthe city of the shipping address - country
-
Type:
stringthe country of the shipping address - county
-
Type:
stringthe county of the shipping address - firstName
-
Type:
stringthe first name of the shipping address - lastName
-
Type:
stringthe last name of the shipping address - phoneNumber
-
Type:
stringthe phone Number of the shipping address - postalCode
-
Type:
stringthe postal Code of the shipping address - repositoryId
-
Type:
stringthe id of the shipping address - state
-
Type:
stringthe state of the shipping address
Nested Schema : items
Type:
object- id
-
Type:
stringget the organization id
Nested Schema : items
Type:
objectNested Schema : items
Type:
objectNested Schema : items
Type:
object- discountInfo
-
Type:
arraydiscountInfoAdditional Properties Allowed:The discount information. - items
-
Type:
arrayitemsAdditional Properties Allowed: - priceInfo
-
Type:
objectpriceInfoAdditional Properties Allowed:The price information. - recurringChargePriceInfo
-
Type:
string - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:The shipping method details for the order. - taxPriceInfo
-
Type:
objecttaxPriceInfoAdditional Properties Allowed:The shipping address details.
Nested Schema : discountInfo
Nested Schema : priceInfo
Type:
objectThe price information.
- amount
-
Type:
numberThe total order amount. - currencyCode
-
Type:
stringThe currency code. - shipping
-
Type:
numberThe total shipping cost. - shippingSurchargeValue
-
Type:
numberExtra handling costs for shipping the products - subTotal
-
Type:
numberSub-total. - tax
-
Type:
numberThe total tax amount. - total
-
Type:
numberThe order total. - totalWithoutTax
-
Type:
numberThe total amount without tax.
Nested Schema : shippingMethod
Type:
objectThe shipping method details for the order.
- cost
-
Type:
numberThe total cost of shipping. - secondaryCurrencyTaxAmount
-
Type:
numbertax amount in secondaryCurrency - shippingMethodDescription
-
Type:
string - shippingTax
-
Type:
number - taxCode
-
Type:
string - value
-
Type:
stringThe shipping method applied to the order.
Nested Schema : taxPriceInfo
Type:
objectThe shipping address details.
- amount
-
Type:
numberThe total order amount. - cityTax
-
Type:
numberCity Tax - countryTax
-
Type:
numberCountry Tax. - countyTax
-
Type:
numberCounty Tax. - districtTax
-
Type:
numberDistrict Tax. - isTaxIncluded
-
Type:
booleanIf Tax is included? - miscTax
-
Type:
numberMisc Tax. - secondaryCurrencyTaxAmount
-
Type:
numbertaxAmount in secondaryCurrency - stateTax
-
Type:
numberState Tax. - valueAddedTax
-
Type:
numberValue Added Tax.
Nested Schema : items
Type:
objectNested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator. - amount
-
Type:
numberThe monetary amount. - availabilityDate
-
Type:
string(date-time)The availability date for preOrdered/backOrdered quantity. - backOrderQuantity
-
Type:
integerThe back ordered quantity included. - catRefId
-
Type:
stringThe catalog ref id. - commerceId
-
Type:
string - commerceItemId
-
Type:
stringThe referenced commerce item's internal ID. - detailedItemPriceInfo
-
Type:
arraydetailedItemPriceInfoAdditional Properties Allowed: - discountAmount
-
Type:
numberThe discount amount. - discountInfo
-
Type:
objectdiscountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:the value of the dynamic Properties - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a third party system. - listPrice
-
Type:
numberThe list price. - onSale
-
Type:
numberIs item on sale. - preOrderQuantity
-
Type:
integerThe pre ordered quantity included. - price
-
Type:
numberThe price. - productId
-
Type:
stringThe ID of the product. - quantity
-
Type:
numberThe quantity. - rawTotalPrice
-
Type:
numberThe raw total price. - returnedQuantity
-
Type:
numberThe returned quantity. - salePrice
-
Type:
numberThe sale price. - shippingSurchargeValue
-
Type:
numberExtra handling cost for shipping the product. - stateDetailsAsUser
-
Type:
stringstate details. - status
-
Type:
stringstatus. - unitPrice
-
Type:
numberThe unit price.
Nested Schema : detailedItemPriceInfo
Nested Schema : discountInfo
Type:
objectThe discount information.
- orderDiscount
-
Type:
integerThe discount. - shippingDiscount
-
Type:
integerThe shipping discount.
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : items
Type:
object- amount
-
Type:
number - currencyCode
-
Type:
string - detailedUnitPrice
-
Type:
number - discounted
-
Type:
boolean - orderDiscountShare
-
Type:
integer - quantity
-
Type:
integer - tax
-
Type:
number
Nested Schema : items
Type:
objectNested Schema : items
- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the third party system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The map values associated with an externalData item.
Nested Schema : values
Type:
objectThe map values associated with an externalData item.
- key
-
Type:
stringMap key defined by external system. - value
-
Type:
stringMap value defined by external system.
Nested Schema : items
Type:
object- catRefId
-
Type:
string - configuratorId
-
Type:
string - description
-
Type:
string - detailedItemPriceInfo
-
Type:
arraydetailedItemPriceInfoAdditional Properties Allowed: - discountAmount
-
Type:
number - discountInfo
-
Type:
arraydiscountInfoAdditional Properties Allowed:The discount information. - displayName
-
Type:
string - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:List of dynamic properties at line item level. - externalPrice
-
Type:
number - externalPriceQuantity
-
Type:
integer - id
-
Type:
string - isItemValid
-
Type:
boolean - listPrice
-
Type:
number - onSale
-
Type:
boolean - price
-
Type:
number - primaryThumbImageURL
-
Type:
string - productId
-
Type:
string - quantity
-
Type:
integer - rawTotalPrice
-
Type:
number - salePrice
-
Type:
number - shippingSurchargeValue
-
Type:
integer - unitPrice
-
Type:
number - variant
-
Type:
arrayvariantAdditional Properties Allowed:List of variants for the product.
Nested Schema : detailedItemPriceInfo
Nested Schema : discountInfo
Nested Schema : dynamicProperties
Nested Schema : variant
Nested Schema : items
Type:
object- amount
-
Type:
number - currencyCode
-
Type:
string - detailedUnitPrice
-
Type:
number - discounted
-
Type:
boolean - orderDiscountShare
-
Type:
integer - quantity
-
Type:
integer - secondaryCurrencyTaxAmount
-
Type:
numbertax amount in secondaryCurrency - tax
-
Type:
number
Nested Schema : items
Type:
object- coupon
-
Type:
stringThe coupon ID. - promotionDesc
-
Type:
stringThe promotion description. - promotionId
-
Type:
stringThe promotion ID.
Nested Schema : items
Type:
object- id
-
Type:
stringThe dynamic property id. - label
-
Type:
stringThe dynamic property label. - value
-
Type:
stringThe dynamic property value.
Nested Schema : items
Type:
object- optionName
-
Type:
stringThe variant option name. - optionValue
-
Type:
stringThe variant option value.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : checkOrderApprovalWebhook_response
- approvalAction
-
Type:
booleanThis flag will determine if Order has to be moved to pending approval state. - approvalActionReason
-
Type:
stringThe reason for which the Order has beeen moved to pending approval state. - error
-
Type:
objecterrorAdditional Properties Allowed:
Nested Schema : error
Type:
object- code
-
Type:
string - message
-
Type:
string