removeSurchargesFromProduct
Remove surcharge associations from a specific product.
Unlinks one or more surcharges from a product, removing additional fees from pricing calculations and order processing. The changes take effect immediately.
Possible errors:
- FORBIDDEN: Insufficient permissions to modify product surcharges
- NOT_FOUND_SURCHARGE_ERROR: One or more surcharge-product associations were not found
- REMOVE_SURCHARGE_FROM_PRODUCT_ERROR: Database deletion failures or general errors while removing product-surcharge associations
AUTH: Role=[pricing.OWNER,pricing.EDITOR]
removeSurchargesFromProduct(
input: RemoveSurchargesFromProductInput!
): ConfirmationResponse!
Arguments
removeSurchargesFromProduct.input
● RemoveSurchargesFromProductInput!
non-null input
Product and surcharge disassociation data.
Contains the product ID and list of surcharge IDs to remove from the product's pricing calculations.
Type
ConfirmationResponse
object
Response confirming the successful completion of an operation.
Provides status information and descriptive messages for operations that modify surcharge data or associations.