Magidoc

productSetAvailabilityForPurchase
Mutation

Set product availability for purchase date.

Arguments

#

isAvailable

Non-null

Determine if product should be available for purchase.

productId

ID !
Non-null

Id of product that availability for purchase should be changed.

startDate

A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed.

Response

#

Returns ProductSetAvailabilityForPurchase .

Example

#