Skip to main content
Version: 3.x

saleUpdate

Updates a sale.

Requires one of the following permissions: MANAGE_DISCOUNTS.

saleUpdate(
id: ID!
input: SaleInput!
): SaleUpdate

Arguments

saleUpdate.id ● ID! non-null scalar

ID of a sale to update.

saleUpdate.input ● SaleInput! non-null input

Fields required to update a sale.

Type

SaleUpdate object

Updates a sale.

Requires one of the following permissions: MANAGE_DISCOUNTS.