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?










0















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?










share|improve this question
























  • hello! did you find any response to this? thanks

    – mxb
    Nov 28 '17 at 12:25















0















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?










share|improve this question
























  • hello! did you find any response to this? thanks

    – mxb
    Nov 28 '17 at 12:25













0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















0














You can get it from here



REST APIs



You can check salesRuleCouponRepositoryV1 all actions and valid values from here.






share|improve this answer

























  • 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











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
);



);













draft saved

draft discarded


















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









0














You can get it from here



REST APIs



You can check salesRuleCouponRepositoryV1 all actions and valid values from here.






share|improve this answer

























  • 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















0














You can get it from here



REST APIs



You can check salesRuleCouponRepositoryV1 all actions and valid values from here.






share|improve this answer

























  • 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













0












0








0







You can get it from here



REST APIs



You can check salesRuleCouponRepositoryV1 all actions and valid values from here.






share|improve this answer















You can get it from here



REST APIs



You can check salesRuleCouponRepositoryV1 all actions and valid values from here.







share|improve this answer














share|improve this answer



share|improve this answer








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

















  • 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

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її