add missing update params

This commit is contained in:
Ron Rennick 2021-02-15 23:27:22 -04:00
parent ff79153dd5
commit 9e55856875
1 changed files with 3 additions and 1 deletions

View File

@ -10,10 +10,12 @@ export type StockStatus = 'instock' | 'outofstock' | 'onbackorder' | string
* Properties common to all product types.
*/
export type ProductCommonUpdateParams = 'name' | 'slug' | 'created' | 'postStatus' | 'shortDescription'
| 'id' | 'permalink' | 'price' | 'priceHtml' | 'type'
| 'description' | 'sku' | 'categories' | 'tags' | 'isFeatured'
| 'attributes' | 'images' | 'catalogVisibility' | 'allowReviews'
| 'regularPrice' | 'salePrice' | 'saleStart' | 'saleEnd'
| 'metaData' | 'menuOrder' | 'parentId' | 'relatedIds' | 'upsellIds';
| 'metaData' | 'menuOrder' | 'parentId' | 'relatedIds' | 'upsellIds'
| 'links' | 'relatedIds' | 'menuOrder' | 'parentId';
/**
* Cross sells property.