REST Resource: v1.customer

This service provides the following discovery document customer :

HTTP request

GET Customer/{Key}

POST Customer/{Key}

PUT Customer/{Key}?cudtomerid={IDCustomer}

Path parameters

Parameters
Key

string

The your API Key.

customerid

string

The customer id. Please follow the format id_group/compendium_customer, id_group as number (01-09) and compendium_customer as string (3 characters). Example, the customer company name is PT. Maju Bersama the customer id can be created: 03/MBR

as_supplier

int

Default is 0

as_customer

int

Default is 1

contactperson

string

Contact personal from company customer.

customercompany

string

The Company customer.

idprovinsi

int

The Province ID.

idkabupaten

int

The Regency ID.

idkecamatan

int

The Districts ID.

address

string

Address for customer company.

postalcode

string

Postal Code for customer company.

telephone

string

Telephone number for customer company.

mobilephone

string

Phone number for contact person customer.

fax

string

Fax number for customer company.

did

string

Dissociative Identity Disorder (If there are).

email

string

Email address for customer company.

contact_email

string

Email address for customer contact person.

pic_person

string

Person In Charge name for customer company.

pic_mobilephone

string

Person In Charge phone number for customer company.

pic_email

string

Person In Charge email address for customer company.

potensi_jenis

string

Potential sales of types and quantities of packaging (pcs).

potensi_estimasi

string

Sales potential from sales estimate per month (pcs).

distributor_sekarang

string

Distributor of the same product to a company (a competitor).

siklus_pengiriman

string

Cycle delivery of competitors' products to a company.

biaya_listing

string

The cost of renting a display at a store.

biaya_rak

string

The cost of renting a rack in a store.

biaya_floor

string

Booth rental fee/Rent floor (promo position).

biaya_lainnya

string

The Other costs.

keterangan_biaya

string

Cost Description.

rekomendasi

string

Recommended by.

website

string

the company website address.

notactive

int

Status active and not customer, default is 0

Query parameters

JSON representation
                                
{ "customerid": varchar(20) PRIMARY, "as_supplier": int(5), "as_customer": int(5), "contactperson": varchar(20), "customercompany": varchar(30), "idprovinsi": int(5), "idkabupaten": int(5), "idkecamatan": int(5), "address": varchar(50), "postalcode": int(5), "telephone": varchar(20), "mobilephone": varchar(20), "fax": varchar(20), "did": varchar(20), "email": varchar(50), "contact_email": varchar(50), "pic_person": varchar(50), "pic_mobilephone": varchar(50), "pic_email": varchar(50), "potensi_jenis": varchar(50), "potensi_estimasi": varchar(50), "distributor_sekarang": varchar(50), "siklus_pengiriman": varchar(50), "biaya_listing": varchar(50), "biaya_rak": varchar(50), "biaya_floor": varchar(50), "biaya_lainnya": varchar(50), "keterangan_biaya": varchar(50), "rekomendasi": varchar(150), "website": varchar(50), "notactive": tinyint(2) }