@thorprovider/medusa-extended 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # @thorprovider/medusa-extended
2
+
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @thorprovider/adapters@4.2.2
package/README.md CHANGED
@@ -36,7 +36,7 @@ const admin = new MedusaAdminClient({
36
36
 
37
37
  ## DropshipperClient
38
38
 
39
- Covers **all 43 methods** across the dropshipping feature set. Both the ThorProvider admin (X) and the dropshipper panel (Y) use this same client — access control is enforced server-side.
39
+ Covers **all 53 methods** across the dropshipping feature set. Both the ThorProvider admin (X) and the dropshipper panel (Y) use this same client — access control is enforced server-side.
40
40
 
41
41
  ### Configuration
42
42
 
@@ -106,6 +106,12 @@ POST /auth/user/emailpass
106
106
  | `createOrderNote(orderId, body)` | `POST /admin/thor/dropshipper/orders/:id/notes` |
107
107
  | `deleteOrderNote(orderId, noteId)` | `DELETE /admin/thor/dropshipper/orders/:id/notes/:noteId` |
108
108
 
109
+ #### Provider Categories (read-only — Medusa native)
110
+
111
+ | Method | Endpoint |
112
+ |---|---|
113
+ | `getProviderCategories()` | `GET /admin/thor/dropshipper/categories/provider` |
114
+
109
115
  #### Custom Categories (Solo Y)
110
116
 
111
117
  | Method | Endpoint |
@@ -113,7 +119,8 @@ POST /auth/user/emailpass
113
119
  | `getCategories(options?)` | `GET /admin/thor/dropshipper/categories` |
114
120
  | `createCategory(body)` | `POST /admin/thor/dropshipper/categories` |
115
121
  | `updateCategory(id, body)` | `PUT /admin/thor/dropshipper/categories/:id` |
116
- | `deleteCategory(id)` | `DELETE /admin/thor/dropshipper/categories/:id` |
122
+ | `deleteCategory(id, options?)` | `DELETE /admin/thor/dropshipper/categories/:id` — pass `{ force: true }` to cascade-delete children |
123
+ | `getCategoryMappings(options?)` | `GET /admin/thor/dropshipper/category-mappings` — filter by `product_id` |
117
124
  | `createCategoryMapping(body)` | `POST /admin/thor/dropshipper/category-mappings` |
118
125
  | `deleteCategoryMapping(id)` | `DELETE /admin/thor/dropshipper/category-mappings/:id` |
119
126
 
@@ -126,7 +133,7 @@ POST /auth/user/emailpass
126
133
  | `createCustomer(body)` | `POST /admin/thor/dropshipper/customers` |
127
134
  | `getCustomerAddresses(customerId)` | `GET /admin/thor/dropshipper/customers/:id/addresses` |
128
135
  | `createCustomerAddress(customerId, body)` | `POST /admin/thor/dropshipper/customers/:id/addresses` |
129
- | `updateCustomerAddress(customerId, addressId, body)` | `PUT /admin/thor/dropshipper/customers/:id/addresses/:addr_id` |
136
+ | `updateCustomerAddress(customerId, addressId, body)` | `POST /admin/thor/dropshipper/customers/:id/addresses/:addr_id` |
130
137
  | `deleteCustomerAddress(customerId, addressId)` | `DELETE /admin/thor/dropshipper/customers/:id/addresses/:addr_id` |
131
138
 
132
139
  #### Account & Settlements (Solo Y — read-only)