Menu
Feedback
Start here

Known issues

Known issues
Create product API doesn't send nulls as Release Date values.
Catalog
ID: 1024207
Backlog
Published on4/29/2024
Last updated on4/29/2024
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback