1. Customer
AlShamel API Documentation
  • AlShamel API
  • Account
    • Get Account balances
      GET
    • List Account
      GET
    • Get Account by ID
      GET
  • Accounts Group
    • List Accounts Group
      GET
    • Get Accounts Group by ID
      GET
  • Bank
    • List Bank
      GET
    • Get Bank by ID
      GET
  • Branch
    • List Branch
      GET
    • Get Branch by ID
      GET
  • Casher
    • List Casher
      GET
    • Get Casher by ID
      GET
  • Center
    • List Center
      GET
    • Get Center by ID
      GET
  • Class
    • Get Class quantities
      GET
    • Create Class
      POST
    • Update Class
      PUT
    • Delete Class
      DELETE
    • List Class
      GET
    • Get Class by ID
      GET
  • Classes Group
    • Create Classes Group
    • Update Classes Group
    • Delete Classes Group
    • List Classes Group
    • Get Classes Group by ID
  • Coin
    • List Coin
    • Get Coin by ID
  • Credit Card
    • List Credit Card
    • Get Credit Card by ID
  • Customer
    • Create Customer
      POST
    • Update Customer
      PUT
    • Delete Customer
      DELETE
    • List Customer
      GET
    • Get Customer by ID
      GET
  • Customer City
    • List Customer City
    • Get Customer City by ID
  • Customer Country
    • List Customer Country
    • Get Customer Country by ID
  • Customer Discount
    • List Customer Discount
    • Get Customer Discount by ID
  • Customer Order
    • Create Customer Order
    • Update Customer Order
    • Delete Customer Order
    • List Customer Order
    • Get Customer Order by ID
  • Customers Group
    • List Customers Group
    • Get Customers Group by ID
  • Payment Voucher
    • Create Payment Voucher
    • Update Payment Voucher
    • Delete Payment Voucher
    • List Payment Voucher
    • Get Payment Voucher by ID
  • Price Offer
    • Create Price Offer
    • Update Price Offer
    • Delete Price Offer
    • List Price Offer
    • Get Price Offer by ID
  • Purchase Order
    • Create Purchase Order
    • Update Purchase Order
    • Delete Purchase Order
    • List Purchase Order
    • Get Purchase Order by ID
  • Receipt Voucher
    • Create Receipt Voucher
    • Update Receipt Voucher
    • Delete Receipt Voucher
    • List Receipt Voucher
    • Get Receipt Voucher by ID
  • Repurchase
    • Create Repurchase
    • Update Repurchase
    • Delete Repurchase
    • List Repurchase
    • Get Repurchase by ID
  • Resale
    • Create Resale
    • Update Resale
    • Delete Resale
    • List Resale
    • Get Resale by ID
  • Sale
    • Create Sale
    • Update Sale
    • Delete Sale
    • List Sale
    • Get Sale by ID
  • Salesman
    • List Salesman
    • Get Salesman by ID
  • Store
    • List Store
    • Get Store by ID
  • Sub Classes Group
    • Create Sub Classes Group
    • Update Sub Classes Group
    • Delete Sub Classes Group
    • List Sub Classes Group
    • Get Sub Classes Group by ID
  • Schemas
    • Account
    • AccountBalance
    • AccountsGroup
    • Bank
    • Branch
    • Casher
    • Class
    • ClassesBarcode
    • ClassesGroup
    • ClassesPrice
    • ClassesQty
    • ClassesQuantitiesRequest
    • Coin
    • CostCenter
    • CreditCard
    • Customer
    • CustomerAccount
    • CustomerCity
    • CustomerCountry
    • CustomerDiscount
    • CustomerOrder
    • CustomerOrderDetail
    • CustomersGroup
    • Payment
    • PaymentDetail
    • PriceOffer
    • PriceOfferDetail
    • PurchaseOrder
    • PurchaseOrderDetail
    • Receipt
    • ReceiptDetail
    • Repurchase
    • RepurchaseDetail
    • Resale
    • ResaleDetail
    • Salesman
    • Store
    • SubClassesGroup
    • ApiError
  1. Customer

Update Customer

PUT
/api/Customer/update
Updates an existing customer record.

Request

Authorization
API Key
Add parameter in header
ApiKey
Example:
ApiKey: ********************
or
Body Params
application/json

Examples

Responses

🟢200
application/json
OK
Bodyapplication/json

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/Customer/update' \
--header 'ApiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "customer": {
        "customerId": 0,
        "accountId": 0,
        "accountFatherId": 0,
        "customerNumber": "string",
        "name": "string",
        "englishName": "string",
        "email": "string",
        "fax": "string",
        "telephone1": "string",
        "telephone2": "string",
        "box": "string",
        "website": "string",
        "notes": "string",
        "maxLimit": 0,
        "minLimit": 0,
        "creationDate": "2019-08-24T14:15:22.123Z",
        "country": "string",
        "city": "string",
        "street": "string",
        "address": "string"
    },
    "account": {
        "accountId": 0,
        "parentAccountId": 0,
        "coinId": 0,
        "accountGroupId": 0,
        "accountNumber": "string",
        "name": "string",
        "enName": "string",
        "address": "string",
        "telephone": "string",
        "telephone2": "string",
        "fax": "string",
        "email": "string",
        "maxLimit": 0,
        "minLimit": 0,
        "notes": "string",
        "salesmanId": 0,
        "costCenterId": 0
    }
}'
Response Response Example
200 - Example 1
{
    "customer": {
        "customerId": 0,
        "accountId": 0,
        "accountFatherId": 0,
        "customerNumber": "string",
        "name": "string",
        "englishName": "string",
        "email": "string",
        "fax": "string",
        "telephone1": "string",
        "telephone2": "string",
        "box": "string",
        "website": "string",
        "notes": "string",
        "maxLimit": 0,
        "minLimit": 0,
        "creationDate": "2019-08-24T14:15:22.123Z",
        "country": "string",
        "city": "string",
        "street": "string",
        "address": "string"
    },
    "account": {
        "accountId": 0,
        "parentAccountId": 0,
        "coinId": 0,
        "accountGroupId": 0,
        "accountNumber": "string",
        "name": "string",
        "enName": "string",
        "address": "string",
        "telephone": "string",
        "telephone2": "string",
        "fax": "string",
        "email": "string",
        "maxLimit": 0,
        "minLimit": 0,
        "notes": "string",
        "salesmanId": 0,
        "costCenterId": 0
    }
}
Modified at 2026-09-13 16:15:16
Previous
Create Customer
Next
Delete Customer
Built with