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:
object
requestAdditional Properties Allowed:
Nested Schema : request
Type:
object
- creationDate
-
Type:
string
The order creation date. - creationTime
-
Type:
number
The creation time of the order. - discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
array
dynamicPropertiesAdditional Properties Allowed:the value of the dynamic Properties - exchangeRate
-
Type:
number
exchangeRate - giftWithPurchaseInfo
-
Type:
array
giftWithPurchaseInfoAdditional Properties Allowed: - giftWithPurchaseOrderMarkers
-
Type:
array
giftWithPurchaseOrderMarkersAdditional Properties Allowed: - isItemPriceOverrideAllowed
-
Type:
boolean
- locale
-
Type:
string
the locale of the request/response - orderId
-
Type:
string
The ID of the order. - orderProfileId
-
Type:
string
The profile id on the order. - orderStatus
-
Type:
string
The order status. - organization
-
Type:
object
organizationAdditional Properties Allowed:The organization related property object - priceInfo
-
Type:
object
priceInfoAdditional Properties Allowed: - pricingMessages
-
Type:
object
pricingMessagesAdditional Properties Allowed: - profile
-
Type:
object
profileAdditional Properties Allowed: - secondaryCurrencyCode
-
Type:
string
Secondary currencyCode - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:Default shipping address of the profile - shippingGroups
-
Type:
array
shippingGroupsAdditional Properties Allowed: - shoppingCart
-
Type:
object
shoppingCartAdditional Properties Allowed: - siteId
-
Type:
string
Nested Schema : discountInfo
Type:
object
The discount information.
- orderCouponsMap
-
Type:
array
orderCouponsMapAdditional Properties Allowed:The list of all the coupons with the order. - orderDiscount
-
Type:
integer
The order discount. - shippingDiscount
-
Type:
integer
The shipping discount.
Nested Schema : dynamicProperties
Nested Schema : giftWithPurchaseInfo
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : organization
Type:
object
The organization related property object
- active
-
Type:
boolean
Active status of an Organization. Should be true or false. By default the value is set to true - allApprovers
-
Type:
array
allApproversAdditional Properties Allowed:list of all the approvers - allContracts
-
Type:
object
allContractsAdditional Properties Allowed: - allCostCenters
-
Type:
array
allCostCentersAdditional Properties Allowed: - allCreditCards
-
Type:
object
allCreditCardsAdditional Properties Allowed: - allMembers
-
Type:
array
allMembersAdditional Properties Allowed: - allPreferredVendors
-
Type:
array
allPreferredVendorsAdditional Properties Allowed: - ancestorOrganizations
-
Type:
array
ancestorOrganizationsAdditional Properties Allowed:List of ancestors for the Organization - approvalRequired
-
Type:
boolean
Approval flag is required for the organization, by default it is set to false - approvers
-
Type:
array
approversAdditional Properties Allowed: - billingAddress
-
Type:
object
billingAddressAdditional 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:
array
childOrganizationsAdditional Properties Allowed: - contacts
-
Type:
array
contactsAdditional Properties Allowed: - contract
-
Type:
object
contractAdditional Properties Allowed:Contract - costCenters
-
Type:
array
costCentersAdditional Properties Allowed: - creditCards
-
Type:
object
creditCardsAdditional Properties Allowed: - customerType
-
Type:
string
Customer Type for Organization - delegateApprovalManagement
-
Type:
boolean
This flag indicates if the delegated admin has the provision of approval management, if set merchant admin cannot do any approval management. - derivedApprovalRequired
-
Type:
boolean
Approval flag is required for the organization, by default it is set to false - derivedBillingAddress
-
Type:
object
derivedBillingAddressAdditional Properties Allowed:Default billing address of the profile - derivedContract
-
Type:
object
derivedContractAdditional Properties Allowed:Contract - derivedCustomerType
-
Type:
string
Derived customer type of the Organization - derivedDunsNumber
-
Type:
string
Derived dunsNumber of the Organization - derivedShippingAddress
-
Type:
object
derivedShippingAddressAdditional 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:
string
Derived taxReferenceNumber of the Organization - derivedType
-
Type:
string
Derived type of the Organization - dunsNumber
-
Type:
string
DUNS Number for Organization. Should be 9 digit number - dynamicPropertyMapBigString
-
Type:
array
dynamicPropertyMapBigStringAdditional Properties Allowed: - dynamicPropertyMapDouble
-
Type:
array
dynamicPropertyMapDoubleAdditional Properties Allowed: - dynamicPropertyMapLong
-
Type:
array
dynamicPropertyMapLongAdditional Properties Allowed: - dynamicPropertyMapString
-
Type:
array
dynamicPropertyMapStringAdditional Properties Allowed: - id
-
Type:
string
Id of the Organization - members
-
Type:
array
membersAdditional Properties Allowed: - name
-
Type:
string
The name for Organization - preferredVendors
-
Type:
array
preferredVendorsAdditional Properties Allowed: - relativeRoles
-
Type:
array
relativeRolesAdditional Properties Allowed:List of organization roles. - roles
-
Type:
array
rolesAdditional Properties Allowed: - secondaryMembers
-
Type:
array
secondaryMembersAdditional Properties Allowed: - siteOrganizationProperties
-
Type:
object
siteOrganizationPropertiesAdditional Properties Allowed:Site Organization Properties - taxReferenceNumber
-
Type:
string
Tax Reference Number of the Organization - type
-
Type:
string
Type for Organization - useExternalApprovalWebhook
-
Type:
boolean
Flag 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:
object
Nested Schema : profile
Type:
object
- abandonedOrderCount
-
Type:
integer
- abandonedOrders
-
Type:
array
abandonedOrdersAdditional Properties Allowed: - active
-
Type:
boolean
the user status of the profile. Should be true or false - activePromotions
-
Type:
array
activePromotionsAdditional Properties Allowed: - allApprovers
-
Type:
array
allApproversAdditional Properties Allowed:list of all the approvers - allCostCenters
-
Type:
array
allCostCentersAdditional Properties Allowed: - allCreditCards
-
Type:
object
allCreditCardsAdditional Properties Allowed: - allowPartialShipment
-
Type:
boolean
- allPreferedVenders
-
Type:
array
allPreferedVendersAdditional Properties Allowed: - allSecondaryAddresses
-
Type:
array
allSecondaryAddressesAdditional Properties Allowed:List of all shipping addresses associated with profile. - ancestors
-
Type:
array
ancestorsAdditional Properties Allowed: - approvers
-
Type:
array
approversAdditional Properties Allowed: - businessProcessMarkers
-
Type:
array
businessProcessMarkersAdditional Properties Allowed: - catalog
-
Type:
string
This 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:
array
commentsAdditional Properties Allowed: - contract
-
Type:
object
contractAdditional Properties Allowed: - costCenters
-
Type:
array
costCentersAdditional Properties Allowed: - creditCards
-
Type:
object
creditCardsAdditional Properties Allowed: - currentLocation
-
Type:
string
- currentOrganization
-
Type:
object
currentOrganizationAdditional Properties Allowed: - derivedApprovalRequired
-
Type:
boolean
Profile level approval required enable/disable - derivedBillingAddress
-
Type:
object
derivedBillingAddressAdditional Properties Allowed:Default billing address of the profile - derivedCatalog
-
Type:
object
derivedCatalogAdditional Properties Allowed: - derivedPriceList
-
Type:
object
derivedPriceListAdditional Properties Allowed: - derivedPriceListGroup
-
Type:
object
derivedPriceListGroupAdditional Properties Allowed: - derivedSalePriceList
-
Type:
object
derivedSalePriceListAdditional Properties Allowed:The derived sale price list from the user's parent organization - derivedShippingAddress
-
Type:
array
derivedShippingAddressAdditional Properties Allowed:List of shipping addresses associated with profile. - dynamicPropertyMapBigString
-
Type:
array
dynamicPropertyMapBigStringAdditional Properties Allowed: - dynamicPropertyMapDouble
-
Type:
array
dynamicPropertyMapDoubleAdditional Properties Allowed: - dynamicPropertyMapLong
-
Type:
array
dynamicPropertyMapLongAdditional Properties Allowed: - dynamicPropertyMapString
-
Type:
object
dynamicPropertyMapStringAdditional Properties Allowed: -
Type:
string
the email address of the profile - emailStatus
-
Type:
string
- expressCheckout
-
Type:
boolean
- favoriteStores
-
Type:
array
favoriteStoresAdditional Properties Allowed: - firstName
-
Type:
string
the first name of the profile - gender
-
Type:
string
- generatedPassword
-
Type:
boolean
- giftlistAddresses
-
Type:
object
giftlistAddressesAdditional Properties Allowed: - giftlists
-
Type:
array
giftlistsAdditional Properties Allowed: - homeAddress
-
Type:
object
homeAddressAdditional Properties Allowed:Home address which is set on the profile - id
-
Type:
string
get the shopper profile with id - lastName
-
Type:
string
the last name of the profile - lastPurchaseAmount
-
Type:
integer
- lifetimeAOV
-
Type:
integer
- lifetimeSpend
-
Type:
integer
- login
-
Type:
string
login of the user - loyaltyPrograms
-
Type:
array
loyaltyProgramsAdditional Properties Allowed:Loyalty Programs Information - mailings
-
Type:
array
mailingsAdditional Properties Allowed: - markers
-
Type:
array
markersAdditional Properties Allowed: - member
-
Type:
boolean
- numberOfOrders
-
Type:
integer
- otherGiftlists
-
Type:
array
otherGiftlistsAdditional Properties Allowed: - parentOrganization
-
Type:
object
parentOrganizationAdditional 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:
array
preferredVendorsAdditional Properties Allowed: - priceList
-
Type:
object
priceListAdditional Properties Allowed: - priceListGroup
-
Type:
object
priceListGroupAdditional Properties Allowed:The associated price list group for this user - profileType
-
Type:
string
This attribute is added for account based commerce, It's value is 'b2b_user' - purchaseLists
-
Type:
array
purchaseListsAdditional Properties Allowed: - receiveEmail
-
Type:
string
this is site specific email marketing flag. can be yes or no - registrationDate
-
Type:
string
- roles
-
Type:
array
rolesAdditional Properties Allowed:List of user roles. - salePriceList
-
Type:
object
salePriceListAdditional Properties Allowed: - scenarioInstances
-
Type:
array
scenarioInstancesAdditional Properties Allowed: - scenarioValues
-
Type:
object
scenarioValuesAdditional Properties Allowed: - secondaryAddresses
-
Type:
array
secondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - secondaryOrganizations
-
Type:
array
secondaryOrganizationsAdditional 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:
object
sessionOrganizationAdditional Properties Allowed: - shippingAddresses
-
Type:
object
shippingAddressesAdditional Properties Allowed:Default shipping address of the profile - shippingSurchargePriceList
-
Type:
object
shippingSurchargePriceListAdditional Properties Allowed:The shipping surcharge price list for this user - siteProperties
-
Type:
object
sitePropertiesAdditional Properties Allowed: - slotInstances
-
Type:
array
slotInstancesAdditional Properties Allowed: - taxExempt
-
Type:
boolean
Indicates tax exemption status.True or False - usedPromotions
-
Type:
array
usedPromotionsAdditional Properties Allowed: - version
-
Type:
integer
- wishlist
-
Type:
object
wishlistAdditional Properties Allowed:
Nested Schema : shippingAddress
Type:
object
Default shipping address of the profile
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : shoppingCart
Type:
object
- items
-
Type:
array
itemsAdditional Properties Allowed: - numberOfItems
-
Type:
integer
Nested Schema : orderCouponsMap
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
The promotion description. - promotionId
-
Type:
string
The promotion ID. - promotionLevel
-
Type:
string
The promotion level. - totalAdjustment
-
Type:
string
The total adjustment.
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- giftWithPurchaseDetail
-
Type:
string
String identifying the free gift, usually the repository id of the gift type. - giftWithPurchaseIdentifier
-
Type:
number
An 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:
number
gift quantity available for selection - giftWithPurchaseType
-
Type:
string
The type of the gift. (sku, product) - promotionId
-
Type:
string
The gift with purchase promotion id
Nested Schema : items
Type:
object
Nested Schema : allApprovers
Nested Schema : allContracts
Type:
object
Nested Schema : allCreditCards
Type:
object
Nested Schema : allMembers
Nested Schema : allPreferredVendors
Nested Schema : ancestorOrganizations
Nested Schema : billingAddress
Type:
object
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.
- address1
-
Type:
string
the address1 of the address - address2
-
Type:
string
the address2 of the address - city
-
Type:
string
the city of the address - companyName
-
Type:
string
the company name of the address - country
-
Type:
string
the country of the address - phoneNumber
-
Type:
string
the phone Number of the address - postalCode
-
Type:
string
the postal Code of the address - repositoryId
-
Type:
string
Repository Id of the address - state
-
Type:
string
the state of the address
Nested Schema : childOrganizations
Nested Schema : contract
Type:
object
Contract
- catalog
-
Type:
object
catalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
string
Contract creation date time stamp - description
-
Type:
string
Description for contract - displayName
-
Type:
string
Name of the contract - endDate
-
Type:
string
Contract end date time stamp - externalContractReference
-
Type:
string
External contract reference - priceListGroup
-
Type:
object
priceListGroupAdditional Properties Allowed:Price ListGroup associated with contract - repositoryId
-
Type:
string
Repository Id of the contract - startDate
-
Type:
string
Contract start date time stamp - terms
-
Type:
object
termsAdditional Properties Allowed:Terms and Conditions
Nested Schema : creditCards
Type:
object
Nested Schema : derivedBillingAddress
Type:
object
Default billing address of the profile
- address1
-
Type:
string
the address1 of the billing address - address2
-
Type:
string
the address2 of the billing address - city
-
Type:
string
the city of the billing address - country
-
Type:
string
the country of the billing address - county
-
Type:
string
the county of the billing address - firstName
-
Type:
string
the first name of the billing address - lastName
-
Type:
string
the last name of the billing address - phoneNumber
-
Type:
string
the phone Number of the billing address - postalCode
-
Type:
string
the postal Code of the billing address - repositoryId
-
Type:
string
the id of the billing address - state
-
Type:
string
the state of the billing address
Nested Schema : derivedContract
Type:
object
Contract
- catalog
-
Type:
object
catalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
string
Contract creation date time stamp - description
-
Type:
string
Description for contract - displayName
-
Type:
string
Name of the contract - endDate
-
Type:
string
Contract end date time stamp - externalContractReference
-
Type:
string
External contract reference - priceListGroup
-
Type:
object
priceListGroupAdditional Properties Allowed:Price ListGroup associated with contract - repositoryId
-
Type:
string
Repository Id of the contract - startDate
-
Type:
string
Contract start date time stamp - terms
-
Type:
object
termsAdditional Properties Allowed:Terms and Conditions
Nested Schema : derivedShippingAddress
Type:
object
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.
- address1
-
Type:
string
the address1 of the address - address2
-
Type:
string
the address2 of the address - city
-
Type:
string
the city of the address - companyName
-
Type:
string
the company name shipping address - country
-
Type:
string
the country of the address - phoneNumber
-
Type:
string
the phone Number of the company address - postalCode
-
Type:
string
the postal Code of the address - repositoryId
-
Type:
string
Repository Id of the address - state
-
Type:
string
the 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:
object
Site Organization Properties
- site
-
Type:
object
siteAdditional Properties Allowed:Site information
Nested Schema : items
Type:
object
- firstName
-
Type:
string
the first name of the approver - lastName
-
Type:
string
the last name of the apporver - middleName
-
Type:
string
the middle name of the approver
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
All member details
- firstName
-
Type:
string
the first name of the member - lastName
-
Type:
string
the last name of the member - middleName
-
Type:
string
the middle name of the member
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- active
-
Type:
boolean
Active flag of the organization. - id
-
Type:
string
Id of the organization. - name
-
Type:
string
Name of the organization. - repositoryId
-
Type:
string
Repository Id of the organization.
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : catalog
Type:
object
Catalog associated with contract
- displayName
-
Type:
string
Name of the catalog - id
-
Type:
string
id of the catalog - status
-
Type:
string
Nested Schema : priceListGroup
Type:
object
Price ListGroup associated with contract
- repositoryId
-
Type:
string
Repository Id of the price list group
Nested Schema : terms
Type:
object
Terms and Conditions
- repositoryId
-
Type:
string
Repository Id of terms and conditions - terms
-
Type:
string
Terms and Conditions
Nested Schema : items
Type:
object
Nested Schema : catalog
Type:
object
Catalog associated with contract
- displayName
-
Type:
string
Name of the catalog - id
-
Type:
string
id of the catalog - status
-
Type:
string
Nested Schema : priceListGroup
Type:
object
Price ListGroup associated with contract
- repositoryId
-
Type:
string
Repository Id of the price list group
Nested Schema : terms
Type:
object
Terms and Conditions
- repositoryId
-
Type:
string
Repository Id of terms and conditions - terms
-
Type:
string
Terms and Conditions
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Member details
- firstName
-
Type:
string
the first name of the member - lastName
-
Type:
string
the last name of the member - middleName
-
Type:
string
the middle name of the member
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- function
-
Type:
string
Function of the role which can be admin, buyer or approver. - repositoryId
-
Type:
string
Repository Id of the role.
Nested Schema : items
Type:
object
Nested Schema : site
Type:
object
Site information
- approvalRequired
-
Type:
boolean
Approval flag is required for the organization, by default it is set to false - contract
-
Type:
object
contractAdditional Properties Allowed:Contract - delegateApprovalManagement
-
Type:
boolean
This flag indicates if the delegated admin has the provision of approval management, if set merchant admin cannot do any approval management. - orderPriceLimit
-
Type:
number
Its order limit value for the organization, if order limit is more than this value then approval is needed for the order - useExternalApprovalWebhook
-
Type:
boolean
Flag to enable/disable Order Approval check from External Webhook
Nested Schema : contract
Type:
object
Contract
- catalog
-
Type:
object
catalogAdditional Properties Allowed:Catalog associated with contract - creationDate
-
Type:
string
Contract creation date time stamp - description
-
Type:
string
Description for contract - displayName
-
Type:
string
Name of the contract - endDate
-
Type:
string
Contract end date time stamp - externalContractReference
-
Type:
string
External contract reference - priceListGroup
-
Type:
object
priceListGroupAdditional Properties Allowed:Price ListGroup associated with contract - repositoryId
-
Type:
string
Repository Id of the contract - startDate
-
Type:
string
Contract start date time stamp - terms
-
Type:
object
termsAdditional Properties Allowed:Terms and Conditions
Nested Schema : catalog
Type:
object
Catalog associated with contract
- displayName
-
Type:
string
Name of the catalog - id
-
Type:
string
id of the catalog - status
-
Type:
string
Nested Schema : priceListGroup
Type:
object
Price ListGroup associated with contract
- repositoryId
-
Type:
string
Repository Id of the price list group
Nested Schema : terms
Type:
object
Terms and Conditions
- repositoryId
-
Type:
string
Repository Id of terms and conditions - terms
-
Type:
string
Terms and Conditions
Nested Schema : activePromotions
Nested Schema : allApprovers
Nested Schema : allCreditCards
Type:
object
Nested Schema : allPreferedVenders
Nested Schema : allSecondaryAddresses
Nested Schema : businessProcessMarkers
Nested Schema : comments
Type:
array
-
Type:
string
Nested Schema : contract
Type:
object
Nested Schema : creditCards
Type:
object
Nested Schema : currentOrganization
Nested Schema : derivedBillingAddress
Type:
object
Default billing address of the profile
- address1
-
Type:
string
the address1 of the billing address - address2
-
Type:
string
the address2 of the billing address - city
-
Type:
string
the city of the billing address - country
-
Type:
string
the country of the billing address - county
-
Type:
string
the county of the billing address - firstName
-
Type:
string
the first name of the billing address - lastName
-
Type:
string
the last name of the billing address - phoneNumber
-
Type:
string
the phone Number of the billing address - postalCode
-
Type:
string
the postal Code of the billing address - repositoryId
-
Type:
string
the id of the billing address - state
-
Type:
string
the state of the billing address
Nested Schema : derivedCatalog
Type:
object
Nested Schema : derivedPriceList
Type:
object
Nested Schema : derivedPriceListGroup
Type:
object
Nested Schema : derivedSalePriceList
Type:
object
The derived sale price list from the user's parent organization
- repositoryId
-
Type:
string
Repository ID
Nested Schema : derivedShippingAddress
Nested Schema : dynamicPropertyMapBigString
Nested Schema : dynamicPropertyMapDouble
Nested Schema : dynamicPropertyMapLong
Nested Schema : dynamicPropertyMapString
Type:
object
Nested Schema : giftlistAddresses
Type:
object
Nested Schema : homeAddress
Type:
object
Home address which is set on the profile
- address1
-
Type:
string
the address1 of the billing address - address2
-
Type:
string
the address2 of the billing address - city
-
Type:
string
the city of the billing address - country
-
Type:
string
the country of the billing address - county
-
Type:
string
the county of the billing address - firstName
-
Type:
string
the first name of the billing address - lastName
-
Type:
string
the last name of the billing address - phoneNumber
-
Type:
string
the phone Number of the billing address - postalCode
-
Type:
string
the postal Code of the billing address - repositoryId
-
Type:
string
the id of the billing address - state
-
Type:
string
the state of the billing address
Nested Schema : loyaltyPrograms
Nested Schema : mailings
Type:
array
-
Type:
string
Nested Schema : parentOrganization
Type:
object
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
- active
-
Type:
boolean
the status of the parent organization. Should be true or false - billingAddress
-
Type:
object
billingAddressAdditional Properties Allowed:Default billing address of the organization - description
-
Type:
string
Description of the Organization - id
-
Type:
string
the id of the parent organization - name
-
Type:
string
the name of the parent organization - repositoryId
-
Type:
string
the id of the parent organization - secondaryAddresses
-
Type:
array
secondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:Default shipping address of the organization
Nested Schema : preferredVendors
Nested Schema : priceList
Type:
object
Nested Schema : priceListGroup
Type:
object
The associated price list group for this user
- repositoryId
-
Type:
string
Repository ID
Nested Schema : roles
Nested Schema : salePriceList
Type:
object
Nested Schema : scenarioInstances
Nested Schema : scenarioValues
Type:
object
Nested Schema : secondaryAddresses
Nested Schema : secondaryOrganizations
Nested Schema : sessionOrganization
Nested Schema : shippingAddresses
Type:
object
Default shipping address of the profile
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : shippingSurchargePriceList
Type:
object
The shipping surcharge price list for this user
- repositoryId
-
Type:
string
Repository ID
Nested Schema : siteProperties
Type:
object
Nested Schema : wishlist
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- firstName
-
Type:
string
the first name of the approver - lastName
-
Type:
string
the last name of the apporver - middleName
-
Type:
string
the middle name of the approver
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
- id
-
Type:
string
get the ancestor's organization id
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- id
-
Type:
string
get the current organization id
Nested Schema : items
Type:
object
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- membershipId
-
Type:
string
membershipId of the profile. - programId
-
Type:
string
programId of Loyalty Program - programName
-
Type:
string
programName of Loyalty Program - repositoryId
-
Type:
string
repository Id - status
-
Type:
string
status of Enrollment.
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : billingAddress
Type:
object
Default billing address of the organization
- address1
-
Type:
string
the address1 of the billing address - address2
-
Type:
string
the address2 of the billing address - city
-
Type:
string
the city of the billing address - country
-
Type:
string
the country of the billing address - county
-
Type:
string
the county of the billing address - firstName
-
Type:
string
the first name of the billing address - lastName
-
Type:
string
the last name of the billing address - phoneNumber
-
Type:
string
the phone Number of the billing address - postalCode
-
Type:
string
the postal Code of the billing address - repositoryId
-
Type:
string
the id of the billing address - state
-
Type:
string
the state of the billing address
Nested Schema : secondaryAddresses
Nested Schema : shippingAddress
Type:
object
Default shipping address of the organization
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- function
-
Type:
string
Function of the role which can be admin or buyer. - relativeTo
-
Type:
object
relativeToAdditional Properties Allowed:organization ID of the role - repositoryId
-
Type:
string
Repository id of the role.
Nested Schema : relativeTo
Type:
object
organization ID of the role
- id
-
Type:
string
Organization ID of the role to be assigned
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
- active
-
Type:
boolean
the status of the organization. Should be true or false - billingAddress
-
Type:
object
billingAddressAdditional Properties Allowed:Default billing address of the profile - description
-
Type:
string
Description of the organization - name
-
Type:
string
the name of the organization - repositoryId
-
Type:
string
Repository ID - secondaryAddresses
-
Type:
array
secondaryAddressesAdditional Properties Allowed:List of shipping addresses associated with profile. - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:Default shipping address of the profile
Nested Schema : billingAddress
Type:
object
Default billing address of the profile
- address1
-
Type:
string
the address1 of the billing address - address2
-
Type:
string
the address2 of the billing address - city
-
Type:
string
the city of the billing address - country
-
Type:
string
the country of the billing address - county
-
Type:
string
the county of the billing address - firstName
-
Type:
string
the first name of the billing address - lastName
-
Type:
string
the last name of the billing address - phoneNumber
-
Type:
string
the phone Number of the billing address - postalCode
-
Type:
string
the postal Code of the billing address - repositoryId
-
Type:
string
the id of the billing address - state
-
Type:
string
the state of the billing address
Nested Schema : secondaryAddresses
Nested Schema : shippingAddress
Type:
object
Default shipping address of the profile
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
- address1
-
Type:
string
the address1 of the shipping address - address2
-
Type:
string
the address2 of the shipping address - city
-
Type:
string
the city of the shipping address - country
-
Type:
string
the country of the shipping address - county
-
Type:
string
the county of the shipping address - firstName
-
Type:
string
the first name of the shipping address - lastName
-
Type:
string
the last name of the shipping address - phoneNumber
-
Type:
string
the phone Number of the shipping address - postalCode
-
Type:
string
the postal Code of the shipping address - repositoryId
-
Type:
string
the id of the shipping address - state
-
Type:
string
the state of the shipping address
Nested Schema : items
Type:
object
- id
-
Type:
string
get the organization id
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- discountInfo
-
Type:
array
discountInfoAdditional Properties Allowed:The discount information. - items
-
Type:
array
itemsAdditional Properties Allowed: - priceInfo
-
Type:
object
priceInfoAdditional Properties Allowed:The price information. - recurringChargePriceInfo
-
Type:
string
- shippingMethod
-
Type:
object
shippingMethodAdditional Properties Allowed:The shipping method details for the order. - taxPriceInfo
-
Type:
object
taxPriceInfoAdditional Properties Allowed:The shipping address details.
Nested Schema : discountInfo
Nested Schema : priceInfo
Type:
object
The price information.
- amount
-
Type:
number
The total order amount. - currencyCode
-
Type:
string
The currency code. - shipping
-
Type:
number
The total shipping cost. - shippingSurchargeValue
-
Type:
number
Extra handling costs for shipping the products - subTotal
-
Type:
number
Sub-total. - tax
-
Type:
number
The total tax amount. - total
-
Type:
number
The order total. - totalWithoutTax
-
Type:
number
The total amount without tax.
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
- cost
-
Type:
number
The total cost of shipping. - secondaryCurrencyTaxAmount
-
Type:
number
tax amount in secondaryCurrency - shippingMethodDescription
-
Type:
string
- shippingTax
-
Type:
number
- taxCode
-
Type:
string
- value
-
Type:
string
The shipping method applied to the order.
Nested Schema : taxPriceInfo
Type:
object
The shipping address details.
- amount
-
Type:
number
The total order amount. - cityTax
-
Type:
number
City Tax - countryTax
-
Type:
number
Country Tax. - countyTax
-
Type:
number
County Tax. - districtTax
-
Type:
number
District Tax. - isTaxIncluded
-
Type:
boolean
If Tax is included? - miscTax
-
Type:
number
Misc Tax. - secondaryCurrencyTaxAmount
-
Type:
number
taxAmount in secondaryCurrency - stateTax
-
Type:
number
State Tax. - valueAddedTax
-
Type:
number
Value Added Tax.
Nested Schema : items
Type:
object
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator. - amount
-
Type:
number
The monetary amount. - availabilityDate
-
Type:
string
(date-time
)The availability date for preOrdered/backOrdered quantity. - backOrderQuantity
-
Type:
integer
The back ordered quantity included. - catRefId
-
Type:
string
The catalog ref id. - commerceId
-
Type:
string
- commerceItemId
-
Type:
string
The referenced commerce item's internal ID. - detailedItemPriceInfo
-
Type:
array
detailedItemPriceInfoAdditional Properties Allowed: - discountAmount
-
Type:
number
The discount amount. - discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
array
dynamicPropertiesAdditional Properties Allowed:the value of the dynamic Properties - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a third party system. - listPrice
-
Type:
number
The list price. - onSale
-
Type:
number
Is item on sale. - preOrderQuantity
-
Type:
integer
The pre ordered quantity included. - price
-
Type:
number
The price. - productId
-
Type:
string
The ID of the product. - quantity
-
Type:
number
The quantity. - rawTotalPrice
-
Type:
number
The raw total price. - returnedQuantity
-
Type:
number
The returned quantity. - salePrice
-
Type:
number
The sale price. - shippingSurchargeValue
-
Type:
number
Extra handling cost for shipping the product. - stateDetailsAsUser
-
Type:
string
state details. - status
-
Type:
string
status. - unitPrice
-
Type:
number
The unit price.
Nested Schema : detailedItemPriceInfo
Nested Schema : discountInfo
Type:
object
The discount information.
- orderDiscount
-
Type:
integer
The discount. - shippingDiscount
-
Type:
integer
The 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:
object
Nested Schema : items
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the third party system. - name
-
Type:
string
The name to be associated with the externalData item. - values
-
Type:
object
valuesAdditional Properties Allowed:The map values associated with an externalData item.
Nested Schema : values
Type:
object
The map values associated with an externalData item.
- key
-
Type:
string
Map key defined by external system. - value
-
Type:
string
Map value defined by external system.
Nested Schema : items
Type:
object
- catRefId
-
Type:
string
- configuratorId
-
Type:
string
- description
-
Type:
string
- detailedItemPriceInfo
-
Type:
array
detailedItemPriceInfoAdditional Properties Allowed: - discountAmount
-
Type:
number
- discountInfo
-
Type:
array
discountInfoAdditional Properties Allowed:The discount information. - displayName
-
Type:
string
- dynamicProperties
-
Type:
array
dynamicPropertiesAdditional 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:
array
variantAdditional 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:
number
tax amount in secondaryCurrency - tax
-
Type:
number
Nested Schema : items
Type:
object
- coupon
-
Type:
string
The coupon ID. - promotionDesc
-
Type:
string
The promotion description. - promotionId
-
Type:
string
The promotion ID.
Nested Schema : items
Type:
object
- id
-
Type:
string
The dynamic property id. - label
-
Type:
string
The dynamic property label. - value
-
Type:
string
The dynamic property value.
Nested Schema : items
Type:
object
- optionName
-
Type:
string
The variant option name. - optionValue
-
Type:
string
The 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:
boolean
This flag will determine if Order has to be moved to pending approval state. - approvalActionReason
-
Type:
string
The reason for which the Order has beeen moved to pending approval state. - error
-
Type:
object
errorAdditional Properties Allowed:
Nested Schema : error
Type:
object
- code
-
Type:
string
- message
-
Type:
string