Saltar al contenido principal
Version: ProX

Crear Cliente

POST 

/api/person

Su propósito es crear un nuevo cliente.

Ejemplo:

Request

Body

required

  1. JSON A ENVIAR
    idstring
    Example: null
    typestring
    Example: customers
    identity_document_type_idstring
    Example: 1
    numberstringrequired
    Example: 72346556
    namestringrequired
    Example: Pedro Diaz
    trade_namestring
    Example: Nombre Comercial
    country_idstring
    Example: PE
    department_idstring
    Example: null
    province_idstring
    Example: null
    district_idstring
    Example: null
    addressstring
    Example: Urb Sesquicentenario Vipol Callao
    telephonestring
    Example: 954533737
    conditionstring
    Example: null
    statestring
    Example: null
    emailstring
    Example: null
    perception_agentboolean
    Example: false
    percentage_perceptionfloat
    Example: 0
    more_addressstring[]
    Example: []
    location_idstring[]
    Example: []

Responses

JSON RESPUESTA

Schema

    successboolean
    Example: true
    msgstring
    Example: Cliente registrado con éxito

    data

    object

    idinteger
    Example: 55
    descriptionstring
    Example: 72346556 - Pedro Diaz
    namestring
    Example: Pedro Diaz
    numberstring
    Example: 72346556
    identity_document_type_idstring
    Example: 1
    identity_document_type_codestring
    Example: null
    addressstring
    Example: Urb Sesquicentenario Vipol Callao
    emailstring
    Example: null
    telephonestring
    Example: 954533737
    country_idstring
    Example: PE
    district_idstring
    Example: null
    selectedboolean
    Example: false