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

WIP - [VTEX] Feat: add new types and cancel order action #945

Merged

Conversation

yuriassuncx
Copy link
Contributor

@yuriassuncx yuriassuncx commented Oct 25, 2024

What is this Contribution About?

This PR implements a new action to cancel orders in the VTEX API and adds a new type for OrderItem.

Key Changes:

  1. Cancel Order Action:

    • Introduced an asynchronous function that cancels an order using the appropriate endpoint, returning the details of the canceled order or null on failure.
  2. New Type for OrderItem:

    • Added the Package interface, which includes information about invoices, tracking number, tracking url and delivery status, enhancing the structure of order items.

Motivation:
These changes aim to improve the cancellation functionality and the handling of order data within the application.

Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.62.17 update
  • 🎉 for Minor 0.63.0 update
  • 🚀 for Major 1.0.0 update

@marcoferreiradev marcoferreiradev merged commit c779bcc into deco-cx:feat/myaccountvtex Oct 28, 2024
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

Successfully merging this pull request may close these issues.

6 participants