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

AlexD

Squarespace Employee
  • Posts

    23
  • Joined

  • Last visited

Everything posted by AlexD

  1. Hello @Vathson, thanks for posting your question! Can you do a quick test if you're able to connect to your remote repository via terminal instead? You can type the following in your terminal: sftp -P 2030 <your-account-email-address>@dev.squarespace.com If you can connect without issues, it could be related to the settings you're using with your client. In that case, I'd recommend checking this guide. If the problem persists, please reach out to our support!
  2. Hello @Ima, Thanks for posting your question! I will echo @summitdigitaluk and recommend to get in touch with our support folks, so we can have a look at this. Thanks, Alex
  3. Hello @ksho, Thanks for posting your question! This example currently works for me, though I am not exactly sure the syntax in your example is correct: import requests url = "https://api.squarespace.com/1.0/commerce/products/<product id>/images" files=[ ('file',('<filename>',open('<path to image>','rb'),'image/jpeg')) ] headers = { 'Authorization': 'Bearer <api key>', 'User-Agent': '<your user-agent>' } response = requests.request("POST", url, headers=headers, files=files) print(response.text) Also, check that your images meets the platform requirements Let me know if this resolves the issue!
  4. Hello @JoeyS, Thanks for posting your question! If you're interested in building an extension, you can request OAuth credentials through this form: https://partner.squarespace.com/oauth-form When you receive the credentials, you can follow the documentation on how to use the Commerce APIs using OAuth 2.0: https://developers.squarespace.com/oauth What you see on our main page are official extension that have been handpicked by us. If you are interested in a collaboration, first build your extension and get some traction, and Squarespace will eventually reach out to you. Let me know if you have any additional questions!
  5. Hello @creedon, Thanks for sharing your use case! I confirm that I have submitted a feature request to our engineering teams. Have a great rest of the week!
  6. Hello @JoeyS, Thanks for posting your question! We do not currently offer an API to retrieve or add items to the cart. Since we're unable to offer this functionality currently, what I can do is submit this as a feature request to our Product and Development teams. Although we can't guarantee feature implementations, all requests are reviewed and we always appreciate the feedback. Thanks, Alex
  7. Hello @samroberts15, Thanks for posting your question! In order to build an an extension for Squarespace, you'll need to request OAuth credentials through this form: https://partner.squarespace.com/oauth-form I am also including a guide on how to use our Commerce APIs: https://developers.squarespace.com/commerce-apis/overview Let me know if you have additional questions!
  8. Hello @TopDoris, Thanks for posting your questions! 1) Since each subscription renewal creates a new order, the Orders.Create webhook should trigger a notification. 2) The 'Next Order' date should remain unchanged regardless of the payment status. Thanks!
  9. Hello @TopDoris, Thanks for your response! Your message was clear, and we understand your use-case! Thanks, Alex
  10. Hello @ThisJustin, Thanks for posting your question! This error is caused by an issue our end, I'm sorry for the trouble. Unfortunately the Development Server does not support the ARM-based architecture your M1 Mac is using. I made a record of this for our Engineering to review, however I do not not currently have an ETA for this implementation. Feel free to post in the thread if you have any additional questions!
  11. Hey @TopDoris, Would you be able to share a few notes about your specific use case? The reason why I am asking this is because it will help our Product and Development teams understand how you'd use subscription product related information. Thanks!
  12. Hello @TopDoris, Thanks for your response. I can certainly see the importance of having this information available via API. I confirm that I've submitted a feature request. Although all requests are tracked, I currently do not have an ETA in regards to the implementation of such feature. Thanks for your feedback and let us know if you have additional questions!
  13. Hello @TopDoris, Thanks for your response! I see what you mean. Unfortunately our APIs or WebHooks do not return this information. Since we're unable to offer this functionality currently, what I can do is submit this as a feature request to our Product and Development teams. Although we can't guarantee feature implementations, all requests are reviewed and we always appreciate the feedback. Feel free to leave a comment if you have any further questions! Thanks,
  14. Hello @TopDoris, Thanks for posting your question! The /orders API endpoint should return all relevant information included in the confirmation email sent after purchasing a subscription product. I've attached to my response two images of confirmation messages that are sent to merchants and customers. Could you clarify where the 'Next Order Date' would be located? I also wanted to clarify that our current WebHooks offering would only return notifications in regards to order creation, update and when a subscription is uninstalled. Thanks!
  15. Hello @Linhttd, Thanks for posting your question! Because this wasn't designed to be used as an API endpoint, there isn't a dedicated rate limit. With that said, we have an internal rate limit that blocks requests to a site if they exceed a certain threshold. Feel free to post a comment should you have any further questions!
  16. Hello @TopDoris, Thanks for your response! I would not be able to provide additional information in regards to the reason why the API was designed that way, however I can see the benefit of having a customer ID returned. I also confirm that I have submitted a feature request on your behalf. Our products continuously evolve thanks to our customers feedback, so I do appreciate your input!
  17. Hello @TopDoris, Thanks for posting your question! Currently the Orders API does not return the customer ID and this is an intended behavior. Since we're unable to offer this functionality currently, what I can do is submit this as a feature request to our Product and Development teams. Although we can't guarantee feature implementations, all requests are reviewed and we always appreciate the feedback. Feel free to leave a comment if you have any questions!
  18. Hello @MarkDG, Thanks for posting your question! You can access JSON-T data without activating Developer Mode. You could make a GET request to your site appending "?format=json-pretty" at the end of the URL. With that being said, this method should not be used as an API as it hasn't been designed for this specific purpose. Feel free to leave a comment should you have more questions!
  19. Hello @dearnaomichan, Thanks for posting your question! This issue is currently an expected behavior. Due to recent changes, any sites in Trial Mode will not have external access to uploaded files. Once a site is upgraded to a paid plan, file access will work as normal. Feel free to leave a comment if you have any additional questions!
  20. Hello @MikeZyeman, Thanks for posting your question! The Developer API keys won't allow you to retrieve that type of content from your site. You can indeed append ?format=json-pretty at the end of the page URL to retrieve JSON data from that page, but it should not be used as an API endpoint as it wasn't designed for that purpose. If you have additional questions, feel free to leave a comment.
  21. Hi @hrfrederiksen, Thanks for posting your question! I confirm that this issue is related to how Squarespace filters parameters. Our engineers are aware of the problem and are working to fix it. We appreciate your input, If you come across any other unusual behavior, please let us know! Thanks, Alex
  22. Hi @CodyS, Thanks for posting your question! .region files define the layout of your site. If you need more flexibility, you can create multiple .region files so that you can have various layouts for your site. After creating these files and referencing them in the template.conf file, you can change a layout directly on the Squarespace editor, in the Advanced panel of a page. You can read more about layout and regions on our official guide here. If you have additional questions, feel free to leave a comment!
×
×
  • Create New...