Istores API Documentation
MyIstores Api

Customers

Endpoint:https://api.istores.co.il

List Customers


Customer create

POST
https://api.istores.co.il
/customer

Create single customer

Customer createRequest Body

  • firstnamestring

    Customer first name

    Example: Jhon
  • lastnamestring

    Customer last name

    Example: Doe
  • emailstring

    Customers email

  • telephonestring

    Customers telephone

    Example: 0544884547
  • passwordstring

    Password that will be related to this customer to login to the store

    Example: 12345678
  • confirmstring

    Password confirmation

    Example: 12345678
  • responder_listnumber · int64

    Responder list id for subscription to newsletter

    Example: 3221
  • addressobject

    Object of the main address will be related to the new customer

Customer createResponses

Success

No data returned

Customer details

GET
https://api.istores.co.il
/customer/{customer_id}

Get customer details by its id

Customer detailspath Parameters

  • customer_idinteger · required

    Customer id

Customer detailsResponses

In case of succes return single customer`s details

  • customer_idnumber · int64

    Customer unique id - use to delete/get/edit customer

    Example: 123
  • customer_group_idnumber · int64

    Customer group id

    Example: 23
  • namestring

    Full customer name

    Example: Jhon Doe
  • emailstring · email

    Customers email

  • telephonestring

    Customer`s phone

    Example: 0544884654
  • date_addedstring · date

    Date customer added or registered

  • addressesobject[]

list of customers

PUT
https://api.istores.co.il
/customer/{customer_id}

Edit exist customer

list of customerspath Parameters

  • customer_idinteger · required

    Customer id

list of customersRequest Body

  • firstnamestring

    Customer first name

    Example: Jhon
  • lastnamestring

    Customer last name

    Example: Doe
  • emailstring

    Customers email

  • telephonestring

    Customers telephone

    Example: 0544884547
  • passwordstring

    Password that will be related to this customer to login to the store (If you dont want to change password dont pass this and confirm field)

    Example: 12345678
  • confirmstring

    Password confirmation

    Example: 12345678
  • addressobject

    Object of the main address will be related to the new customer

list of customersResponses

Success

No data returned

Delete customer

DELETE
https://api.istores.co.il
/customer/{customer_id}

Delete customer by its id

Delete customerpath Parameters

  • customer_idinteger · required

    Customer id

Delete customerResponses

Success

No data returned