Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Create product API doesn't send nulls as Release Date values.
Create product API doesn't send nulls as Release Date values.
ID: 1024207
Backlog
Published on 4/29/2024
Last update on 4/29/2024

Summary

When using the create or update product APIs in the catalog application: https://developers.vtex.com/docs/api-reference/catalog-api#post-/api/catalog/pvt/product and sending the field releaseDate as null, in its value, it is created with the current date instead.

Simulation

1 - Create or update a new product, in your store, via the mentioned API, passing, in its request body, the releaseDate field as a null. 2 - Access the catalog admin UI or use a GET in the same API path to fetch the sent data 3 - The releaseDate field will be displaying the sent date's value instead of a null.

Workaround

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback