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

Remove sale price set previously through content api #2592

Open
AaronHibbett opened this issue May 17, 2024 · 1 comment
Open

Remove sale price set previously through content api #2592

AaronHibbett opened this issue May 17, 2024 · 1 comment

Comments

@AaronHibbett
Copy link

Through Google_Service_ShoppingContent_Product I am unable to set the sale price of a product to empty, as I must supply a Price object to the function, which seemingly cannot be set in a way to null the sale price. As no sale scheduling is used on the connected site, is there as way to set this to empty this as part of the api? Or a best practice way of avoiding this potential limitation, for example by setting the effective date into the past once the sale price is removed on the site?

@Hectorhammett
Copy link
Contributor

Hello @AaronHibbett! Thanks for your message.

Do you have an example code for us to take a look at?

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