Skip to main content

depositRule

Accepts id, businessUnitGroupId, businessUnitId arguments and returns a single deposit rule in response.

Either businessUnitGroupId or businessUnitId argument must be supplied.

depositRule(
id: String!
businessUnitGroupId: String
businessUnitId: String
): DepositRule

Arguments

depositRule.id ● String! non-null scalar

The ID of the deposit rule.

depositRule.businessUnitGroupId ● String scalar

The ID of the business unit group.

depositRule.businessUnitId ● String scalar

The ID of the business unit.

Type

DepositRule object

A deposit rule defines the rules to which a deposit can be connected to the purchase of specific items. The deposit rule describes the amount of deposit that shall be added to the receipt when a specific product is sold in POS. E.g. a bottle of water has a deposit for the plastic bottle and an amount (price + VAT) is added to the transaction, when the empty bottle is returned to the same or any other store then the deposit is returned to the customer.