AdobeDocs / AdobeDocs/commerce-webapi
POST /V1/customers api issue
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 120
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Description
### Is there an existing issue for this?
- [X] 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: //rest/V1/customers (client project)

Please refer the ticket - https://github.com/magento/magento2/issues/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//V1/customers api should work
**Actual result**
Getting 400 Bad request error:
{
"message": "Specified request cannot be processed."
}

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

### Anything else that can help to cover this?
_No response_
Contributor guide
Research direction
Start with the linked API documentation page and compare its POST /V1/customers endpoint with the store-view-prefixed endpoint described in the issue. Read the referenced Magento issue for context and verify the behavior against the stated Magento 2.4.5-P8 steps; done means the documentation accurately describes the working endpoint and expected response.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100