Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST /V1/customers api issue #351

Open
1 task done
engcom-Delta opened this issue Aug 16, 2024 · 0 comments
Open
1 task done

POST /V1/customers api issue #351

engcom-Delta opened this issue Aug 16, 2024 · 0 comments

Comments

@engcom-Delta
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which topic?

POST /V1/customers api issue

What's wrong with the content?

API Documentation: https://developer.adobe.com/commerce/webapi/rest/tutorials/orders/order-create-customer/

But the api works if the endpoint is: <magento_url>/<store_view_code>/rest/V1/customers (client project)

image
Please refer the ticket - magento/magento2#38994

What changes do you propose?

Preconditions and environment

  • Magento version 2.4.5-P8
  • Should have at least one website

Steps to reproduce

  • Create an integration and get the access token
  • Using the token, make a call to POST /V1/customers API to create customer

Expected result
https://example.magento.test/rest/<store_code>/V1/customers api should work
Actual result
Getting 400 Bad request error:
{
"message": "Specified request cannot be processed."
}
image

Additional information
API Documentation: https://developer.adobe.com/commerce/webapi/rest/tutorials/orders/order-create-customer/
But the api works if the endpoint is: <magento_url>/<store_view_code>/rest/V1/customers (client project)
image

Anything else that can help to cover this?

No response

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 Grooming
Development

No branches or pull requests

1 participant