mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Added customer endpoint
This commit is contained in:
8
pages/api/customer.ts
Normal file
8
pages/api/customer.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import customer from '@commerce/api/endpoints/customer'
|
||||
import { CustomerAPI, operations } from '@framework/api/customer'
|
||||
import commerce from '@lib/api/commerce'
|
||||
|
||||
export default commerce.endpoint({
|
||||
handler: customer as CustomerAPI['endpoint']['handler'],
|
||||
operations,
|
||||
})
|
Reference in New Issue
Block a user