Skip to content

fix: change pickup points endpoint - #2955

Merged
lariciamota merged 3 commits into
feat/delivery-promise-1.2from
fix/pickup-points-endpoint
Jul 24, 2025
Merged

lariciamota merged 3 commits into
feat/delivery-promise-1.2from
fix/pickup-points-endpoint

Conversation

@lariciamota

@lariciamota lariciamota commented Jul 23, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

We should use the endpoint from logistics to have access to the active pickup points.

How it works?

This endpoints returns the isActive info that we can use to filter the results and only show to the shopper the active pickup points.

How to test it?

Test CEPs from Recife and RJ, the first one should have a valid pickup point, while RJ shouldn't show anything in the pickup list since all pickup points in vendemo account that could work for RJ are inactive.

Recife Rio de Janeiro
Screenshot 2025-07-23 at 15 17 58 Screenshot 2025-07-23 at 15 17 45

Starters Deploy Preview

PR: https://github.com/dp-faststore-org/vendemo-dp/pull/56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

References

Jira task

@lariciamota lariciamota self-assigned this Jul 23, 2025
@lariciamota lariciamota added the bug Something isn't working label Jul 23, 2025
@codesandbox-ci

codesandbox-ci Bot commented Jul 23, 2025 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@lariciamota
lariciamota marked this pull request as ready for review July 23, 2025 18:39
@lariciamota
lariciamota requested a review from a team as a code owner July 23, 2025 18:39
@lariciamota
lariciamota requested review from hellofanny and renatamottam and removed request for a team July 23, 2025 18:39

@lucasfp13 lucasfp13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I have tested with postal codes with and without availability and the isActive filter worked as it should ✅

@lariciamota
lariciamota merged commit 29fa051 into feat/delivery-promise-1.2 Jul 24, 2025
@lariciamota
lariciamota deleted the fix/pickup-points-endpoint branch July 24, 2025 14:17
lariciamota added a commit that referenced this pull request Jul 24, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Jul 28, 2025
## What's the purpose of this pull request?

Feature branch for the Delivery Promise feature - phase 1.2 (filters by
shipping method).

- #2803 
- #2826
- #2845
- #2847 
- #2851
- #2852 
- #2847
- #2872
- #2886
- #2909
- #2916 
- #2918 
- #2922 
- #2887 
- #2944 
- #2953 
- #2956 
- #2955 
- #2961 
- #2962 

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

- [Jira epic](https://vtex-dev.atlassian.net/browse/SFS-2038)

## Checklist

**Documentation**

- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)

---------

Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Otavio Moreira Meirelles <[email protected]>
lariciamota added a commit that referenced this pull request Jul 30, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Jul 30, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lucasfp13 pushed a commit that referenced this pull request Aug 1, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Aug 1, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
hellofanny pushed a commit that referenced this pull request Aug 11, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 2, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 16, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 16, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 17, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 17, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 17, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 18, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 23, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 30, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
lariciamota added a commit that referenced this pull request Sep 30, 2025
We should use the endpoint from logistics to have access to the active
pickup points.

This endpoints returns the `isActive` info that we can use to filter the
results and only show to the shopper the active pickup points.

Test CEPs from Recife and RJ, the first one should have a valid pickup
point, while RJ shouldn't show anything in the pickup list since all
pickup points in `vendemo` account that could work for RJ are inactive.

| Recife | Rio de Janeiro |
| ---- | ---- |
| <img width="414" height="675" alt="Screenshot 2025-07-23 at 15 17 58"
src="https://github.com/user-attachments/assets/51f5f13a-6648-4720-b35b-3d03a4a80a66"
/> | <img width="416" height="675" alt="Screenshot 2025-07-23 at 15 17
45"
src="https://github.com/user-attachments/assets/42e681b3-672b-408e-8c90-6c4c815f27b5"
/> |

PR: dp-faststore-org/vendemo-dp#56
Preview: https://vendemo-cm9sir9v900u7z6llkl62l70j-9iq2gg4ij.b.vtex.app/

[Jira task](https://vtex-dev.atlassian.net/browse/SFS-2678)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants