How to find valid values for fields in the REST API The Next CEO of Stack OverflowGetting started with Magento REST APIBest option for Magento Mobile APP APIREST API create simple productREST API creating more than one media entry for productIs there a Magento API reference?Magento REST API Example ErrorsMagento 2 Rest API - how do I add values to dropdown product attributeWhere to find a solid Magento 2 SOAP-API DocumentationProblem adding attribute options to configurable product via REST Apiwhere to find Magento 2 API docs?
Shade part of a Venn diagram
How to write papers efficiently when English isn't my first language?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
Are there languages with no euphemisms?
Can the Reverse Gravity spell affect the Meteor Swarm spell?
Visit to the USA with ESTA approved before trip to Iran
How to write the block matrix in LaTex?
What does "Its cash flow is deeply negative" mean?
How does practicing restraint and performing actions of merit purify the mind?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
India just shot down a satellite from the ground. At what altitude range is the resulting debris field?
Should I tutor a student who I know has cheated on their homework?
Why does C# sound extremely flat when saxophone is tuned to G?
How to get regions to plot as graphics
How do I construct this japanese bowl?
Does the Brexit deal have to be agreed by both Houses?
Whats the best way to handle refactoring a big file?
Increase performance creating Mandelbrot set in python
Anatomically Correct Strange Women In Ponds Distributing Swords
Anatomically Correct Mesopelagic Aves
Unreliable Magic - Is it worth it?
What is the purpose of the Evocation wizard's Potent Cantrip feature?
Can I equip Skullclamp on a creature I am sacrificing?
How did people program for Consoles with multiple CPUs?
How to find valid values for fields in the REST API
The Next CEO of Stack OverflowGetting started with Magento REST APIBest option for Magento Mobile APP APIREST API create simple productREST API creating more than one media entry for productIs there a Magento API reference?Magento REST API Example ErrorsMagento 2 Rest API - how do I add values to dropdown product attributeWhere to find a solid Magento 2 SOAP-API DocumentationProblem adding attribute options to configurable product via REST Apiwhere to find Magento 2 API docs?
I have been searching for documentation regarding the REST API. All I have found is the Swagger page. It gives a good overview but it doesn't provide any information about valid values for individual fields.
From what I have found there is no such documentation available.
How can I find out what values are valid for all different fields in the API?
Example:
For a POST to /V1/coupons
(salesRuleCouponRepositoryV1
), how do I find out what the valid values for "type" are and what they mean?
api rest documentation
add a comment |
I have been searching for documentation regarding the REST API. All I have found is the Swagger page. It gives a good overview but it doesn't provide any information about valid values for individual fields.
From what I have found there is no such documentation available.
How can I find out what values are valid for all different fields in the API?
Example:
For a POST to /V1/coupons
(salesRuleCouponRepositoryV1
), how do I find out what the valid values for "type" are and what they mean?
api rest documentation
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25
add a comment |
I have been searching for documentation regarding the REST API. All I have found is the Swagger page. It gives a good overview but it doesn't provide any information about valid values for individual fields.
From what I have found there is no such documentation available.
How can I find out what values are valid for all different fields in the API?
Example:
For a POST to /V1/coupons
(salesRuleCouponRepositoryV1
), how do I find out what the valid values for "type" are and what they mean?
api rest documentation
I have been searching for documentation regarding the REST API. All I have found is the Swagger page. It gives a good overview but it doesn't provide any information about valid values for individual fields.
From what I have found there is no such documentation available.
How can I find out what values are valid for all different fields in the API?
Example:
For a POST to /V1/coupons
(salesRuleCouponRepositoryV1
), how do I find out what the valid values for "type" are and what they mean?
api rest documentation
api rest documentation
edited 1 hour ago
Shoaib Munir
2,2992829
2,2992829
asked Aug 16 '17 at 12:34
Björn JanssonBjörn Jansson
1
1
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25
add a comment |
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25
add a comment |
1 Answer
1
active
oldest
votes
You can get it from here
REST APIs
You can check salesRuleCouponRepositoryV1 all actions and valid values from here.
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
add a comment |
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%2f189322%2fhow-to-find-valid-values-for-fields-in-the-rest-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can get it from here
REST APIs
You can check salesRuleCouponRepositoryV1 all actions and valid values from here.
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
add a comment |
You can get it from here
REST APIs
You can check salesRuleCouponRepositoryV1 all actions and valid values from here.
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
add a comment |
You can get it from here
REST APIs
You can check salesRuleCouponRepositoryV1 all actions and valid values from here.
You can get it from here
REST APIs
You can check salesRuleCouponRepositoryV1 all actions and valid values from here.
edited Aug 17 '17 at 6:42
answered Aug 17 '17 at 6:36
Suresh ChikaniSuresh Chikani
10.4k53371
10.4k53371
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
add a comment |
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Thanks. I have seen the Swagger page as I wrote in my question. But what I can't find is the valid values for each field. If i look at "POST salesRuleCouponRepositoryV1" it says that the field "type" is a numeric field. But how do I know what values are valid? Is it 1, 67 or 39774? And what do each number mean?
– Björn
Aug 17 '17 at 6:54
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Have you study post example from given example?
– Suresh Chikani
Aug 17 '17 at 6:56
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
Yes, I have. I can't find any information about each individual field, more than the data type.
– Björn
Aug 17 '17 at 7:39
add a comment |
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%2f189322%2fhow-to-find-valid-values-for-fields-in-the-rest-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
hello! did you find any response to this? thanks
– mxb
Nov 28 '17 at 12:25