POST api/v2/pagamentoExpress/atualizastatuspedidopago

Request Information

URI Parameters

None.

Body Parameters

AtualizarStatusPedidoBindingModel
NameDescriptionTypeAdditional information
CanalId

integer

None.

NumeroPedido

integer

None.

FormaPagamento

FormaPagamento

None.

StatusPagamento

StatusPagamento

None.

PagamentoInfo

PagamentoInfo

None.

TenantId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CanalId": 1,
  "NumeroPedido": 2,
  "FormaPagamento": 0,
  "StatusPagamento": 0,
  "PagamentoInfo": {
    "ValorPagamento": 1.0,
    "AdditionalInfo": "sample string 2",
    "GatewayPagamentoId": 1
  },
  "TenantId": "e4bdee8e-2c4f-402e-9484-e5d5c1121d6f"
}

application/xml, text/xml

Sample:
<AtualizarStatusPedidoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels">
  <CanalId>1</CanalId>
  <FormaPagamento>Dinheiro</FormaPagamento>
  <NumeroPedido>2</NumeroPedido>
  <PagamentoInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
    <d2p1:AdditionalInfo>sample string 2</d2p1:AdditionalInfo>
    <d2p1:GatewayPagamentoId>1</d2p1:GatewayPagamentoId>
    <d2p1:ValorPagamento>1</d2p1:ValorPagamento>
  </PagamentoInfo>
  <StatusPagamento>None</StatusPagamento>
  <TenantId>e4bdee8e-2c4f-402e-9484-e5d5c1121d6f</TenantId>
</AtualizarStatusPedidoBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AtualizarStatusPedidoResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AtualizarStatusPedidoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded>
</AtualizarStatusPedidoResult>