You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 82b4584
Browse filesBrowse the repository at this point in the historyBrowse files
* Search-engine settings. Omitted fields are generated from the name and description; a slug already in use gets a numeric suffix. Send at least one field.
@@ -28591,7 +28697,7 @@ export const EcommerceProductVariantsApiAxiosParamCreator = function (configurat
28591
28697
};
28592
28698
},
28593
28699
/**
28594
-
* Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28700
+
* Update up to 100 existing variants in place by id — title, SKU, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28595
28701
* @summary Update product variants in batch
28596
28702
* @param {string} storeId The ID of the store that owns the product.
28597
28703
* @param {string} productId The ID of the product whose variants are being updated.
* Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28800
+
* Update up to 100 existing variants in place by id — title, SKU, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28695
28801
* @summary Update product variants in batch
28696
28802
* @param {string} storeId The ID of the store that owns the product.
28697
28803
* @param {string} productId The ID of the product whose variants are being updated.
* Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28860
+
* Update up to 100 existing variants in place by id — title, SKU, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28755
28861
* @summary Update product variants in batch
28756
28862
* @param {string} storeId The ID of the store that owns the product.
28757
28863
* @param {string} productId The ID of the product whose variants are being updated.
@@ -28815,7 +28921,7 @@ export class EcommerceProductVariantsApi extends BaseAPI {
28815
28921
}
28816
28922
28817
28923
/**
28818
-
* Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28924
+
* Update up to 100 existing variants in place by id — title, SKU, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
28819
28925
* @summary Update product variants in batch
28820
28926
* @param {string} storeId The ID of the store that owns the product.
28821
28927
* @param {string} productId The ID of the product whose variants are being updated.
@@ -29073,7 +29179,7 @@ export const EcommerceProductsApiAxiosParamCreator = function (configuration?: C
29073
29179
};
29074
29180
},
29075
29181
/**
29076
-
* Update a product\'s name, descriptionor status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29182
+
* Update a product\'s name, description, status, SEO settings or collections. Set status to published to make it buyable, draft to hide it, or archived to retire it. SEO settings (title, description, slug) left out keep their values. collection_changes adds or removes collections without touching the others. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29077
29183
* @summary Update a product
29078
29184
* @param {string} storeId The ID of the store that owns the product.
29079
29185
* @param {string} productId The ID of the product to update.
* Update a product\'s name, descriptionor status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29357
+
* Update a product\'s name, description, status, SEO settings or collections. Set status to published to make it buyable, draft to hide it, or archived to retire it. SEO settings (title, description, slug) left out keep their values. collection_changes adds or removes collections without touching the others. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29252
29358
* @summary Update a product
29253
29359
* @param {string} storeId The ID of the store that owns the product.
29254
29360
* @param {string} productId The ID of the product to update.
* Update a product\'s name, descriptionor status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29454
+
* Update a product\'s name, description, status, SEO settings or collections. Set status to published to make it buyable, draft to hide it, or archived to retire it. SEO settings (title, description, slug) left out keep their values. collection_changes adds or removes collections without touching the others. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29349
29455
* @summary Update a product
29350
29456
* @param {string} storeId The ID of the store that owns the product.
29351
29457
* @param {string} productId The ID of the product to update.
@@ -29448,7 +29554,7 @@ export class EcommerceProductsApi extends BaseAPI {
29448
29554
}
29449
29555
29450
29556
/**
29451
-
* Update a product\'s name, descriptionor status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29557
+
* Update a product\'s name, description, status, SEO settings or collections. Set status to published to make it buyable, draft to hide it, or archived to retire it. SEO settings (title, description, slug) left out keep their values. collection_changes adds or removes collections without touching the others. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
29452
29558
* @summary Update a product
29453
29559
* @param {string} storeId The ID of the store that owns the product.
29454
29560
* @param {string} productId The ID of the product to update.
Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
194
+
Update up to 100 existing variants in place by id — title, SKU, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant\'s existing prices in full. Returns the updated variants.
Update a product\'s name, descriptionor status. Set status to published to make it buyable, draft to hide it, or archived to retire it. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
314
+
Update a product\'s name, description, status, SEO settings or collections. Set status to published to make it buyable, draft to hide it, or archived to retire it. SEO settings (title, description, slug) left out keep their values. collection_changes adds or removes collections without touching the others. Variants, prices and inventory are managed through the variant endpoints, not here. Returns the updated product summary.
Search-engine settings. Omitted fields are generated from the name and description; a slug already in use gets a numeric suffix. Send at least one field.
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/EcommerceV1ProductUpdateRequest.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
**name** | **string** | The product name. | [optional][default to undefined]
9
9
**description** | **string** | The product description. | [optional][default to undefined]
10
10
**status** | **string** | Set \"published\" to make the product buyable, \"draft\" to hide it, or \"archived\" to retire it. | [optional][default to undefined]
11
+
**seo_settings** | [**EcommerceV1ProductUpdateRequestSeoSettings**](EcommerceV1ProductUpdateRequestSeoSettings.md) | | [optional][default to undefined]
12
+
**collection_changes** | [**EcommerceV1ProductUpdateRequestCollectionChanges**](EcommerceV1ProductUpdateRequestCollectionChanges.md) | | [optional][default to undefined]
0 commit comments