1. customer
demand.erp API
  • bom
    • create bom
      POST
    • get bom
      GET
    • update bom
      PUT
    • delete bom
      DELETE
    • delete bom position
      DELETE
  • item
    • create item
      POST
    • get item
      GET
    • update item
      PUT
    • delete item
      DELETE
    • filter item (4.8.0)
      POST
  • workplan
    • create workplan
      POST
    • get workplan
      GET
    • update workplan
      PUT
    • delete workplan
      DELETE
  • customer
    • create customer (4.8.0)
      POST
    • get customer (4.8.0)
      GET
    • update customer (4.8.0)
      PUT
    • delete customer (4.8.0)
      DELETE
    • filter customer (4.8.0)
      POST
  • cost_center
    • get cost_center (4.8.0)
      GET
  • customer_contact
    • get customer_contact (4.8.0)
      GET
    • filter customer contact (4.8.0)
      POST
  • invoice
    • get invoice (4.8.0)
      GET
    • get invoice head (4.8.0)
      GET
    • get invoice position (4.8.0)
      GET
    • get invoice position (4.8.0)
      GET
    • get invoice position (4.8.0)
      GET
    • filter invoice head (4.8.0)
      POST
    • filter invoice position (4.8.0)
      POST
  • purchase_order
    • get purchase_order (4.8.0)
    • get purchase_order head (4.8.0)
    • get purchase_order position (4.8.0)
    • get purchase_order position (4.8.0)
    • get purchase_order position (4.8.0)
    • filter purchase_order head (4.8.0)
    • filter purchase_order position (4.8.0)
  • supplier
    • get supplier (4.8.0)
    • filter supplier (4.8.0)
  • supplier_contact
    • get supplier contact (4.8.0)
    • filter supplier contact (4.8.0)
  • production_order
    • get production order (4.8.0)
  • pay_slip
    • get pay slip (4.8.0)
  • order
    • get order (4.8.0)
    • get order head (4.8.0)
    • get order position (4.8.0)
    • get order position (4.8.0)
    • get order position (4.8.0)
    • filter order head (4.8.0)
    • filter order position (4.8.0)
  • Schemas
    • Schemas
    • Response
      • Success
      • BadRequest
    • getBom
    • filterItem
    • filterSupplierContact
    • filterSupplierContactRequest
    • filterItemRequest
    • postBom
    • putBom
    • filterSupplier
    • getItem
    • filterSupplierRequest
    • filterCustomerContact
    • filterCustomerContactRequest
    • filterPurchaseOrderPosition
    • getWorkplan
    • postWorkplan
    • filterPurchaseOrderPositionRequest
    • putWorkplan
    • filterPurchaseOrderHead
    • getCustomer
    • filterPurchaseOrderHeadRequest
    • postCustomer
    • filterOrderPosition
    • putCustomer
    • filterOrderPositionRequest
    • Success
    • filterOrderHead
    • filterOrderHeadRequest
    • Error
    • filterInvoicePosition
    • filterInvoicePositionRequest
    • filterInvoiceHead
    • filterInvoiceHeadRequest
    • filterCustomer
    • filterCustomerRequest
    • getOrderPosition
    • getOrderHead
    • getOrder
    • getPaySlip
    • getProductionOrder
    • getSupplierContact
    • getSupplier
    • getPurchaseOrderPosition
    • getPurchaseOrderHead
    • getPurchaseOrder
    • getInvoicePosition
    • getInvoiceHead
    • getInvoice
    • getCustomerContact
    • getCostCenter
    • postItem
    • putItem
  1. customer

create customer (4.8.0)

