Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Magento REST API defines a set of functions that a developer can use to perform requests and receive responses. These interactions are performed using the HTTP protocol.
4
votes
Accepted
Magento 2: Problem creating search request with REST API : V1/customers/search
I finally fixed my issue this way :
<?php
$token = "xxxxxxxxxxxxxxxxxxxx";
$api = "rest/V1/customers/search";
$json = '
{
"search_criteria": {
"filter_groups": [
{
…
1
vote
2
answers
3k
views
Magento 2: Problem creating search request with REST API : V1/customers/search
I'm trying to make a search request which returns all the customers, but the php script below returns :
[message] => %fieldName is a required field.
[parameters] => Array
(
[fieldName] => …
2
votes
Accepted
Move HTTP GET request into a JSON array in Magento 2 REST API (V1/customers/search)
I finally fixed my question with http_build_query() and json_decode().
$api = "rest/V1/customers/search";
$json = '
{
"search_criteria": {
"filter_groups": [
{
…
2
votes
1
answer
403
views
Move HTTP GET request into a JSON array in Magento 2 REST API (V1/customers/search)
Is it possible to put the content of this rest api in a json array to put in GET parameters instead ? And if yes, what should the code look like ?
curl_init("http://my.website.com/index.php/rest/V1/c …