Skip to content

{"message":"Request does not match any route."} #1318

Closed
@sivajik34

Description

@sivajik34

i'm using following syntax :
curl -X POST http://localhost/magento2/index.php/rest/V1/createAccount:customers -H "Authorization: Bearer uvdhea5fwq2yu4w2lvm9o2q8u30hnq76" -H "Content-Type:application/json" -d '{
"customers": {
"customer": {
"email": "[email protected]",
"firstname": "John",
"lastname": "Doe"
},
"addresses": [
{
"defaultShipping": true,
"defaultBilling": true,
"firstname": "John",
"lastname": "Doe",
"region": {
"regionCode": "CA",
"region": "California",
"regionId": 12
},
"postcode": "90001",
"street": ["Zoe Ave"],
"city": "Los Angeles",
"telephone": "555-000-00-00",
"countryId": "US"
}
]
}
}'

can you give idea where i'm wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions