getProductOptionsAvailability( )
Gets the availability of relevant product variants based on the product ID and selections provided. See Use Cases for an example.
Permission Scopes
For app development, you must have one of the following permission scopes:Learn more about permission scopes.
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>
Was this helpful?
Yes
No