Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you use subdomain for webhook endpoint? #233

Open
parivajk opened this issue Apr 29, 2024 · 1 comment
Open

Can you use subdomain for webhook endpoint? #233

parivajk opened this issue Apr 29, 2024 · 1 comment

Comments

@parivajk
Copy link

Hi

We are developing a simple app for our client and have a question regarding the API use.

So on the API site under webhooks (https://developer.skroutz.gr/smart_cart/webhook/) I can read that "The webhook URL should match the shop's domain and it should follow secure HTTP (HTTPS)"

My question: can we use sub-domain? Like: https://subdomain.shop.gr/smart_cart_orders

Looking forward for any input.

@fotistsisk
Copy link
Collaborator

Hello from Skroutz!

Yes, you can use a subdomain for the webhook URL. The key requirement is that the domain of the webhook URL should match the shop's domain. Therefore, a subdomain like https://subdomain.shop.gr/smart_cart_orders is perfectly acceptable, as long as shop.gr is the domain of your shop.

Please ensure that the webhook URL is served over HTTPS for secure communication.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants