Web API: Product set use default status for store view Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Import products for store viewReset “Use Default Value” for specific store view on all productsUpdating product attributes for multiple (but not all) Store Views at once?Magento 2 api rest update product per store id. Ot workingIs there a way to remove all Product attributes set on View level, so they all fall back to “All Store View” scope?Magento 2 - Create product programmatically with different store view valuesMagento 2 store view same product with different stock levelsMagento2 set all product infos to “use default value”Disable/Enable product through the Magento 2 Api with RestHow to not use attribute default value over rest API in magento2
Is a copyright notice with a non-existent name be invalid?
Does a random sequence of vectors span a Hilbert space?
Any stored/leased 737s that could substitute for grounded MAXs?
Pointing to problems without suggesting solutions
Does the universe have a fixed centre of mass?
Why is a lens darker than other ones when applying the same settings?
Is there a spell that can create a permanent fire?
Can gravitational waves pass through a black hole?
Vertical ranges of Column Plots in 12
Releasing Patch File for BSD3 Licensed Project
Short story about astronauts fertilizing soil with their own bodies
Sally's older brother
Table formatting with tabularx?
3D Masyu - A Die
When does a function NOT have an antiderivative?
Noise in Eigenvalues plot
Google .dev domain strangely redirects to https
How does the body cool itself in a stillsuit?
How do Java 8 default methods hеlp with lambdas?
The Nth Gryphon Number
newbie Q : How to read an output file in one command line
What are some likely causes to domain member PC losing contact to domain controller?
"Destructive power" carried by a B-52?
Why not use the yoke to control yaw, as well as pitch and roll?
Web API: Product set use default status for store view
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Import products for store viewReset “Use Default Value” for specific store view on all productsUpdating product attributes for multiple (but not all) Store Views at once?Magento 2 api rest update product per store id. Ot workingIs there a way to remove all Product attributes set on View level, so they all fall back to “All Store View” scope?Magento 2 - Create product programmatically with different store view valuesMagento 2 store view same product with different stock levelsMagento2 set all product infos to “use default value”Disable/Enable product through the Magento 2 Api with RestHow to not use attribute default value over rest API in magento2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Our products are created and updated via the web API. When we update a product for all /rest/all/V1/products/123 and set status: 2 the product is disabled. But per store view it's still enabled because the checkbox "Use Default Value" is not checked.
I tried to send use_default_status: 1 per store view (rest/german/V1/products/123)like this:
"product":
"sku": "123",
"name": "My Product",
"use_default_status": 1
But then I get the following error:
Property "UseDefaultStatus" does not have accessor method "getUseDefaultStatus" in class "MagentoCatalogApiDataProductInterface"
Is it somehow possible to set the use_default_status checkbox via web API? The best would be if I could set it without having to push the product for the store view.
magento2 product-attribute rest-api store-view
add a comment |
Our products are created and updated via the web API. When we update a product for all /rest/all/V1/products/123 and set status: 2 the product is disabled. But per store view it's still enabled because the checkbox "Use Default Value" is not checked.
I tried to send use_default_status: 1 per store view (rest/german/V1/products/123)like this:
"product":
"sku": "123",
"name": "My Product",
"use_default_status": 1
But then I get the following error:
Property "UseDefaultStatus" does not have accessor method "getUseDefaultStatus" in class "MagentoCatalogApiDataProductInterface"
Is it somehow possible to set the use_default_status checkbox via web API? The best would be if I could set it without having to push the product for the store view.
magento2 product-attribute rest-api store-view
add a comment |
Our products are created and updated via the web API. When we update a product for all /rest/all/V1/products/123 and set status: 2 the product is disabled. But per store view it's still enabled because the checkbox "Use Default Value" is not checked.
I tried to send use_default_status: 1 per store view (rest/german/V1/products/123)like this:
"product":
"sku": "123",
"name": "My Product",
"use_default_status": 1
But then I get the following error:
Property "UseDefaultStatus" does not have accessor method "getUseDefaultStatus" in class "MagentoCatalogApiDataProductInterface"
Is it somehow possible to set the use_default_status checkbox via web API? The best would be if I could set it without having to push the product for the store view.
magento2 product-attribute rest-api store-view
Our products are created and updated via the web API. When we update a product for all /rest/all/V1/products/123 and set status: 2 the product is disabled. But per store view it's still enabled because the checkbox "Use Default Value" is not checked.
I tried to send use_default_status: 1 per store view (rest/german/V1/products/123)like this:
"product":
"sku": "123",
"name": "My Product",
"use_default_status": 1
But then I get the following error:
Property "UseDefaultStatus" does not have accessor method "getUseDefaultStatus" in class "MagentoCatalogApiDataProductInterface"
Is it somehow possible to set the use_default_status checkbox via web API? The best would be if I could set it without having to push the product for the store view.
magento2 product-attribute rest-api store-view
magento2 product-attribute rest-api store-view
asked Apr 17 at 8:56
DanielDaniel
311213
311213
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270443%2fweb-api-product-set-use-default-status-for-store-view%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270443%2fweb-api-product-set-use-default-status-for-store-view%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown