Greetings, I am currently immersed in working with a Shopify app that utilizes React. Unfortunately, I do not have access to their code base or API.
The challenge at hand is sending the correct delivery date to the Shopify system. The app currently allows customers to choose a billing date, but we aim to switch this to a delivery date.
Our delivery dates are limited to Tuesdays and Fridays based on zip codes, with billing dates set as 2 days before the delivery date. Therefore, my goal is to have customers select a specific date while ensuring that the actual date sent to the Shopify system reflects a deduction of 2 days from their chosen day.
I am restricted to using vanilla JavaScript for code manipulation, but I am unsure where to begin. Your assistance in solving this issue would be greatly appreciated.
Asking the app's technical team for the API was fruitless, as they do not provide access to it.