Skip to main content

AdjustProductPriceInput

What the merchant must supply to change a product's price.

input AdjustProductPriceInput {
productId: ID!
newPriceMinor: Int!
}

Fields

AdjustProductPriceInput.productId ● ID! non-null scalar

The product to reprice.

AdjustProductPriceInput.newPriceMinor ● Int! non-null scalar

The new price of one unit, in the smallest unit of the merchant's currency — cents for USD, whole rupiah for IDR. Must be a positive number: a giveaway is a discount, not a price.

Member Of

adjustProductPrice mutation