POST api/ClienteEnderecosEntrega

Request Information

URI Parameters

None.

Body Parameters

Plusnet.WebStore.Model.Site.ClienteEnderecoIN
NameDescriptionTypeAdditional information
ClienteEnderecoID

integer

None.

Destinatario

string

Required

String length: inclusive between 0 and 64

(Destinatário)

Email

string

String length: inclusive between 0 and 256

(Email)

Cep

string

Required

String length: inclusive between 8 and 8

(CEP)

Logradouro

string

Required

String length: inclusive between 0 and 64

(Logradouro)

Numero

string

Required

String length: inclusive between 0 and 16

(Número)

Complemento

string

String length: inclusive between 0 and 64

(Complemento)

Bairro

string

Required

String length: inclusive between 0 and 64

(Bairro)

Localidade

string

Required

String length: inclusive between 0 and 64

(Localidade)

Uf

string

Required

String length: inclusive between 2 and 2

(UF)

FonDdd1

string

Required

String length: inclusive between 0 and 4

(Fone: DDD 1)

FonNum1

string

Required

String length: inclusive between 0 and 16

(Fone: Número 1)

FonDdd2

string

String length: inclusive between 0 and 4

(Fone: DDD 2)

FonNum2

string

String length: inclusive between 0 and 16

(Fone: Número 2)

FonDdd3

string

String length: inclusive between 0 and 4

(Fone: DDD 3)

FonNum3

string

String length: inclusive between 0 and 16

(Fone: Número 3)

CpfCnpj

string

String length: inclusive between 11 and 16

(CPF/CNPJ)

InsEstadual

string

String length: inclusive between 0 and 16

(Inscrição Estadual)

Request Formats

application/json, text/json

Sample:
{
  "ClienteEnderecoID": 1,
  "Destinatario": "sample string 2",
  "Email": "sample string 3",
  "Cep": "sample string 4",
  "Logradouro": "sample string 5",
  "Numero": "sample string 6",
  "Complemento": "sample string 7",
  "Bairro": "sample string 8",
  "Localidade": "sample string 9",
  "Uf": "sample string 10",
  "FonDdd1": "sample string 11",
  "FonNum1": "sample string 12",
  "FonDdd2": "sample string 13",
  "FonNum2": "sample string 14",
  "FonDdd3": "sample string 15",
  "FonNum3": "sample string 16",
  "CpfCnpj": "sample string 17",
  "InsEstadual": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Plusnet.WebStore.Model.Site.ClienteEnderecoOUT
NameDescriptionTypeAdditional information
ClienteEnderecoID

integer

None.

Tipo

string

Required

(Vide ClienteEnderecoTipos)

String length: inclusive between 0 and 16

(Tipo)

Destinatario

string

Required

String length: inclusive between 0 and 64

(Destinatário)

Email

string

String length: inclusive between 0 and 256

(Email)

Cep

string

Required

String length: inclusive between 8 and 8

(CEP)

Logradouro

string

Required

String length: inclusive between 0 and 64

(Logradouro)

Numero

string

Required

String length: inclusive between 0 and 16

(Número)

Complemento

string

String length: inclusive between 0 and 64

(Complemento)

Bairro

string

Required

String length: inclusive between 0 and 64

(Bairro)

Localidade

string

Required

String length: inclusive between 0 and 64

(Localidade)

Uf

string

Required

String length: inclusive between 2 and 2

(UF)

FonDdd1

string

Required

String length: inclusive between 0 and 4

(Fone: DDD 1)

FonNum1

string

Required

String length: inclusive between 0 and 16

(Fone: Número 1)

FonDdd2

string

String length: inclusive between 0 and 4

(Fone: DDD 2)

FonNum2

string

String length: inclusive between 0 and 16

(Fone: Número 2)

FonDdd3

string

String length: inclusive between 0 and 4

(Fone: DDD 3)

FonNum3

string

String length: inclusive between 0 and 16

(Fone: Número 3)

CpfCnpj

string

String length: inclusive between 11 and 16

(CPF/CNPJ)

InsEstadual

string

String length: inclusive between 0 and 16

(Inscrição Estadual)

Response Formats

application/json, text/json

Sample:
{
  "ClienteEnderecoID": 1,
  "Tipo": "sample string 2",
  "Destinatario": "sample string 3",
  "Email": "sample string 4",
  "Cep": "sample string 5",
  "Logradouro": "sample string 6",
  "Numero": "sample string 7",
  "Complemento": "sample string 8",
  "Bairro": "sample string 9",
  "Localidade": "sample string 10",
  "Uf": "sample string 11",
  "FonDdd1": "sample string 12",
  "FonNum1": "sample string 13",
  "FonDdd2": "sample string 14",
  "FonNum2": "sample string 15",
  "FonDdd3": "sample string 16",
  "FonNum3": "sample string 17",
  "CpfCnpj": "sample string 18",
  "InsEstadual": "sample string 19"
}