Carlos R. L. Rodrigues
f415e6664c
feat(core-flows,order,medusa): exchange endpoints ( #8396 )
2024-08-06 06:28:27 -03:00
Carlos R. L. Rodrigues
5125d1328d
chore(medusa,core-flows): cart payment collection link ( #8457 )
2024-08-06 06:12:21 -03:00
Harminder Virk
0dab340013
feature: add hooks to customers modules workflows ( #8442 )
2024-08-05 15:16:32 +05:30
Harminder Virk
0706bab663
feature: introduce additional_data to the product endpoints ( #8405 )
2024-08-05 09:24:49 +05:30
Riqwan Thamir
ce8c90838d
fix(core-flows,utils,medusa): fix bug where payment collection across orders were getting updated ( #8401 )
...
This took embarrassingly long to debug. :|
what:
- fixes a bug where the payment collection of other orders were getting updated
- adds order status to payments section
<img width="1069" alt="Screenshot 2024-08-02 at 08 37 38" src="https://github.com/user-attachments/assets/31776bd3-e6b9-4d23-8be6-f972f7316cf3 ">
<img width="1072" alt="Screenshot 2024-08-02 at 08 37 48" src="https://github.com/user-attachments/assets/38cdd8a1-9f31-4920-91bf-a3554e298960 ">
2024-08-02 08:34:42 +00:00
Stevche Radevski
3a068c6b27
feat: Use tag ids instead of values wherever possible ( #8394 )
2024-08-02 09:22:03 +02:00
Riqwan Thamir
7ae1d80380
feat(dashboard,types,js-sdk,payment): ability to refund payment in order page ( #8385 )
...
* feat(dashboard,types,js-sdk,payment): ability to refund payment in order page
* chore: use confirmation variant for capture payment
* chore: change refund design accords to figma
* chore: move to js-sdk + currency input
2024-08-01 19:13:41 +02:00
Oli Juhl
dbd0b18726
feat: Add requested_at + open status to return ( #8391 )
...
* feat: Add requested_at + open status to return
* Update return in confirm claim workflow
* Revert snapshot
* feat: Change OrderChangeType
* fix test
2024-08-01 16:20:45 +02:00
Adrien de Peretti
f81652bf6e
chore(framework): Move and improve routes loader ( #8392 )
...
* chore(framework): Move and improve routes loader
* cleanup
* fix(framework): import
2024-08-01 16:18:42 +02:00
Frane Polić
7b86fc2176
feat(dashboard, types, js-sdk): Claims client, hooks and types ( #8370 )
2024-07-31 13:37:43 +00:00
Kasper Fabricius Kristensen
6629be92e1
feat(dashboard,medusa,types): Add Product Tag management ( #8349 )
...
Resolves CC-69
2024-07-31 07:21:09 +00:00
Carlos R. L. Rodrigues
169953ad1e
fix(core-flows): delete receive return action ( #8350 )
2024-07-30 12:48:50 +00:00
Carlos R. L. Rodrigues
48663479a9
chore(core-flows): cancel claims ( #8342 )
...
What:
* `DELETE /admin/claims/:id/request`
* `POST /admin/claims/:id/cancel`
2024-07-30 08:59:02 +00:00
Carlos R. L. Rodrigues
ed67d44d28
fix(core-flows,order): update action ( #8333 )
2024-07-29 12:51:51 -03:00
Carlos R. L. Rodrigues
42c80e4264
Chore/order claims 2 ( #8312 )
2024-07-29 10:15:35 -03:00
Riqwan Thamir
5fc5f2c35f
feat(medusa): add stock_location_id filter to providers api ( #8319 )
...
what:
- adds a filter to fulfillment providers API to scope by stock locations
RESOLVES CC-260
2024-07-29 08:30:53 +00:00
Oli Juhl
feabe0e6c0
feat: update return request ( #8302 )
2024-07-26 19:41:21 +02:00
Riqwan Thamir
71411463b1
feat(core-flows,medusa): add endpoint to add/remove fulfillment providers to location ( #8299 )
...
what:
- add endpoint to add/remove fulfillment providers to location
- specs cleanup from previous PR
RESOLVES CC-259
2024-07-26 14:35:19 +00:00
josetr
74d0d166b3
Cart API should also return billing_address.province by default ( #8293 )
...
* Cart API should also return billing_address.province by default
* Add shipping_address.company & billing_address.company fields
2024-07-26 12:14:05 +02:00
Stevche Radevski
5d9ea4f718
fix: Also apply simple type to operator map ( #8278 )
2024-07-25 16:54:42 +02:00
Stevche Radevski
6d0650818a
feat:Add confirmation step to product import ( #8284 )
...
CLOSES CC-251
2024-07-25 14:54:31 +00:00
Harminder Virk
7f4b085964
refactor: revert to using middlewares.ts file ( #8280 )
2024-07-25 17:16:38 +05:30
Carlos R. L. Rodrigues
ccfbc0accf
chore(core-flows,medusa): order claims ( #8271 )
2024-07-25 06:33:35 -03:00
Stevche Radevski
a26b7cf253
feat: Implement notifications feed ( #8224 )
...
Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

CLOSES CC-219
2024-07-25 07:37:01 +00:00
Harminder Virk
0bd46c97b7
breaking: remove loading middlewares file in favor of routes-config files ( #8274 )
2024-07-25 12:53:35 +05:30
Frane Polić
f7d1cd259e
feat(dashboard, order, medusa, types, js-sdk): Request return e2e flow ( #7848 )
2024-07-24 19:19:00 +02:00
Harminder Virk
ca88f204d4
feat: Extending API routes validators ( #8254 )
2024-07-24 14:36:41 +05:30
Carlos R. L. Rodrigues
7a5349c0ae
chore(core-flows): adjust inventory when return is received ( #8222 )
2024-07-23 13:36:46 -03:00
Stevche Radevski
4b09be3a88
feat: Add skeleton for supporting product imports in BE ( #8232 )
2024-07-23 11:16:14 +02:00
Frane Polić
223325eb09
feat: allow filtering returns by order_id ( #8225 )
2024-07-22 21:09:14 +02:00
Carlos R. L. Rodrigues
037ddd2cec
fix(medusa): GET return/:id ( #8226 )
2024-07-22 21:08:13 +02:00
Adrien de Peretti
c307972a99
chore(medusa): rm default created at field ( #8213 )
...
**What**
To maintain the backward compatibility, we use to populate `created_at` no matter what. But since we can break things from v1, I ll remove it as we moved the default ordering to the repository layer
2024-07-22 08:20:14 +00:00
Stevche Radevski
56f2ddc4b6
feat: Add notification endpoints for admin ( #8196 )
2024-07-19 22:00:53 +02:00
Carlos R. L. Rodrigues
07205e4249
fix(utils): totals calculation ( #8190 )
2024-07-19 06:49:49 -03:00
Carlos R. L. Rodrigues
535832b692
chore(medusa, core-flows): receive item return request ( #8172 )
...
What:
* `POST /admin/returns/:id/receive-items`
* `POST /admin/returns/:id/receive-items/:action_id`
* `DELETE /admin/returns/:id/receive-items/:action_id`
* `POST /admin/returns/:id/dismiss-items`
* `POST /admin/returns/:id/dismiss-items/:action_id`
* `DELETE /admin/returns/:id/dismiss-items/:action_id`
* `POST /admin/returns/:id/receive/confirm`
CLOSES: CC-190, CC-191, CC-192, CC-193, CC-195, CC-196, CC-197
* Inventory management isn't included yet. Will add it in a next PR
2024-07-18 14:46:34 +00:00
Stevche Radevski
8d083d6d0f
feat: Add product export endpoint and a dummy workflow ( #8178 )
2024-07-18 15:19:15 +02:00
Carlos R. L. Rodrigues
1a472733ae
chore(medusa,core-flows): begin and cancel receive return ( #8171 )
...
What:
* `POST /admin/returns/:id/receive`
* `DELETE /admin/returns/:id/receive`
CLOSES: CC-189
2024-07-18 12:55:04 +00:00
Stevche Radevski
c58a35f0c0
feat: Add support for private files to file module ( #8169 )
2024-07-18 09:46:10 +02:00
Carlos R. L. Rodrigues
1acfdc4ffe
chore(core-flows, medusa): cancel request return ( #8153 )
...
* fix(core-flow): request item return reason
* chore(core-flows): cancel request return
2024-07-17 09:35:46 +01:00
Carlos R. L. Rodrigues
d4fe2daa57
fix(core-flow): request item return reason ( #8152 )
2024-07-17 09:35:33 +01:00
Carlos R. L. Rodrigues
23053afe95
chore(medusa,core-flows): update request return items and shipping ( #8151 )
2024-07-16 15:23:28 -03:00
Harminder Virk
f579f0b3be
feat: restructure events payload ( #8143 )
...
* refactor: restructure events payload
Breaking change: This PR changes the event payload accepted by the event
listeners
* refactor: fix failing tests and implement feedback
* add integration tests
* fix timeout
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-07-16 17:09:16 +01:00
Carlos R. L. Rodrigues
5813216c88
core(core-flows, medusa): remove request item return ( #8146 )
2024-07-16 11:23:34 -03:00
Oli Juhl
4024935e91
feat(medusa): Order preview endpoint ( #8144 )
...
* feat: Add order preview endpoint
* remove log
* add test
* add note
2024-07-16 12:42:02 +01:00
Carlos R. L. Rodrigues
7123f9ff63
feat(core-flows,medusa,order): remove return shipping ( #8137 )
...
What:
* `DELETE /admin/returs/:id/shipping_methods/:action_id`
FIXES: CC-187
2024-07-16 10:27:16 +00:00
Oli Juhl
b7e6b1461b
feat: Returns order previews ( #8135 )
...
* work on order previews
* fix create return shipping flow
* fix http tests
* fix tests
2024-07-16 11:07:04 +01:00
Oli Juhl
ffd4b195ee
feat: Add exchange return shipping ( #8108 )
...
* wip
* finalize tests
* feat: Add exchange return shipping
* add shipping to preview
* test input
* move utils and ignore already inserted shipping method
* use custom price
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-07-15 22:04:20 +02:00
Oli Juhl
00c7900337
feat: Admin Returns API ( #8117 )
...
* feat: Add request item + add shipping APIs
* wip
* finalize workflow
* move steps
* add returns to js-sdk
* few chores
* fix test
* fix another test :)
2024-07-15 15:57:06 +02:00
Kasper Fabricius Kristensen
b5a44ef6b1
feat(dashboard,medusa): Add updated Metadata Form ( #8084 )
...
**What**
- Adds new Metadata form component.
- Adds the Metadata section as an option to the Page layouts
<img width="576" alt="Skærmbillede 2024-07-11 kl 11 34 06" src="https://github.com/medusajs/medusa/assets/45367945/417810ee-26e2-4c8a-86e3-58ef327054af ">
<img width="580" alt="Skærmbillede 2024-07-11 kl 11 34 33" src="https://github.com/medusajs/medusa/assets/45367945/437a5e01-01e2-4ff7-8c7e-42a86d1ce2b3 ">
**Note**
- When Metadata contains non-primitive data, we disable those rows, and show a placeholder value, a tooltip and an alert describing that the row can be edited through the API. I want to add a JSON editor to allow editing these things in admin, but awaiting approval on that.
- This PR only adds the new form to a couple of pages, to keep the PR light, especially since metadata is not implemented correctly in all validators so also needs some changes to the core. This still show some examples of how its used with the new Page layout components. Will follow up with more pages in future PRs.
- We try to convert the inputs to the best fitting primitive, so if a user types "true" then we save the value as a boolean, "130" as number, "testing" as a string, etc.
2024-07-11 13:54:59 +00:00
Carlos R. L. Rodrigues
b5c658f071
feat(core-flows): begin returns, claims and exchanges ( #8088 )
...
* chore(order): begin return
* claims and exchanges
2024-07-11 09:53:00 -03:00