Fix mutation for simple product update
This commit is contained in:
parent
828e207209
commit
4a8b8e3c2f
4 changed files with 5 additions and 1 deletions
|
@ -203,6 +203,7 @@ export const simpleProductUpdateMutation = gql`
|
|||
$productVariantId: ID!
|
||||
$productVariantInput: ProductVariantInput!
|
||||
$seo: SeoInput
|
||||
$slug: String
|
||||
$addStocks: [StockInput!]!
|
||||
$deleteStocks: [ID!]!
|
||||
$updateStocks: [StockInput!]!
|
||||
|
@ -222,6 +223,7 @@ export const simpleProductUpdateMutation = gql`
|
|||
name: $name
|
||||
basePrice: $basePrice
|
||||
seo: $seo
|
||||
slug: $slug
|
||||
weight: $weight
|
||||
visibleInListings: $visibleInListings
|
||||
}
|
||||
|
|
|
@ -201,6 +201,7 @@ export interface ProductVariantReorder_productVariantReorder_product {
|
|||
metadata: (ProductVariantReorder_productVariantReorder_product_metadata | null)[];
|
||||
privateMetadata: (ProductVariantReorder_productVariantReorder_product_privateMetadata | null)[];
|
||||
name: string;
|
||||
slug: string;
|
||||
descriptionJson: any;
|
||||
seoTitle: string | null;
|
||||
seoDescription: string | null;
|
||||
|
|
|
@ -827,6 +827,7 @@ export interface SimpleProductUpdateVariables {
|
|||
productVariantId: string;
|
||||
productVariantInput: ProductVariantInput;
|
||||
seo?: SeoInput | null;
|
||||
slug?: string | null;
|
||||
addStocks: StockInput[];
|
||||
deleteStocks: string[];
|
||||
updateStocks: StockInput[];
|
||||
|
|
|
@ -1085,12 +1085,12 @@ export interface CollectionFilterInput {
|
|||
export interface CollectionInput {
|
||||
isPublished?: boolean | null;
|
||||
name?: string | null;
|
||||
slug?: string | null;
|
||||
description?: string | null;
|
||||
descriptionJson?: any | null;
|
||||
backgroundImage?: any | null;
|
||||
backgroundImageAlt?: string | null;
|
||||
seo?: SeoInput | null;
|
||||
slug?: string | null;
|
||||
publicationDate?: any | null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue