...
Receber, validar e persistir pedidos.
Não há.
OrderDTO
Name | Description | Type | Additional information |
---|---|---|---|
linkerp | Link ERP | integer | None. |
number_payment_condition | Payment Condition | integer | None. |
address | Address | string | None. |
address_complement | Address complement | string | None. |
address_number | Address Number | string | None. |
card_operator_code | Card Operator Code (Optional) | integer | None. |
city | Address City - (Necessary if a new customer) | string | String length: inclusive between 0 and 30 |
cnpj | Brazilian Registry Number of Corporate Taxpayers (00.000.000/0001-00 ou 00000000000000) - (Optional if CPF is filled) | string | None. |
cpf | Brazilian Registry Number of Individual Taxpayers (000.000.000-00 ou 00000000000) - (Optional if CNPJ is filled) | string | None. |
customer_shipment_name | Customer Shipment Name | string | None. |
customer_shipment_number_cpf | Brazilian Registry Number of Individual Taxpayers (000.000.000-00 ou 00000000000) - (Optional if CNPJ is filled) | string | None. |
customer_shipment_phone_area_code_1 | Customer Shipment Area Code of Phone 1 | string | None. |
customer_shipment_phone_area_code_2 | Customer Shipment Area Code of Phone 2 | string | None. |
customer_shipment_phone_complement_1 | Customer Shipment Complement of Phone 1 | string | None. |
customer_shipment_phone_complement_2 | Customer Shipment Complement of Phone 2 | string | None. |
customer_shipment_phone_number_1 | Customer Shipment Phone 1 Number | string | None. |
customer_shipment_phone_number_2 | Customer Shipment Phone 2 Number | string | None. |
customer_shipment_rg_number | Customer Shipment RG Registragion Number | string | None. |
datetime_end_delivery_forecast | Date/Time of Ending Delivery Forecast (dd/MM/yyyy hh:mm or ddMMyyyyhhmm) | string | String length: inclusive between 0 and 16 |
datetime_forwarding_forecast | Date/Time of Fowarding Forecast (dd/MM/yyyy hh:mm or ddMMyyyyhhmm) | string | String length: inclusive between 0 and 16 |
datetime_shipment | Date/Time of Shipment (dd/MM/yyyy hh:mm or ddMMyyyyhhmm) | string | String length: inclusive between 0 and 16 |
datetime_start_delivery_forecast | Date/Time of Start Delivery Forecast (dd/MM/yyyy hh:mm or ddMMyyyyhhmm) | string | String length: inclusive between 0 and 16 |
district | Address District | string | String length: inclusive between 0 and 30 |
ecommerce_status | Ecommerce Order Status | string | String length: inclusive between 0 and 100 |
id_ecommerce_transaction | Identification number of Ecommerce Transaction | string | String length: inclusive between 0 and 80 |
ind_shipment_type | Shipment Type Indicator ('R', Shipment[withdrawal] / 'E', Delivery) | string | String length: inclusive between 0 and 1 |
invoicement_base_date | Invoicement Base Date (dd/mm/aaaa or ddmmaaaa) (Optional) | string | None. |
items | Order Items | Collection of OrderItemsDTO | None. |
cards | Order Cards | Collection of OrderCardsDTO | None. |
name | Name of Customer - (Necessary if a new customer) | string | String length: inclusive between 0 and 40 |
number_commercial_agent | Number of Commercial Agent (Optional) | integer | None. |
number_company | Company Number - (Required if [NUMBER_ECOMMERCE_COMPANY] is null.) | string | String length: inclusive between 0 and 8 |
number_customer_order | Customer Number of Order (Optional) | string | String length: inclusive between 0 and 15 |
number_ecommerce_company | Ecommerce Company Number - (Required if [NUMBER_COMPANY] is null.) | string | String length: inclusive between 0 and 8 |
number_ecommerce_order | Ecommerce Order Number | integer | None. |
number_of_installments | Number of Installments (Optional) | integer | None. |
number_payment_form | Payment form of order (Optional) | integer | None. |
number_sales_table | Number of Sales Table | string | String length: inclusive between 0 and 3 |
order_date | Order Date (dd/mm/yyyy hh:mm:ss or ddmmyyyyhhmmss) | string | String length: inclusive between 0 and 20 |
order_notes | Some Notes about Order (Optional) | string | String length: inclusive between 0 and 240 |
order_status | Order Status (Optional) (If empty, the order status will 'L - Order Released') D - Typing A - Under Analysis L - Order Released C - Canceled S - Separation P - Pre-separation R - Making Route W - Separated F - Finalized | string | String length: inclusive between 0 and 1 |
order_type | Order Type (Optional, Default = "V" - Sale) C - Pricing B - Broker L - Bidding O - Order of Service V - Sale | string | String length: inclusive between 0 and 1 |
separation_priority | Priority of separation | string | String length: inclusive between 0 and 15 |
seq_grid | Sequence number of Grid from Web Order | integer | None. |
seq_web_order | Sequence number of Web Order | integer | None. |
state | Address State - (Necessary if a new customer) | string | String length: inclusive between 0 and 2 |
value_accessory_expenses | Value of accessories expenses (Optional) | string | None. |
freight_value | Value of freight (Optional) | string | None. |
value_round_ecommerce | Round Value to Ecommerce (Optional) | string | None. |
zip_code | Address Zipcode 00000000 or 00.000-000 or 00000-000 (Optional) | string | None. |
web_order_costumer | Web Order Costumer | WebOrderCostumerDTO | None. |
number_afv_order | Number of the AFV order (Optional) | integer | None. |
pedido_id | campo para gravação de informação do identificador único, utilizado no software de Força de Vendas. | string | None. |
number_sales_segment | Número do segmento. | integer | None. |
cgo | Código geral de operação. | integer | None. |
...
<OrderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1.Sales"> <_pageNo xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">1</_pageNo> <_pageSize xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">2</_pageSize> <ADDRESS>sample string 3</ADDRESS> <ADDRESS_COMPLEMENT>sample string 4</ADDRESS_COMPLEMENT> <ADDRESS_NUMBER>sample string 5</ADDRESS_NUMBER> <CARDS> <OrderCardsDTO> <CNPJ_CARD>sample string 7</CNPJ_CARD> <CODE_CARD_OPERATOR>sample string 2</CODE_CARD_OPERATOR> <CPF_CARD>sample string 6</CPF_CARD> <NUMBER_CARD>4</NUMBER_CARD> <NUMBER_GIFT_CARD>3</NUMBER_GIFT_CARD> <NUMBER_PORTION>5</NUMBER_PORTION> <QUANTITY_ATTEMPTS>8</QUANTITY_ATTEMPTS> <VALUE>1.1</VALUE> </OrderCardsDTO> <OrderCardsDTO> <CNPJ_CARD>sample string 7</CNPJ_CARD> <CODE_CARD_OPERATOR>sample string 2</CODE_CARD_OPERATOR> <CPF_CARD>sample string 6</CPF_CARD> <NUMBER_CARD>4</NUMBER_CARD> <NUMBER_GIFT_CARD>3</NUMBER_GIFT_CARD> <NUMBER_PORTION>5</NUMBER_PORTION> <QUANTITY_ATTEMPTS>8</QUANTITY_ATTEMPTS> <VALUE>1.1</VALUE> </OrderCardsDTO> </CARDS> <CARD_OPERATOR_CODE>1</CARD_OPERATOR_CODE> <CGO>1</CGO> <CITY>sample string 6</CITY> <CNPJ>sample string 7</CNPJ> <CPF>sample string 8</CPF> <CUSTOMER_SHIPMENT_NAME>sample string 9</CUSTOMER_SHIPMENT_NAME> <CUSTOMER_SHIPMENT_NUMBER_CPF>sample string 10</CUSTOMER_SHIPMENT_NUMBER_CPF> <CUSTOMER_SHIPMENT_PHONE_AREA_CODE_1>sample string 11</CUSTOMER_SHIPMENT_PHONE_AREA_CODE_1> <CUSTOMER_SHIPMENT_PHONE_AREA_CODE_2>sample string 12</CUSTOMER_SHIPMENT_PHONE_AREA_CODE_2> <CUSTOMER_SHIPMENT_PHONE_COMPLEMENT_1>sample string 13</CUSTOMER_SHIPMENT_PHONE_COMPLEMENT_1> <CUSTOMER_SHIPMENT_PHONE_COMPLEMENT_2>sample string 14</CUSTOMER_SHIPMENT_PHONE_COMPLEMENT_2> <CUSTOMER_SHIPMENT_PHONE_NUMBER_1>sample string 15</CUSTOMER_SHIPMENT_PHONE_NUMBER_1> <CUSTOMER_SHIPMENT_PHONE_NUMBER_2>sample string 16</CUSTOMER_SHIPMENT_PHONE_NUMBER_2> <CUSTOMER_SHIPMENT_RG_NUMBER>sample string 17</CUSTOMER_SHIPMENT_RG_NUMBER> <DATETIME_END_DELIVERY_FORECAST>sample string 18</DATETIME_END_DELIVERY_FORECAST> <DATETIME_FORWARDING_FORECAST>sample string 19</DATETIME_FORWARDING_FORECAST> <DATETIME_SHIPMENT>sample string 20</DATETIME_SHIPMENT> <DATETIME_START_DELIVERY_FORECAST>sample string 21</DATETIME_START_DELIVERY_FORECAST> <DISTRICT>sample string 22</DISTRICT> <ECOMMERCE_STATUS>sample string 23</ECOMMERCE_STATUS> <ID_ECOMMERCE_TRANSACTION>sample string 24</ID_ECOMMERCE_TRANSACTION> <IND_SHIPMENT_TYPE>sample string 25</IND_SHIPMENT_TYPE> <INVOICEMENT_BASE_DATE>sample string 26</INVOICEMENT_BASE_DATE> <ITEMS> <OrderItemsDTO> <_pageNo xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">1</_pageNo> <_pageSize xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">2</_pageSize> <IND_ECOMMERCE_SIMILAR>sample string 3</IND_ECOMMERCE_SIMILAR> <IND_KIT>sample string 4</IND_KIT> <ITEM_NOTES>sample string 5</ITEM_NOTES> <ITEM_QUANTITY>sample string 6</ITEM_QUANTITY> <MULTIPLIER_FACTOR>1.1</MULTIPLIER_FACTOR> <NUMBER_SALES_TABLE>sample string 7</NUMBER_SALES_TABLE> <PACKAGE_QUANTITY>sample string 8</PACKAGE_QUANTITY> <PACKAGE_REPORTED_VALUE>sample string 9</PACKAGE_REPORTED_VALUE> <PACKAGE_VALUES_SALES_TABLE>sample string 10</PACKAGE_VALUES_SALES_TABLE> <SELLING_PRICE>sample string 11</SELLING_PRICE> <SEQ_PRODUCT>12</SEQ_PRODUCT> <SEQ_WEB_GRID>1</SEQ_WEB_GRID> <SEQ_WEB_ORDER>1</SEQ_WEB_ORDER> <SEQ_WEB_ORDER_ITEM>1</SEQ_WEB_ORDER_ITEM> <SITE_QUANTITY>sample string 13</SITE_QUANTITY> <VALUE_PACKAGE_DISCOUNT>sample string 14</VALUE_PACKAGE_DISCOUNT> <VALUE_PACKAGE_SITE>sample string 15</VALUE_PACKAGE_SITE> <VALUE_SALES_TABLE>sample string 16</VALUE_SALES_TABLE> </OrderItemsDTO> <OrderItemsDTO> <_pageNo xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">1</_pageNo> <_pageSize xmlns="http://schemas.datacontract.org/2004/07/Kike.Web.Api.Dto">2</_pageSize> <IND_ECOMMERCE_SIMILAR>sample string 3</IND_ECOMMERCE_SIMILAR> <IND_KIT>sample string 4</IND_KIT> <ITEM_NOTES>sample string 5</ITEM_NOTES> <ITEM_QUANTITY>sample string 6</ITEM_QUANTITY> <MULTIPLIER_FACTOR>1.1</MULTIPLIER_FACTOR> <NUMBER_SALES_TABLE>sample string 7</NUMBER_SALES_TABLE> <PACKAGE_QUANTITY>sample string 8</PACKAGE_QUANTITY> <PACKAGE_REPORTED_VALUE>sample string 9</PACKAGE_REPORTED_VALUE> <PACKAGE_VALUES_SALES_TABLE>sample string 10</PACKAGE_VALUES_SALES_TABLE> <SELLING_PRICE>sample string 11</SELLING_PRICE> <SEQ_PRODUCT>12</SEQ_PRODUCT> <SEQ_WEB_GRID>1</SEQ_WEB_GRID> <SEQ_WEB_ORDER>1</SEQ_WEB_ORDER> <SEQ_WEB_ORDER_ITEM>1</SEQ_WEB_ORDER_ITEM> <SITE_QUANTITY>sample string 13</SITE_QUANTITY> <VALUE_PACKAGE_DISCOUNT>sample string 14</VALUE_PACKAGE_DISCOUNT> <VALUE_PACKAGE_SITE>sample string 15</VALUE_PACKAGE_SITE> <VALUE_SALES_TABLE>sample string 16</VALUE_SALES_TABLE> </OrderItemsDTO> </ITEMS> <NAME>sample string 27</NAME> <NUMBER_AFV_ORDER>1</NUMBER_AFV_ORDER> <NUMBER_COMMERCIAL_AGENT>1</NUMBER_COMMERCIAL_AGENT> <NUMBER_COMPANY>sample string 28</NUMBER_COMPANY> <NUMBER_CUSTOMER_ORDER>sample string 29</NUMBER_CUSTOMER_ORDER> <NUMBER_ECOMMERCE_COMPANY>sample string 30</NUMBER_ECOMMERCE_COMPANY> <NUMBER_ECOMMERCE_ORDER>31</NUMBER_ECOMMERCE_ORDER> <NUMBER_OF_INSTALLMENTS>1</NUMBER_OF_INSTALLMENTS> <NUMBER_PAYMENT_CONDITION>1</NUMBER_PAYMENT_CONDITION> <NUMBER_PAYMENT_FORM>1</NUMBER_PAYMENT_FORM> <NUMBER_SALES_SEGMENT>1</NUMBER_SALES_SEGMENT> <NUMBER_SALES_TABLE>sample string 32</NUMBER_SALES_TABLE> <ORDER_DATE>sample string 33</ORDER_DATE> <ORDER_NOTES>sample string 34</ORDER_NOTES> <ORDER_STATUS>sample string 35</ORDER_STATUS> <ORDER_TYPE>sample string 36</ORDER_TYPE> <PEDIDO_ID>sample string 43</PEDIDO_ID> <SEPARATION_PRIORITY>sample string 37</SEPARATION_PRIORITY> <SEQ_WEB_GRID>1</SEQ_WEB_GRID> <SEQ_WEB_ORDER>1</SEQ_WEB_ORDER> <STATE>sample string 38</STATE> <VALUE_ACCESSORY_EXPENSES>sample string 39</VALUE_ACCESSORY_EXPENSES> <VALUE_FREIGHT>sample string 40</VALUE_FREIGHT> <VALUE_ROUND_ECOMMERCE>sample string 41</VALUE_ROUND_ECOMMERCE> <WEB_ORDER_COSTUMER> <APPROVED_AMOUNT>1</APPROVED_AMOUNT> <CANCELED_AMOUNT>2</CANCELED_AMOUNT> <WAITINGPAYEMENT_AMOUNT>3</WAITINGPAYEMENT_AMOUNT> </WEB_ORDER_COSTUMER> <ZIP_CODE>sample string 42</ZIP_CODE> <linkerp>1</linkerp> </OrderDTO>
OrderResponseDTO
Name | Description | Type | Additional information |
---|---|---|---|
message_review | Message for Temporary Order | string | None. |
order | Properties to Order | OrderResponseDTO_OK | None. |
...