New answers tagged api
1
vote
Accepted
Extend Magento2 GraphQl Product Query?
Try this code
app/code/VendorName/ModuleName/etc
schema.graphqls
interface ProductInterface {
faqList: [faqsList] @doc(description: "FAQ array added to the product query") @resolver(class: ...
1
vote
Extend Magento2 GraphQl Product Query?
Replace schema.graphqls with below and check
interface ProductInterface {
faqList: [faqsList] @doc(description: "Custom field added to the product query") @resolver(class: "Vendor\\...
0
votes
Magento Api Calls return a void object
Can you please check the method type mentioned correctly like "POST" or "PUT" in webapi.xml file.
<route url="/V1/params/:someString/items" method="PUT">
0
votes
Updating products in bulk with async endpoint fails with error getProductFromLocalCache() must be of the type string, null given
The solution was rather basic. The payload structure was wrong. I had 'sku' outside the 'product' array by mistake. All good now.
0
votes
Fetching SKUs containing a "/" (forward slash character) from the /rest/v1/products/ REST API endpoint?
Magento now supports slashes in the API but if using Apache2 the conf file for the virtual host must contain the line AllowEncodedSlashes NoDecode
If using varnish with apache2 to offload SSL then the ...
Top 50 recent answers are included
Related Tags
api × 1705magento2 × 836
rest-api × 581
magento-1.9 × 248
soap × 240
product × 74
orders × 70
php × 66
soap-api-v2 × 61
magento-1.7 × 59
magento-2.1 × 58
customer × 58
magento-1.8 × 51
magento2.3 × 42
cart × 42
oauth × 42
magento2.2 × 37
module × 32
web-services × 31
wsdl × 30
checkout × 27
category × 26
sales-order × 26
error × 23
json × 22