Retrieving newsletter subscriber field from magento 2 APIFiltering data in magento REST APIHow to use V1/search to get the names and SKU's of the magento productsUsing searchCriteria while searching attributes in magento 2.0How to create complex search filters while doing a GET on sales orders through Magento 2 REST API?REST API Pull Sales Orders By DateREST Api Products response not showing extension attributesGet pending orders for a specific customer using REST API Magento 2magento rest api V1/products endpointMagento 2 Rest Get Orders C#
What is the limiting factor for a CAN bus to exceed 1Mbps bandwidth?
Unexpected email from Yorkshire Bank
Public Salesforce Site and Security Review
Feels like I am getting dragged into office politics
Why is Arya visibly scared in the library in S8E3?
LT Spice Voltage Output
When do aircrafts become solarcrafts?
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
Is it the same airport YUL and YMQ in Canada?
Visa for volunteering in England
Pressure to defend the relevance of one's area of mathematics
Write to EXCEL from SQL DB using VBA script
Copy line and insert it in a new position with sed or awk
How do I tell my manager that his code review comment is wrong?
What is the word which sounds like "shtrass"?
What happened to Ghost?
What are the spoon bit of a spoon and fork bit of a fork called?
Visualizing a complicated Region
Conflicting terms and the definition of a «child»
How to creep the reader out with what seems like a normal person?
Was Hulk present at this event?
When and why did journal article titles become descriptive, rather than creatively allusive?
Why are notes ordered like they are on a piano?
Power LED from 3.3V Power Pin without Resistor
Retrieving newsletter subscriber field from magento 2 API
Filtering data in magento REST APIHow to use V1/search to get the names and SKU's of the magento productsUsing searchCriteria while searching attributes in magento 2.0How to create complex search filters while doing a GET on sales orders through Magento 2 REST API?REST API Pull Sales Orders By DateREST Api Products response not showing extension attributesGet pending orders for a specific customer using REST API Magento 2magento rest api V1/products endpointMagento 2 Rest Get Orders C#
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have the code below... but it's not giving me the newsletter subscription status. Please assist.
$api = "rest/V1/customers/search";
$json = '
"search_criteria":
"filter_groups": [
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $start . '",
"condition_type": "gt"
]
,
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $end . '",
"condition_type": "lt"
]
]
';
$ch = curl_init(urldecode("https://www.example.com/index.php/" . $api
. "?" . http_build_query(json_decode($json))))
I can see it on my dashboard, but the returned results are not showing this field!
magento2 api rest newsletter subscription
add a comment |
I have the code below... but it's not giving me the newsletter subscription status. Please assist.
$api = "rest/V1/customers/search";
$json = '
"search_criteria":
"filter_groups": [
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $start . '",
"condition_type": "gt"
]
,
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $end . '",
"condition_type": "lt"
]
]
';
$ch = curl_init(urldecode("https://www.example.com/index.php/" . $api
. "?" . http_build_query(json_decode($json))))
I can see it on my dashboard, but the returned results are not showing this field!
magento2 api rest newsletter subscription
add a comment |
I have the code below... but it's not giving me the newsletter subscription status. Please assist.
$api = "rest/V1/customers/search";
$json = '
"search_criteria":
"filter_groups": [
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $start . '",
"condition_type": "gt"
]
,
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $end . '",
"condition_type": "lt"
]
]
';
$ch = curl_init(urldecode("https://www.example.com/index.php/" . $api
. "?" . http_build_query(json_decode($json))))
I can see it on my dashboard, but the returned results are not showing this field!
magento2 api rest newsletter subscription
I have the code below... but it's not giving me the newsletter subscription status. Please assist.
$api = "rest/V1/customers/search";
$json = '
"search_criteria":
"filter_groups": [
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $start . '",
"condition_type": "gt"
]
,
"filters": [
],
"filters": [
"field": "created_at",
"value": "' . $end . '",
"condition_type": "lt"
]
]
';
$ch = curl_init(urldecode("https://www.example.com/index.php/" . $api
. "?" . http_build_query(json_decode($json))))
I can see it on my dashboard, but the returned results are not showing this field!
magento2 api rest newsletter subscription
magento2 api rest newsletter subscription
edited Mar 27 at 4:54
Muhammad Anas
8691322
8691322
asked Mar 22 at 15:29
Van TrinhVan Trinh
11
11
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%2f267035%2fretrieving-newsletter-subscriber-field-from-magento-2-api%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%2f267035%2fretrieving-newsletter-subscriber-field-from-magento-2-api%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