Skip to content

feat: add Customer API endpoints#171

Open
Amoifr wants to merge 1 commit intoPrestaShop:devfrom
Amoifr:feat/customer-api-endpoints
Open

feat: add Customer API endpoints#171
Amoifr wants to merge 1 commit intoPrestaShop:devfrom
Amoifr:feat/customer-api-endpoints

Conversation

@Amoifr
Copy link
Copy Markdown

@Amoifr Amoifr commented Mar 30, 2026

Summary

Add Customer management API endpoints (4 endpoints).

New endpoints:

  • GET/PUT /customers/{customerId}/note - Manage private notes
  • POST /customers/{customerId}/transform-guest - Transform guest to customer
  • GET /customers/{customerId}/orders - Get customer orders
  • GET /customers/{customerId}/carts - Get customer carts

Test plan

  • Run existing test suite
  • Test customer operations

Related

Contributes to #39630
Split from #166 as requested by reviewers

Add Customer management endpoints:
- CustomerNote: manage private customer notes
- CustomerGuestTransform: transform guest to customer
- CustomerOrders: get customer orders
- CustomerCarts: get customer carts
@ps-jarvis
Copy link
Copy Markdown

Hello @Amoifr!

This is your first pull request on ps_apiresources repository of the PrestaShop project.

Thank you, and welcome to this Open Source community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

2 participants