-
Posts
29 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Alexander_SQSP's Achievements
-
creedon reacted to a post in a topic: Uploading Product Photo via API
-
Hello @Greg_C, It isn't possible to cancel a pending order via our API. You can only create or fulfill an order. Let me know if you have any other questions! Thanks, Alex
-
paul2009 reacted to a post in a topic: Cancel an Order using Commerce API
-
Hello @Greg_C, Thanks for posting your question! Cancelled orders can not be un-cancelled as per our documentation . With that said, our API allows you to mark an order from "Pending" to "Fulfilled". Let me know if you have any other questions!
-
Amaya_SQSP reacted to a post in a topic: Issues installing the local development server
-
Where can I pull the pickup information in the orders API?
Alexander_SQSP replied to bmannino's topic in Customize with code
Hello @bmannino, Thanks for posting your question! The Orders API does not include new Pickup Options provided in the Commerce panel, however you could create a custom checkout form where you collect pickup information. Data from the form will be included in the formSubmission list. Thanks @paul2009 for tagging me. -
Getting error while connecting Squarespace server
Alexander_SQSP replied to Vathson's topic in Customize with code
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!- 3 replies
-
- brine-template
- developer-platform
-
(and 2 more)
Tagged with:
-
Alexander_SQSP reacted to a post in a topic: Shipping API integration
-
Unable to start local development server
Alexander_SQSP replied to Ima's topic in Customize with code
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 -
Alexander_SQSP reacted to a post in a topic: Error "Failed to bind to localhost/127.0.0.1:9000" during starting up local server
-
Alexander_SQSP reacted to a post in a topic: Uploaded Javascript file not opening.
-
Alexander_SQSP reacted to a post in a topic: Uploaded Javascript file not opening.
-
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 replies
-
- product-page
- photos
-
(and 3 more)
Tagged with:
-
Alexander_SQSP reacted to a post in a topic: Creating an Extension
-
ThisJustin reacted to a post in a topic: Issues installing the local development server
-
tuanphan reacted to a post in a topic: What are the limitations of extensions?
-
What are the limitations of extensions?
Alexander_SQSP replied to JoeyS's topic in Customize with code
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! -
Adding an extension that can send cart data
Alexander_SQSP replied to JoeyS's topic in Customize with code
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! -
Adding an extension that can send cart data
Alexander_SQSP replied to JoeyS's topic in Customize with code
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 -
Developer resources for building a 3rd party extension
Alexander_SQSP replied to samroberts15's topic in Customize with code
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! -
template Issues installing the local development server
Alexander_SQSP replied to ThisJustin's topic in Customize with code
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! -
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!