POST
/customer
Last modified:2026-07-31 08:53:01
This endpoint allows you to create a new customer

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Example
{
    "address": {
        "customerid": "4711",
        "name1": "Hermann GmbH",
        "name2": "",
        "name3": "",
        "name4": "",
        "street": "Damm 50",
        "postalcode": 49439,
        "city": "Steinfeld",
        "po_box": null,
        "po_box_postalcode": null,
        "po_box_city": null,
        "website": "www.demandsoftware.de",
        "email": "info@demandsoftware.de",
        "fax": 5492123456,
        "country": "DEU",
        "language": "D",
        "sector": 4,
        "classification": 5492123456,
        "type_of_customer": null,
        "clerk": 7,
        "group": null,
        "currency": "EUR",
        "abc_indicator": "A"
    },
    "delivery": {
        "address": 1,
        "method": 0,
        "packaging": null,
        "condition": null,
        "zone": null,
        "shipping_point": null,
        "processing_time": null,
        "priority": null,
        "carrier": null,
        "regulator": null,
        "supplier_no": null,
        "delivery_block": null,
        "delivery_block_date": null,
        "delivery_mark": null,
        "consignment_storage_location": null,
        "auto_storno": 20,
        "partial_delivery": null
    },
    "billing": {
        "invoice_recipient": 4712,
        "billing_address": null,
        "terms_of_payment": 1,
        "number_of_payment_days": 1,
        "member_of": 4712,
        "in_association_with": 4712,
        "parent_company": 4712,
        "regulation": "N",
        "tax_number": null,
        "tax_id_number": null,
        "iban": null,
        "bic": null,
        "leitweg_id": null,
        "bonus_date": null,
        "credit_limit": null,
        "private_customer": "N",
        "bonus_plate": "N",
        "credit_limit_lock": 0
    },
    "terms": {
        "default_price_list": 1,
        "default_discount": 0,
        "pricing": "Y",
        "representative1": 1,
        "representative2": 2,
        "commission1": 3,
        "commission2": 0,
        "surcharge_discount1": 1,
        "surcharge_discount2": 1,
        "surcharge_discount3": 1,
        "surcharge_discount1_value": 1,
        "surcharge_discount2_value": 1,
        "surcharge_discount3_value": 1,
        "surcharge_discount1_total_order": 1,
        "surcharge_discount2_total_order": 1,
        "surcharge_discount3_total_order": 1,
        "surcharge_discount1_positions": 1,
        "surcharge_discount2_positions": 1,
        "surcharge_discount3_positions": 1
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/customer' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "address": {
        "customerid": "4711",
        "name1": "Hermann GmbH",
        "name2": "",
        "name3": "",
        "name4": "",
        "street": "Damm 50",
        "postalcode": 49439,
        "city": "Steinfeld",
        "po_box": null,
        "po_box_postalcode": null,
        "po_box_city": null,
        "website": "www.demandsoftware.de",
        "email": "info@demandsoftware.de",
        "fax": 5492123456,
        "country": "DEU",
        "language": "D",
        "sector": 4,
        "classification": 5492123456,
        "type_of_customer": null,
        "clerk": 7,
        "group": null,
        "currency": "EUR",
        "abc_indicator": "A"
    },
    "delivery": {
        "address": 1,
        "method": 0,
        "packaging": null,
        "condition": null,
        "zone": null,
        "shipping_point": null,
        "processing_time": null,
        "priority": null,
        "carrier": null,
        "regulator": null,
        "supplier_no": null,
        "delivery_block": null,
        "delivery_block_date": null,
        "delivery_mark": null,
        "consignment_storage_location": null,
        "auto_storno": 20,
        "partial_delivery": null
    },
    "billing": {
        "invoice_recipient": 4712,
        "billing_address": null,
        "terms_of_payment": 1,
        "number_of_payment_days": 1,
        "member_of": 4712,
        "in_association_with": 4712,
        "parent_company": 4712,
        "regulation": "N",
        "tax_number": null,
        "tax_id_number": null,
        "iban": null,
        "bic": null,
        "leitweg_id": null,
        "bonus_date": null,
        "credit_limit": null,
        "private_customer": "N",
        "bonus_plate": "N",
        "credit_limit_lock": 0
    },
    "terms": {
        "default_price_list": 1,
        "default_discount": 0,
        "pricing": "Y",
        "representative1": 1,
        "representative2": 2,
        "commission1": 3,
        "commission2": 0,
        "surcharge_discount1": 1,
        "surcharge_discount2": 1,
        "surcharge_discount3": 1,
        "surcharge_discount1_value": 1,
        "surcharge_discount2_value": 1,
        "surcharge_discount3_value": 1,
        "surcharge_discount1_total_order": 1,
        "surcharge_discount2_total_order": 1,
        "surcharge_discount3_total_order": 1,
        "surcharge_discount1_positions": 1,
        "surcharge_discount2_positions": 1,
        "surcharge_discount3_positions": 1
    }
}'

Responses

🟢200
application/json
Returns the created customer
Bodyapplication/json

Example
{
    "address": {
        "customerid": "4711",
        "name1": "Hermann GmbH",
        "name2": "",
        "name3": "",
        "name4": "",
        "street": "Damm 50",
        "postalcode": 49439,
        "city": "Steinfeld",
        "po_box": null,
        "po_box_postalcode": null,
        "po_box_city": null,
        "website": "www.demandsoftware.de",
        "email": "info@demandsoftware.de",
        "fax": 5492123456,
        "country": "DEU",
        "language": "D",
        "sector": 4,
        "classification": 5492123456,
        "type_of_customer": null,
        "clerk": 7,
        "group": null,
        "currency": "EUR",
        "abc_indicator": "A"
    },
    "delivery": {
        "address": 1,
        "method": 0,
        "packaging": null,
        "condition": null,
        "zone": null,
        "shipping_point": null,
        "processing_time": null,
        "priority": null,
        "carrier": null,
        "regulator": null,
        "supplier_no": null,
        "delivery_block": null,
        "delivery_block_date": null,
        "delivery_mark": null,
        "consignment_storage_location": null,
        "auto_storno": 20,
        "partial_delivery": null
    },
    "billing": {
        "invoice_recipient": 4712,
        "billing_address": null,
        "terms_of_payment": 1,
        "number_of_payment_days": 1,
        "member_of": 4712,
        "in_association_with": 4712,
        "parent_company": 4712,
        "regulation": "N",
        "tax_number": null,
        "tax_id_number": null,
        "iban": null,
        "bic": null,
        "leitweg_id": null,
        "bonus_date": null,
        "credit_limit": null,
        "private_customer": "N",
        "bonus_plate": "N",
        "credit_limit_lock": 0
    },
    "terms": {
        "default_price_list": 1,
        "default_discount": 0,
        "pricing": "Y",
        "representative1": 1,
        "representative2": 2,
        "commission1": 3,
        "commission2": 0,
        "surcharge_discount1": 1,
        "surcharge_discount2": 1,
        "surcharge_discount3": 1,
        "surcharge_discount1_value": 1,
        "surcharge_discount2_value": 1,
        "surcharge_discount3_value": 1,
        "surcharge_discount1_total_order": 1,
        "surcharge_discount2_total_order": 1,
        "surcharge_discount3_total_order": 1,
        "surcharge_discount1_positions": 1,
        "surcharge_discount2_positions": 1,
        "surcharge_discount3_positions": 1
    }
}
🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
Modified at 2026-07-31 08:53:01
Previous
delete workplan
Next
get customer (4.8.0)
Built with