getProductOptionsAvailability( )


Gets the availability of relevant product variants based on the product ID and selections provided. See Use Cases for an example.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Requested product ID.


optionsRecord<string, string>Required

Array containing the selected options. For example, ["color": "Blue", "size": "Large"].

Returns
Return Type:Promise<ProductOptionsAvailabilityResponse>
Did this help?