Skip to content

Add Use Defaut Value booleans to API GETs' responses #40115

@alhuet

Description

@alhuet

Summary

In a Multi-Storeview context, a specific Storeview of a Product may have values inherited from the "All" Storeview for certain fields if the "Use Default Value" checkbox is checked (for example, the "Visibility", "Set Product as New From", "Country of Manufacture", or "Product Name" fields).

Using the API, there is no way to find which field is "Use Default Value" true and which is not. This is very inconvenient, especially when writing data on an existing product.

Many developers seem to have developed custom scripts to add on top of Magento, or complex verifications with several requests on the same page to identify them based on the software's behaviors. But it would be much better to simply get it from the API, avoiding days of work and maintenance on complex workarounds, and latencies on the Magento instance as a cost for these workarounds.

This is true for Products but also for all other items that have Use Default Values.

Examples

Image

Proposed solution

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Ready for Confirmation

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions