Skip to main content

DemandHqAutomationSettingsUpdateInput

The input type for creating or updating DemandHqAutomationSettings

input DemandHqAutomationSettingsUpdateInput {
defaultAverageShippingCost: Float
demandHqId: ID!
priceFloorAbsolute: Float
priceFloorMarginPercent: Float
vendorCollectionStatus: DemandEntityStatus
vendorCollectionStorefrontIds: [ID!]
vendorCollectionType: String
}

Fields​

DemandHqAutomationSettingsUpdateInput.defaultAverageShippingCost ● Float scalar​

DemandHqAutomationSettingsUpdateInput.demandHqId ● ID! non-null scalar​

The DemandHq that these settings belong to

DemandHqAutomationSettingsUpdateInput.priceFloorAbsolute ● Float scalar​

An absolute price floor in default currency amount. i.e. 10 would mean the price can never drop below 10.

DemandHqAutomationSettingsUpdateInput.priceFloorMarginPercent ● Float scalar​

A price floor margin in percent that is applied in addition to all costs. These costs include the current chosen SupplierVariant's Cost and Handling Cost, as well as the Variant's Average Shipping Cost. i.e. 10 would mean the price can never drop below 10% above the current Cost of Good Sold + Handling Cost + Average Shipping Cost.

DemandHqAutomationSettingsUpdateInput.vendorCollectionStatus ● DemandEntityStatus enum​

The status to set on a newly created Vendor Collection. Defaults to 'DRAFT'

DemandHqAutomationSettingsUpdateInput.vendorCollectionStorefrontIds ● [ID!] list scalar​

The storefrontIds to publish a newly created Vendor Collection to. Defaults to none.

DemandHqAutomationSettingsUpdateInput.vendorCollectionType ● String scalar​

The collectionType to create Vendor Collections in. Setting this enables Vendor Collections to be created.

Member of​

createOrUpdateDemandHqAutomationSettings mutation