Skip to content

Commit

Permalink
Merge pull request #272 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Nov 26, 2024
2 parents b1f34c9 + 0ead0be commit f1e71a7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/commercetools-import/docs/RequestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productVariantPatches()->importContainers()->withImportContainerKeyValue("importContainerKey")->post(null)`

Creates a new import request for product variant patches
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.


### Example
```php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public function getAttributes();
public function getStaged();

/**
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> 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 <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
* <p>We recommend to set this value to minimize concurrency errors.
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
*
* @return null|ProductKeyReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public function getStaged()
}

/**
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> 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 <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
* <p>We recommend to set this value to minimize concurrency errors.
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
*
* @return null|ProductKeyReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ public function getStaged()
}

/**
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> 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 <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
* <p>We recommend to set this value to minimize concurrency errors.
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
*
*
* @return null|ProductKeyReference
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,4 @@ f254d17f05343dcc4299fc53ff9b335b5ef63d69
6892be230f1ad73f1150dd544c9fa7fee0e6b123
971c1b4ce06c29fcb8c2402dc2ca523b2907352c
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
505b3af56b4452b22dfb595f93e010b3e2fccc53

0 comments on commit f1e71a7

Please sign in to comment.