Request Type: GET
Enter the request URL: http://StoreURL/odata/customer('email')
Auth type: Bearer Token - paste the token generated in the previous steps
Request Type: DELETE
Enter the request URL: http://StoreURL/odata/customer('email')
Auth type: Bearer Token - paste the token generated in the previous steps
Please note that in DELETE operations, you will get only "Status: 200 OK" information if the item was successfully deleted.
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page.
URGENT: You don't have to specify all fields. You can add only that fields, which are important for you. Edit fields which you want, the rest can be removed and they will get a default value. Please note that e-mail and customer group are required to create a fully working customer.
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page.
Request Type: PUT
Enter the request URL: http://StoreURL/odata/customer('email')
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page.
URGENT: It's the PUT request, so you have to provide all available fields, also with the "id" field.
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer('email')/SetPassword
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page.
{
"password":"Enter password"
}
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer('email')/AddAddress
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page. What's important, API validate fields like store, so if you have Country enabled, you need to enter CountryId. In the other case you will receive error. CountryId and StateProvinceId can be found in the database.
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer('email')/UpdateAddress
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page. In the update method, you need to enter the ID in proper field.
Request Type: POST
Enter the request URL: http://StoreURL/odata/customer('email')/DeleteAddress
Auth type: Bearer Token - paste the token generated in the previous steps
Headers: In the Key field enter the Content-Type, in Value field enter the application/json, description is empty.
Body: In the body field you need to enter the proper JSON. Which fields are necessary for specified actions you can check in the bottom of $metadata page.