import type * as Square from "../../../../index"; /** * @example * { * reasonId: { * type: "CUSTOM", * customReasonId: "R5BX3PDCZ6EXAMPLE" * }, * adjustmentReason: { * id: { * type: "CUSTOM", * customReasonId: "R5BX3PDCZ6EXAMPLE" * }, * name: "Charitable donation" * } * } */ export interface UpdateInventoryAdjustmentReasonRequest { /** The identifier of the custom inventory adjustment reason to update. */ reasonId: Square.InventoryAdjustmentReasonId; /** * The requested custom inventory adjustment reason update. Only the * `name` field can be updated. Deleted custom reasons cannot be updated. To * restore a deleted custom reason, call * [RestoreInventoryAdjustmentReason](api-endpoint:Inventory-RestoreInventoryAdjustmentReason). */ adjustmentReason: Square.InventoryAdjustmentReason; }