{
    "componentChunkName": "component---src-templates-article-page-template-js",
    "path": "/concepts/requiring-approval/",
    "result": {"data":{"markdownRemark":{"frontmatter":{"title":"Requiring approval for new listings","slug":"requiring-approval","updated":"2022-03-07T00:00:00.000Z","category":"concepts-listings","ingress":"Flex allows you to require operator approval for new listings before they are published. This article explains the feature and describes how to take listing approval into use in both Flex Console and Flex CLI.","skills":null},"htmlAst":{"type":"root","children":[{"type":"element","tagName":"h2","properties":{"id":"listing-approval","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#listing-approval","ariaLabel":"listing approval permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Listing approval"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"By default, listings in Flex are published as soon as their author\nclicks the \"publish\" button. However, you can also set new listings to\nrequire approval before they are published. When the feature is enabled,\nnew listings only get published once an operator has reviewed and\napproved them."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"This feature can be used e.g. for checking that the listing is suitable\nfor the marketplace. On marketplaces where providers have limitations to\nthe number of listings they can post, this feature is useful for\nallowing certain providers to only post a certain number of listings."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Only new listings are queued for operator review. In other words, if a\nlisting has already been approved and the provider edits the listing\ncontent, it will not require further approval. This is important to keep\nin mind if you use the feature to review content on the marketplace."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"At the moment, there is no way to \"decline\" listing approval. If the\nlisting requires editing to adhere to your marketplace standards, you\ncan contact the provider with your suggestions on how to improve the\nlisting."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Approving a listing does not trigger an automatic email notification.\nHowever, you can for instance\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/how-to/set-up-and-use-zapier/"},"children":[{"type":"text","value":"set up Zapier"}]},{"type":"text","value":" to listen to events\nwhere a listing's state goes from "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"pendingApproval"}]},{"type":"text","value":" to "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"published"}]},{"type":"text","value":" and\nsend a message."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"managing-listing-approval-in-flex-console","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#managing-listing-approval-in-flex-console","ariaLabel":"managing listing approval in flex console permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Managing listing approval in Flex Console"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Listing approval can be enabled in your\n"},{"type":"element","tagName":"a","properties":{"href":"https://flex-console.sharetribe.com/general","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"Flex Console"}]},{"type":"text","value":", under\nBuild > General. Listing approval is disabled by default."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/cdd83/listing-approval-toggle.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 45.911949685534594%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAoklEQVQoz62RgQrDIAxE/f+fbUvVqIm9cQYHLesY24RHxMTzYoJIQSn1TxQEkQqKzpjz9/B+UDX0bmitwczwyzLrLpiyYNs27Ps+iDEOuGcbnwuaC8YkWJYF67o+4QMz1lpHsap38YreuzucrarqLRScvBNkbUhJkFKGRyfGfMLzzjV3rhM6pAsOxd0w0voddHJlnlMnuEgbnz/bOo7jyykbHjzFwmpwsS9+AAAAAElFTkSuQmCC'); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/82e29/listing-approval-toggle.webp 159w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/ef33f/listing-approval-toggle.webp 318w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/f1837/listing-approval-toggle.webp 635w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/29549/listing-approval-toggle.webp 953w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/c5420/listing-approval-toggle.webp 1270w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/f5928/listing-approval-toggle.webp 1849w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/8b9b5/listing-approval-toggle.png 159w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/fa108/listing-approval-toggle.png 318w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/53fb6/listing-approval-toggle.png 635w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/5a426/listing-approval-toggle.png 953w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/91155/listing-approval-toggle.png 1270w","/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/cdd83/listing-approval-toggle.png 1849w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/f01c06ca56978e1313ffbd823fa86c20/53fb6/listing-approval-toggle.png","alt":"Listing approval toggle","title":"Listing approval is toggled in Build > General","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When your marketplace has listings requiring approval, you can see them\nin your Flex Console Listings view. A listing requiring approval has a\nbadge indicating its state."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/8148d/pending-approval-badge.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 13.836477987421384%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAADCAYAAACTWi8uAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAYUlEQVQI15XMMQ7CMBQEUd//bAmi4BBICKWwE++3vZ4IGtpQPE03CaC18RVhFBN9qo7ULovo7HslLfcHpRRyLrRjw8cT1xceA3ti+6KJJNK63ogIahU9MtYba/tj9NP74ARCGOrK2/aJkwAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/82e29/pending-approval-badge.webp 159w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/ef33f/pending-approval-badge.webp 318w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/f1837/pending-approval-badge.webp 635w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/29549/pending-approval-badge.webp 953w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/c5420/pending-approval-badge.webp 1270w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/7b44e/pending-approval-badge.webp 1597w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/8b9b5/pending-approval-badge.png 159w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/fa108/pending-approval-badge.png 318w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/53fb6/pending-approval-badge.png 635w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/5a426/pending-approval-badge.png 953w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/91155/pending-approval-badge.png 1270w","/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/8148d/pending-approval-badge.png 1597w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/acd38fb277c0c7527687eb05124f1b7c/53fb6/pending-approval-badge.png","alt":"Listing approval badge","title":"Listings pending approval show a badge","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When you click open the listing, the bottom of the listing panel shows a\nbutton to approve the listing."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/60cf8/pending-approval-button.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 45.283018867924525%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAABRUlEQVQoz42QwU4cMRBE5xO5kY/gmBtKOOSUKH9BPoZTTiAiJEQUQYDZ2R08Y3vssdsvau8Ae1lCSSW3rXZVdzXeT/y9bxmtw1nLPBnmYJnn9C56H4hxxjlfz8Zay+WvK4pkyAFih4SeXZRS9jLnvK1FSCnR6EVx+WfN9d0GP0XKIqLNIvKmqEKkkARyyjT60LYPHBx+4OjjJx4fH5YmwRiD9/6/U6pgVtFnwcEYvnw+5vu3rwzD8CKoYs657SR7plvc6lFXrhkAMWVCnHdchXEcq4HmrMJqsBuB1jWWIhTKq6DCTTM+zNpaqR+MjYxTxgXBhozxmZTL0kM1GszwfEWS0Ojeit4mRp/q+JrJdtL92cmyppfIzdTyO7SY6Gi6bkPbdnSrNatVV2vlet3T92YvN/0T3nh+3l9xcv6Dk/NTzm4v+AcbMrg1pIJUCQAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/82e29/pending-approval-button.webp 159w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/ef33f/pending-approval-button.webp 318w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/f1837/pending-approval-button.webp 635w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/29549/pending-approval-button.webp 953w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/c5420/pending-approval-button.webp 1270w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/84e16/pending-approval-button.webp 1830w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/8b9b5/pending-approval-button.png 159w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/fa108/pending-approval-button.png 318w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/53fb6/pending-approval-button.png 635w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/5a426/pending-approval-button.png 953w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/91155/pending-approval-button.png 1270w","/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/60cf8/pending-approval-button.png 1830w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/842f00bf779c0d0d3de22d292816ad23/53fb6/pending-approval-button.png","alt":"Listing approval button","title":"Operator can approve listings in Flex Console","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"approving-listings-through-integration-api","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#approving-listings-through-integration-api","ariaLabel":"approving listings through integration api permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Approving listings through Integration API"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In addition to Flex Console, an operator can also create an integration\nto approve listings through the\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/introduction/getting-started-with-integration-api/"},"children":[{"type":"text","value":"Integration API"}]},{"type":"text","value":"\nthrough the endpoint\n"},{"type":"element","tagName":"a","properties":{"href":"https://www.sharetribe.com/api-reference/integration.html#approve-listing","target":"_blank","rel":["noopener","noreferrer"]},"children":[{"type":"text","value":"integration_api/listings/approve"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"If, for instance, your marketplace allows non-premium users to post two\nlistings and premium users to post five listings, you could create an\nIntegration API script that automatically approves the listing if the\nuser has unused listing quota."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"enabling-and-disabling-listing-approval-in-flex-cli","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#enabling-and-disabling-listing-approval-in-flex-cli","ariaLabel":"enabling and disabling listing approval in flex cli permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Enabling and disabling listing approval in Flex CLI"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In addition to the Flex Console, you can also use\n"},{"type":"element","tagName":"a","properties":{"href":"/docs/legacy/introduction/getting-started-with-flex-cli/"},"children":[{"type":"text","value":"Flex CLI"}]},{"type":"text","value":" to enable and\ndisable listing approval on your marketplace."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["gatsby-highlight"],"dataLanguage":"bash"},"children":[{"type":"element","tagName":"pre","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"code","properties":{"className":["language-bash"]},"children":[{"type":"element","tagName":"span","properties":{"className":["token","comment"]},"children":[{"type":"text","value":"#To see whether your marketplace requires listings to be approved"}]},{"type":"text","value":"\nflex-cli listing-approval -m "},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"["}]},{"type":"text","value":"your-marketplace"},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"]"}]},{"type":"text","value":"\n\n"},{"type":"element","tagName":"span","properties":{"className":["token","comment"]},"children":[{"type":"text","value":"#To enable listing approval for your marketplace"}]},{"type":"text","value":"\nflex-cli listing-approval "},{"type":"element","tagName":"span","properties":{"className":["token","builtin","class-name"]},"children":[{"type":"text","value":"enable"}]},{"type":"text","value":" -m "},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"["}]},{"type":"text","value":"your-marketplace"},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"]"}]},{"type":"text","value":"\n\n"},{"type":"element","tagName":"span","properties":{"className":["token","comment"]},"children":[{"type":"text","value":"#To disable listing approval for your marketplace"}]},{"type":"text","value":"\nflex-cli listing-approval disable -m "},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"["}]},{"type":"text","value":"your-marketplace"},{"type":"element","tagName":"span","properties":{"className":["token","punctuation"]},"children":[{"type":"text","value":"]"}]},{"type":"text","value":"\n"}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"elements-indicating-listing-approval-in-ftw-templates","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#elements-indicating-listing-approval-in-ftw-templates","ariaLabel":"elements indicating listing approval in ftw templates permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Elements indicating listing approval in FTW templates"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"All three FTW templates show UI elements related to pending listings by\ndefault."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When a user publishes a listing on a marketplace that requires operator\napproval, the listing state is set as "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"pendingApproval"}]},{"type":"text","value":". Listings in\n"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"pendingApproval"}]},{"type":"text","value":" state are shown with a banner that lets the provider\nknow that their listing is pending approval. The listing is not yet\nshown to other users."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/042c1/pending-approval-banner.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 35.22012578616352%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAABYlAAAWJQFJUiTwAAABw0lEQVQoz12Ny2oTYQCF5wVcCL6EOzeCVFwZMZl/5p9MZpKZTG5t0+okZJLmoqFUilYEV1IruHIp+CQuXErA3DVYSBqMUQjtznziLEQ8cPg4Z3GOcnL8nL1gi1plm0bNp1otU6mUCIIKQVCiVi3TbNZpNFs0my0ajTr1Rp1Wq8XD9j4P2vshDx4dsn9wiOImTY7ae7x7c4KbTGBbCVK2FVIVkpiQqEInGlURehwhTYx4AqFJNN3AMEzi8Ti27eBkNlEcO8mtmxt4lqSYd/F3cpR2C+Q9l6ybIu2ksC0bO5HAMk2kNHBdj0xum1xhh12/ylbR5/49H79UQamXi1y5fIkb166Sjdt4hknakthSJ2VKpNDQVIGhC6Qmwnw7EkGNqWFnmiZpr4DjeGQyOZSn7QBHRMjoBtHN68SyG7i6iWfpmHoUKaIYmoou/oypWIYRHkTv3EVqMjzJuzbHL17y+MkzlNPJFwa9LpPhhNfvj3j74RVfh6d0Oh/pfuowGvUYDfsM+n1GgwHD0H163S69Xp/RaMzn8Zj5/IzpdIbCP/r2Y87P8yWr1YrpdMpsdsb/+rVe8325ZLFYcHFx/rdfr9chfwMl7WIwTpt4zwAAAABJRU5ErkJggg=='); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/82e29/pending-approval-banner.webp 159w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/ef33f/pending-approval-banner.webp 318w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/f1837/pending-approval-banner.webp 635w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/29549/pending-approval-banner.webp 953w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/c5420/pending-approval-banner.webp 1270w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/1cc4e/pending-approval-banner.webp 2792w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/8b9b5/pending-approval-banner.png 159w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/fa108/pending-approval-banner.png 318w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/53fb6/pending-approval-banner.png 635w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/5a426/pending-approval-banner.png 953w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/91155/pending-approval-banner.png 1270w","/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/042c1/pending-approval-banner.png 2792w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/4096caeb2d5c4cf100639fdccc9b27af/53fb6/pending-approval-banner.png","alt":"Banner indicating that listing is pending approval","title":"The FTW applications show a banner on the listing by default","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When the provider navigates to their Manage Listings page, listings\npending approval are shown with an overlay indicating the listing's\nstate."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-wrapper"],"style":"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 635px; "},"children":[{"type":"text","value":"\n      "},{"type":"element","tagName":"a","properties":{"className":["gatsby-resp-image-link"],"href":"/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/0bf1e/pending-approval-your-listings.png","style":"display: block","target":"_blank","rel":["noopener"]},"children":[{"type":"text","value":"\n    "},{"type":"element","tagName":"span","properties":{"className":["gatsby-resp-image-background-image"],"style":"padding-bottom: 63.52201257861635%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAACXBIWXMAABYlAAAWJQFJUiTwAAABR0lEQVQ4y62T227CMAyG+6rcI/GcnK5gFXQajN0MaHMscdIm3T8lHCYuxqi0SJ9sKfFvx7KzwWCA/2A4HGI0GiEbj8eYTCaYzWZ3zOdzTKdTxPu/iPF5nmO1WiHD5bRti6ZpkrXOwRgD7z36niyEAM45iqJAsV6nLJvNGxaLBZbLJYgoCcdEz5DFxz4E+ND94ANC94Wm9bDWJVrvEZP7i/2NVCFZB6FqSH2Cqs0NfaKb3zRtD0EiMF5BSImKiTtiEqnqvoIGZblHWR6x2W7P/XvJ8b77gJAKXEg41/QT5LxKMFbhcNjjeDymioWQ4EL0FDQEVjEIzsGqKMqSra4+Y3DOPSfYhQ61kfgsd5CCw1pKxL6SMWdLlEbiKviILI6HNRy6egXxLSzVIGtTcNd1Nx5VdVdh2gyy0FpDawUpJZRS6Ytxc/ryDe9OxgVF1eYBAAAAAElFTkSuQmCC'); background-size: cover; display: block;"},"children":[]},{"type":"text","value":"\n  "},{"type":"element","tagName":"picture","properties":{},"children":[{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/82e29/pending-approval-your-listings.webp 159w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/ef33f/pending-approval-your-listings.webp 318w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/f1837/pending-approval-your-listings.webp 635w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/29549/pending-approval-your-listings.webp 953w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/c5420/pending-approval-your-listings.webp 1270w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/84988/pending-approval-your-listings.webp 1927w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/webp"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"source","properties":{"srcSet":["/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/8b9b5/pending-approval-your-listings.png 159w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/fa108/pending-approval-your-listings.png 318w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/53fb6/pending-approval-your-listings.png 635w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/5a426/pending-approval-your-listings.png 953w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/91155/pending-approval-your-listings.png 1270w","/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/0bf1e/pending-approval-your-listings.png 1927w"],"sizes":"(max-width: 635px) 100vw, 635px","type":"image/png"},"children":[]},{"type":"text","value":"\n          "},{"type":"element","tagName":"img","properties":{"className":["gatsby-resp-image-image"],"src":"/docs/legacy/static/99dbdbfc6233cc27476c14f4e41296d2/53fb6/pending-approval-your-listings.png","alt":"Listing card overlay","title":"Listings pending approval are shown with an informative overlay","loading":"lazy","decoding":"async","style":"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;"},"children":[]},{"type":"text","value":"\n        "}]},{"type":"text","value":"\n  "}]},{"type":"text","value":"\n    "}]}]}],"data":{"quirksMode":false}},"headings":[{"value":"Listing approval","depth":2},{"value":"Managing listing approval in Flex Console","depth":2},{"value":"Approving listings through Integration API","depth":2},{"value":"Enabling and disabling listing approval in Flex CLI","depth":2},{"value":"Elements indicating listing approval in FTW templates","depth":2}]}},"pageContext":{"slug":"requiring-approval","category":"concepts-listings"}},
    "staticQueryHashes": ["3794076007","439097193","717698143"]}