Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Slug and Link returned in the Catalog Facets API have different formats.
Slug and Link returned in the Catalog Facets API have different formats.
ID: 998397
Backlog
Published on 3/12/2024
Last update on 3/12/2024

Summary

Catalog Facets API described here: https://developers.vtex.com/docs/api-reference/search-api#get-/api/catalog_system/pub/facets/search/-term- The response objects have the field "Slug", "Link" and "LinkEncoded". However, these fields should have the same format, but they diverge on the PriceRanges object when the value has decimal cases.

Example: Slug: "de-100-a-199.99" Link: "/category-test/de-100-a-199-99?map=c,priceFrom"

The Slug has the character "." while the Link has the character "-".

Simulation

  1. Have a category with a priceRange with decimal values.
  2. Request the facets API
  3. Check that the characters are different.

Workaround

N/A

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