Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Search the Community

Showing results for tags 'api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles
  • Colorado Designers's Topics
  • Squarespace Forum Club Guidelines's Topics
  • Austin, TX Designers's Club Discussion
  • New York City Designers's Club Discussion
  • Berlin Designers's Club Discussion
  • SEO Experts's Club Discussion
  • Photographers's Club Discussion
  • Graphic Designers's Topics
  • London Designers's Topics
  • Podcasters's Club Discussion
  • Custom Coding Help's Club Discussion
  • Atlanta, GA Designers's Topics
  • Seattle, WA Designers's Topics
  • San Diego, CA Designers's Topics
  • Dallas, TX Designers's Topics
  • Australia Designers's Club Discussion
  • Minnesota Designers's Topics
  • Minnesota Designers's Topics
  • Copywriters's Topics
  • France Designers 🇫🇷's Topics
  • France Designers 🇫🇷's Topics
  • Portland, OR Designers's Topics
  • Canadian Website Designers's Club Discussion
  • Los Angeles Designers & Devs's Club Discussion
  • South African Designers's Club Discussion
  • Brazil Designers's Club Discussion
  • Developers's Club Discussion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location


Badges


Expert ID

Found 57 results

  1. Site URL: https://www.maisonlouno.com Hi! I'm starting to work with a shipping center for my business. The shipping center has managed to connect their API on my Squarespace site, but miss one last step which the Squarespace support team can't help me with: creating a new metadata field on orders. The aim of the field is to give status whether or not an order has been transferred to the shipping center API. This way we can check in case an order isn't transferred. The field must be changeable by API. Please can any of you help with this? Where to change in the code? What to write? Many thanks!! Louise
  2. Hi, friends! I'm hoping for some help regarding webhooks. Is it possible to POST a webhook (using Zapier) in order to autofill and submit a form that lives in SquareSpace? Surely this is possible, but I just can't figure it out. Thank you in advance!
  3. Hi, I am creating a website and I need to add information from another website into several sections of my website. In other words I need their counter to appear in my website through a Reporting API. Can anyone guide me o how would I proceed? The information I have been provided is the following. REPORTING API Get direct access to your impact stats. You do not need to authorise your requests when using the reporting API. GET https://public.ecologi.com/users/levocorp/trees JSON { "total": number } I have no idea where to insert these and how to write code to be able to insert these.
  4. Site URL: https://locqar1.squarespace.com/order I want to post my form data to an external API, but Im unable to override the default submit. I tried using a jquery listener for the submit button but it didn't trigger. Does anyone have any help? IF you need to access the site, the password is 123456
  5. Hi all, I'm building a site that requires some data from an external API. Is is possible to call an API from within Squarespace? Is there any documentation describing this?
  6. Site URL: http://www.nycrentdeals.com/ I built a React app for a website that displays real estate listings. The data for these listings is stored in a SQL database and the React app handles the heavy lifting of querying this database and displaying the results on the frontend to the site visitor. I'm considering switching to a more easy-to-use frontend service like Squarespace but I'm having trouble understanding if I can still use my database with Squarespace. Ideally when a visitor comes to my Squarespace site the site will query the database for the latest listings and display them. I can expose the data through a RESTful API if that's what it takes, but I can't find any Squarespace documentation explaining how to serve up the variable listings on the frontend. Is this possible? Links / resources greatly appreciated! Thanks, Alex
  7. Site URL: http://carol-colin.squarespace.com/orangessardines-press My store is set up connected to Stripe to accept credit cards. Purchases have been made. But, my cart is not secure. I think I need to insert live API keys someplace. How do I do this??? I have copied and saved them. Incidentally, the Squarespace 'contact us' to email for help is broken, as far as I can see online. The page loads as a long column of black on white text, and clicking 'contact us' just brings me back to the top. I have already emailed with Stripe and they said Squarespace has to help me set up the API keys. Please help me.
  8. We were prompted to reconnect our Shipstation account and Squarespace store on 1st August 2020. Ever since our orders are pulling through to our fulfillment company, James & James, incorrectly. Orders are usually pulled from Squarespace > Shipstation > James & James, and have been working for years absolutely fine. But now discounts are showing in James & James as a line item, i.e. a product, which is stopping the order being pulled through to James & James. Squarespace (who updated on 1st August, the only change), Shipstation and James & James have all come up blank with any help. Does anyone know what might be causing the problem and a possible solution to this? Thanks!
  9. Site URL: https://muffinarmstrong.com.au/ Is there a way to create a Product API for Google Merchant Centre so that I don't have to manually load each product manually for Google Shopping Ads?
  10. Hello fellow Circle, Here in Denmark, Scandinavia we have a thing called Mobilepay – that means we can pay with an app via smartphones. Many clients wish to have it avaliable online on their webshop – besides Paypal, apple etc. Question is: Can MobilePay be integrated on Squarespace Commerce using the API feature? Is it easy to setup without dev.mode?
  11. How do you handle authentication and requests to a third party api to display content on a page. Specifically to return a list of books from google or amazon to show their thumbnails and titles. I would typically use an sdk to handle authentication - whether server or browser side and then run a static site on a server to handle requests. Just have no idea how to integrate into Squarespace infrastructure.
  12. Site URL: http://s15.squarespace.com/guitar-kids-a-lesson1 My embedded iframe YouTube videos (with 'start' and 'end' parameters) DO NOT play on MOBILE. // MY FIRST ATTEMPT - Youtube iFrame I used the following YouTube iframe in a code block. <div style="position:relative;padding-top:56.25%; margin-top:0px;"> <iframe width="100%" height="100%" src="https://www.youtube.com/embed/x7qfdYyHJ_c?start=285&end=340" frameborder="0" style="position:absolute;top:0;left:0;width:100%;height:100%;" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> </iframe> </div> This code works great on Desktop! But NOT ON MOBILE (it just bombs out.) From what I can gather, this is a limitation of the YouTube iframe embed functionality, which only works on Desktop when you call start/end parameters. // POSSIBLE SOLUTION - Javascript with Youtube api Step 1: Use javascript/jquery with the YouTube api instead of an iframe, to call the video with the parameters. Step 2: Ensure that when the visitor plays the video a second time (or more), that the video again plays from the intended 'start' position, and not jump to the beginning. // STEP 1 I found this (related) tutorial on Stack Overflow. ...but I don't know how to incorporate this into SquareSpace. What goes in the header, and in the body? How to set the start and end variables? -- // STEP 2 Once Step 1 works for mobile, then my next step would be to ensure when the user watches the segment for a second or third time, that each time the video should again start at the intended 'start' position, and not to jump to the beginning of the video. I found this related tutorial... ...but again, I don't know how to incorporate it into SquareSpace. -- Your help will be greatly appreciated. Kind regards Pierre PW: swallow15_pw
  13. Does data entered via a custom product form and / or custom checkout form get transmitted in the Advanced Commerce API tools (either the Orders API, Transactions API, or Inventory API)? Can't find any definitive answer on this matter elsewhere, though it is kind of implied that it does on this help page. Thanks for any help!
  14. Site URL: https://dragonfly-fennel-r5xx.squarespace.com/config/ Hi I'm brand new to squarespace and trying to edit my wife's website. I'm a developer and editing 7.1 is a huge pain. The main reason is that I cannot simply add custom classes and ids. I've written scripts and included them in the footer to inject classes and ids but a better solution would be to be able to do this via an api. Would it be possible to inject scripts in my website via the api instead of the editor panel? Thank you.
  15. I would like to make a fetch request from my squarespace site to a weather data provider. The code works fine when I write it into a code block directly on the page. My issue is that the code contains an API key that I want to keep secure, yet accessible. My strategy to keep this "simple" was to use the method described in this article to upload my file that runs the script which uses the API key, and then reference that file using <script src="/s/javascriptfile.js"></script> The biggest question is whether storing an API key in an uploaded file linked on a disabled page and then referencing that file is a secure way to access the API key without showing it to the world. The next question is do I really need to wait overnight for the references to uploaded files to work? That is one of the problems noted in the same article. Thanks!
  16. I would like to calculate number of trees to be planted per transaction and POST to https://offset.earth/ API. Would also like to show to customers in the order confirmation how many trees they planted for this transaction. would anyone know how to achieve this in squarespace? Thanks in advance
  17. Site URL: https://whitecalmvirtual.squarespace.com/ Can JSON API integration work with SS? https://api-docs.disciplemedia.com/#customer-sso { "users": [ { "id": 9, "email": "oberbrunner1wesmr@kleinratke.io", "display_name": "Mr. Wes Oberbrunner1", "last_active_at": "2019-02-26T12:59:27.887173Z", "created_at": "2019-02-26T12:59:27.886013Z", "last_platform": "ios", "avatar": { "url": "https://disciple-development.s3.eu-west-1.amazonaws.com/test/test1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJMMN5US3EENR4M7A%2F20190226%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20190226T125956Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=ec8420c453fb6b2fcdc915db63711547c74ba02e5821b298895bca9b76730b09" }, "country": "US", "member_sso_id": "34ce0901716709580fa5" } ] }
  18. Site URL: https://www.maestros-online.com Hi all, Very new to web design so apologies if this is a basic question. I'm looking to have my site display currencies in plain text on the home page. For now, I just want to be able to fetch the visitor IP and produce a symbol based on the location. IP Stack has a free API that I can use, and looking through the documentation, I assume I need to inject this code into the header script to log in and fetch the Symbol variable: <script> // set endpoint and your access key var ip = '134.201.250.155' var access_key = 'APIKEY'; // get the API result via jQuery.ajax $.ajax({ url: 'http://api.ipstack.com/' + ip + '?access_key=' + access_key, dataType: 'jsonp', success: function(json) { // output the "symbol" object inside "currency" alert(json.currency.symbol); } }); </script> So I have an alert - json.currency.symbol, but how would I then print this in the text? I assume I need to create a source code block, and then do something like: <script> var output = document.getelementbyID('output'); output.innerHTML= json.currency.symbol; </script> Am I anyway near on this? Thanks for the help
  19. Site URL: https://1lifeproducts.com Hello,Hoping someone can help... I have completed the squares API Form using Nodejs on my local server and Im accessing squarespace servers locally -- whats the best way to integrate/insert my square form which is running on localhost:3000 into my sqarespace development template running on localhost:9000 so square payment processing is up and running properly on my clients squarespace ecommerce site.... Thanx so much in advance Mike
  20. Hello, Could you please let me know any Rest API for upload/Share image in Square space website ?
  21. I want to integrate a print on demand API with Squarespace. I have the API documentation and API codes from the print company but no idea how to integrate this with my store. I'm not a developer. Can anyone help me with how to do this?
  22. I am trying to setup integration with an affiliate program. I'm sending an XHR to the affiliate on order confirmation (using the code-injection tool), but I can't figure out what the SquareSpace variable is to get the discount code. I need to include this in the JSON I'm sending. Does anyone know what that variable is called? What I have already is below. I've tested it with hardcoded data to confirm that it does work correctly, but I need to know what that "coupon" variable is on the SquareSpace side. <script type="text/javascript"> let request = new XMLHttpRequest; request.open("POST", "AFFILIATE_LINK"); request.setRequestHeader('Api-Key', 'APIKEY'); request.setRequestHeader('Content-Type', 'application/json'); request.send(JSON.stringify({ "coupon": promoCodeThatINeedFromSquareSpace, "amount": {orderSubtotal}, "customer_id": {customerEmailAddress}, "external_id": {orderID} })); </script> Thanks in advance for any help!
  23. I would like to upload data from a script that performs genetic analyis on a small supercomputer in real time, in the forms of text, graphs and images. I am new to webside coding so have been reading up and have thought about the use of an API however non of the ones ss offer seem to fit. To simplify the issue I was wondering if somone could show me how to do the following as an example; On my computer I have a script weather.london.sh which updates the file temp.txt with the temperature in london every 10 minutes How would i go about making a block for my site which displays "The temperature in london is x degrees C" I apologise for the lack of specificity.
  24. I would like to look up the order IDs associated with a customer account, searching on customer information. Ideally, I would search customer name or phone number, and find all orders associated with that customer. It doesn't look like the APIs support this. The only workaround that I see is Retrieving All Orders and then parsing through them to match Name/Phone within billingAddress or shippingAddress. This could be incredibly lengthy, given the amount of order volume. We won't necessarily know the modifiedBefore/After information to time-box and reduce the number of returned orders. Any help would be greatly appreciated!
  25. Site URL: https://bumblebee-koala-rze5.squarespace.com/ I have an another internal site. If I add any data on the site then I should be able to add the blog on squarespace site as well. For this, When a data/blog is added on my site, I'll call a REST API of squarespace site to add the blog. Is there any way we can do that? Are any such APIs available to add blogs? Hoping for quick response. Thanks.
×
×
  • Create New...