Jump to content

Alexander_SQSP

Squarespace Employee
  • Posts

    29
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Alexander_SQSP got a reaction from creedon in Uploading Product Photo via API   
    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!
  2. Like
    Alexander_SQSP got a reaction from paul2009 in 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!
  3. Thanks
    Alexander_SQSP got a reaction from Amaya_SQSP in Issues installing the local development server   
    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!
  4. Like
    Alexander_SQSP got a reaction from Beyondspace in Can the API call for 'Retrieve a specific order' be updated to include the 'Next Order Date' for subscription orders?   
    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!
  5. Like
    Alexander_SQSP reacted to paul2009 in Shipping API integration   
    Unfortunately not.
    The API allows you to retrieve order information AFTER the order has been placed, allowing shipping to be arranged (and labels printed) but this does not allow prices to be calculated for the customer. 
    To calculate shipping in real time, the API would need to have access to the order information DURING the checkout process. This isn't currently possible.
    I appreciate this isn't good news, but I hope this helps.
  6. Like
    Alexander_SQSP reacted to AgileSSdev in Error "Failed to bind to localhost/127.0.0.1:9000" during starting up local server   
    Actually, I think the error has to do with the Port you are using. Based on the logs you've provided, the local development server is unable to start because there's a process already bound to port 9000. To address this, you'll either need to identify and kill this existing process or use a different port. The first option is mostly outside the scope of our support, but the steps looks more or less like the following:
     
    lsof -i :9000 kill -9 pid_returned_by_lsof The second option requires appending the --port flag when starting the local development server. For example:
     
    squarespace-server https://cyan-tarantula-6j7n.squarespace.com --auth --port=9001 I just hope this forum to help someone that encounter this problem like me.
  7. Thanks
    Alexander_SQSP reacted to creedon in Uploaded Javascript file not opening.   
    @Anshul-Kapoor @neilfossett
    Are your sites in trial mode? If so please see the following.
     
  8. Thanks
    Alexander_SQSP reacted to neilfossett in Uploaded Javascript file not opening.   
    Ahhh this now makes sense! Thank you very much for replying.
  9. Like
    Alexander_SQSP reacted to paul2009 in Creating an Extension   
    See:
     
  10. Like
    Alexander_SQSP got a reaction from ThisJustin in Issues installing the local development server   
    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. Like
    Alexander_SQSP got a reaction from tuanphan in What are the limitations of extensions?   
    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!
     
  12. Like
    Alexander_SQSP got a reaction from tuanphan in Adding an extension that can send cart data   
    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!
     
  13. Thanks
    Alexander_SQSP got a reaction from creedon in Adding an extension that can send cart data   
    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!
     
  14. Like
    Alexander_SQSP got a reaction from paul2009 in What are the limitations of extensions?   
    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!
     
  15. Like
    Alexander_SQSP got a reaction from tuanphan in Developer resources for building a 3rd party extension   
    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!
  16. Thanks
    Alexander_SQSP got a reaction from paul2009 in Issues installing the local development server   
    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!
  17. Like
    Alexander_SQSP got a reaction from creedon in Can the API call for 'Retrieve a specific order' be updated to include the 'Next Order Date' for subscription orders?   
    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!
     
  18. Like
    Alexander_SQSP got a reaction from creedon in Why does the API call for 'Retrieve a specific order' not provide the id of the customer?   
    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!
  19. Like
    Alexander_SQSP got a reaction from creedon in Why does the API call for 'Retrieve a specific order' not provide the id of the customer?   
    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!
     
  20. Like
    Alexander_SQSP got a reaction from paul2009 in Why does the API call for 'Retrieve a specific order' not provide the id of the customer?   
    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!
     
  21. Like
    Alexander_SQSP got a reaction from paul2009 in Profiles API doesn't support '+' characters in emails when filtering   
    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. Love
    Alexander_SQSP got a reaction from tuanphan in Developer Mode - Learning Resources?   
    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!
     

  23. Like
    Alexander_SQSP got a reaction from CodyS in Developer Mode - Learning Resources?   
    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!
     

  24. Like
    Alexander_SQSP got a reaction from creedon in Developer Mode - Learning Resources?   
    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!
     

  25. Like
    Alexander_SQSP got a reaction from paul2009 in Developer Mode - Learning Resources?   
    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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.