Skip to content

POST /V1/customers api issue #351

@engcom-Delta

Description

@engcom-Delta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions