From 4bf8c871da738b12221213c0d6c5dfadb08c907b Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Fri, 29 Sep 2023 13:11:34 +0000 Subject: [PATCH] Updated API from documentation release --- api-specs/importapi/types/product-variant-import.raml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api-specs/importapi/types/product-variant-import.raml b/api-specs/importapi/types/product-variant-import.raml index 9a4e5cb90..2de96191a 100644 --- a/api-specs/importapi/types/product-variant-import.raml +++ b/api-specs/importapi/types/product-variant-import.raml @@ -249,9 +249,8 @@ types: properties: productVariant: description: | - The [ProductVariant](/../api/projects/products#productvariant) to which this patch is applied. - The Reference to the [ProductVariant](/../api/projects/products#productvariant) with which the ProductVariantPatch is associated. - If referenced ProductVariant does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary ProductVariant is created. + Reference to the [ProductVariant](/../api/projects/products#productvariant) to update. + If the referenced ProductVariant does not exist, the `state` of the [ImportOperation](/import-operation#importoperation) will be set to `unresolved` until the necessary ProductVariant is created. type: common.ProductVariantKeyReference attributes?: description: | @@ -266,6 +265,10 @@ types: default: true description: | If `false`, the attribute changes are applied to both [current and staged projected representations](/../api/projects/productProjections#current--staged) of the [Product](/../api/projects/products#product). + product?: + description: | + Reference to the [Product](/../api/projects/products#product) which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest). + type: common.ProductKeyReference Attributes: properties: //: