Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Nov 26, 2024
1 parent b747e1f commit 505b3af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion api-specs/import/api.raml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,9 @@ traits:
description: The ImportContainer used to create the new resource
type: string
post:
description: Creates a new import request for product variant patches
description: |
Creates a new import request for Product Variant Patches.
Returns an [InvalidField](/error#invalidfielderror) error if the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest) contains patches with and without the `product` field set.
is:
- secured_by_manage_products
body:
Expand Down
6 changes: 5 additions & 1 deletion api-specs/import/types/product-variant-import.raml
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,11 @@ types:
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).
Reference to the [Product](/../api/projects/products#product) that contains the ProductVariant.
We recommend to set this value 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:
Expand Down

0 comments on commit 505b3af

Please sign in to comment.