commercetools / nodejs

Everything related to the Node.js ecosystem for the commercetools platform.
https://commercetools.github.io/nodejs/
MIT License
75 stars 70 forks source link

feat(DiscountCodes): add `setKey` action #1892

Closed ragafus closed 3 months ago

ragafus commented 3 months ago

Summary

The key field of a DiscountCode will be modified in the scope of https://commercetools.atlassian.net/browse/PRC-3476 https://github.com/commercetools/merchant-center-frontend/pull/16925

This PR adds the setKey action to DiscountCodes.

Description

Docs https://docs.commercetools.com/api/projects/discountCodes#update-actions

Todo

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 87141bbad9be1fb2e234c57f85ef2aa5d2563a67

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @commercetools/sync-actions | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.75%. Comparing base (a4de02c) to head (87141bb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1892 +/- ## ======================================= Coverage 94.75% 94.75% ======================================= Files 147 147 Lines 5057 5057 Branches 1375 1375 ======================================= Hits 4792 4792 Misses 262 262 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.