DELETE api/Customers/Destroy/Failed

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
id

string

None.

name

string

None.

email

string

None.

phone

string

None.

corporate

boolean

None.

payment_sources

Collection of PaymentSource

None.

fiscal_entities

Collection of FiscalEntity

None.

shipping_contacts

Collection of ShippingContact

None.

subscription

Subscription

None.

account_age

integer

None.

paid_transactions

integer

None.

first_paid_at

integer

None.

created_at

string

None.

type

string

None.

message

string

None.

message_to_purchaser

string

None.

code

string

None.

param

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "email": "sample string 3",
  "phone": "sample string 4",
  "corporate": true,
  "payment_sources": [
    {
      "id": "sample string 1",
      "type": "sample string 2",
      "deleted": true,
      "parent_id": "sample string 4",
      "message": "sample string 5",
      "message_to_purchaser": "sample string 6",
      "code": "sample string 7",
      "param": "sample string 8"
    },
    {
      "id": "sample string 1",
      "type": "sample string 2",
      "deleted": true,
      "parent_id": "sample string 4",
      "message": "sample string 5",
      "message_to_purchaser": "sample string 6",
      "code": "sample string 7",
      "param": "sample string 8"
    }
  ],
  "fiscal_entities": [
    {
      "id": "sample string 1",
      "tax_id": "sample string 2",
      "company_name": "sample string 3",
      "email": "sample string 4",
      "phone": "sample string 5",
      "address": {
        "street1": "sample string 1",
        "street2": "sample string 2",
        "street3": "sample string 3",
        "city": "sample string 4",
        "state": "sample string 5",
        "country": "sample string 6",
        "zip": "sample string 7",
        "residential": true,
        "parent_id": "sample string 9",
        "type": "sample string 10",
        "message": "sample string 11",
        "message_to_purchaser": "sample string 12",
        "code": "sample string 13",
        "param": "sample string 14"
      },
      "parent_id": "sample string 6",
      "type": "sample string 7",
      "message": "sample string 8",
      "message_to_purchaser": "sample string 9",
      "code": "sample string 10",
      "param": "sample string 11"
    },
    {
      "id": "sample string 1",
      "tax_id": "sample string 2",
      "company_name": "sample string 3",
      "email": "sample string 4",
      "phone": "sample string 5",
      "address": {
        "street1": "sample string 1",
        "street2": "sample string 2",
        "street3": "sample string 3",
        "city": "sample string 4",
        "state": "sample string 5",
        "country": "sample string 6",
        "zip": "sample string 7",
        "residential": true,
        "parent_id": "sample string 9",
        "type": "sample string 10",
        "message": "sample string 11",
        "message_to_purchaser": "sample string 12",
        "code": "sample string 13",
        "param": "sample string 14"
      },
      "parent_id": "sample string 6",
      "type": "sample string 7",
      "message": "sample string 8",
      "message_to_purchaser": "sample string 9",
      "code": "sample string 10",
      "param": "sample string 11"
    }
  ],
  "shipping_contacts": [
    {
      "id": "sample string 1",
      "email": "sample string 2",
      "phone": "sample string 3",
      "receiver": "sample string 4",
      "between_streets": "sample string 5",
      "address": {
        "street1": "sample string 1",
        "street2": "sample string 2",
        "street3": "sample string 3",
        "city": "sample string 4",
        "state": "sample string 5",
        "country": "sample string 6",
        "zip": "sample string 7",
        "residential": true,
        "parent_id": "sample string 9",
        "type": "sample string 10",
        "message": "sample string 11",
        "message_to_purchaser": "sample string 12",
        "code": "sample string 13",
        "param": "sample string 14"
      },
      "parent_id": "sample string 6",
      "type": "sample string 7",
      "message": "sample string 8",
      "message_to_purchaser": "sample string 9",
      "code": "sample string 10",
      "param": "sample string 11"
    },
    {
      "id": "sample string 1",
      "email": "sample string 2",
      "phone": "sample string 3",
      "receiver": "sample string 4",
      "between_streets": "sample string 5",
      "address": {
        "street1": "sample string 1",
        "street2": "sample string 2",
        "street3": "sample string 3",
        "city": "sample string 4",
        "state": "sample string 5",
        "country": "sample string 6",
        "zip": "sample string 7",
        "residential": true,
        "parent_id": "sample string 9",
        "type": "sample string 10",
        "message": "sample string 11",
        "message_to_purchaser": "sample string 12",
        "code": "sample string 13",
        "param": "sample string 14"
      },
      "parent_id": "sample string 6",
      "type": "sample string 7",
      "message": "sample string 8",
      "message_to_purchaser": "sample string 9",
      "code": "sample string 10",
      "param": "sample string 11"
    }
  ],
  "subscription": {
    "id": "sample string 1",
    "status": "sample string 2",
    "plan": "sample string 3",
    "plan_id": "sample string 4",
    "card_id": "sample string 5",
    "billing_cycle_start": 6,
    "billing_cycle_end": 7,
    "created_at": 8,
    "customer_id": "sample string 9",
    "type": "sample string 10",
    "message": "sample string 11",
    "message_to_purchaser": "sample string 12",
    "code": "sample string 13",
    "param": "sample string 14"
  },
  "account_age": 6,
  "paid_transactions": 7,
  "first_paid_at": 8,
  "created_at": "sample string 9",
  "type": "sample string 10",
  "message": "sample string 11",
  "message_to_purchaser": "sample string 12",
  "code": "sample string 13",
  "param": "sample string 14"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/conekta">
  <code>sample string 13</code>
  <message>sample string 11</message>
  <message_to_purchaser>sample string 12</message_to_purchaser>
  <param>sample string 14</param>
  <type>sample string 10</type>
  <account_age>6</account_age>
  <corporate>true</corporate>
  <created_at>sample string 9</created_at>
  <email>sample string 3</email>
  <first_paid_at>8</first_paid_at>
  <fiscal_entities>
    <FiscalEntity>
      <code>sample string 10</code>
      <message>sample string 8</message>
      <message_to_purchaser>sample string 9</message_to_purchaser>
      <param>sample string 11</param>
      <type>sample string 7</type>
      <address>
        <code>sample string 13</code>
        <message>sample string 11</message>
        <message_to_purchaser>sample string 12</message_to_purchaser>
        <param>sample string 14</param>
        <type>sample string 10</type>
        <city>sample string 4</city>
        <country>sample string 6</country>
        <parent_id>sample string 9</parent_id>
        <residential>true</residential>
        <state>sample string 5</state>
        <street1>sample string 1</street1>
        <street2>sample string 2</street2>
        <street3>sample string 3</street3>
        <zip>sample string 7</zip>
      </address>
      <company_name>sample string 3</company_name>
      <email>sample string 4</email>
      <id>sample string 1</id>
      <parent_id>sample string 6</parent_id>
      <phone>sample string 5</phone>
      <tax_id>sample string 2</tax_id>
    </FiscalEntity>
    <FiscalEntity>
      <code>sample string 10</code>
      <message>sample string 8</message>
      <message_to_purchaser>sample string 9</message_to_purchaser>
      <param>sample string 11</param>
      <type>sample string 7</type>
      <address>
        <code>sample string 13</code>
        <message>sample string 11</message>
        <message_to_purchaser>sample string 12</message_to_purchaser>
        <param>sample string 14</param>
        <type>sample string 10</type>
        <city>sample string 4</city>
        <country>sample string 6</country>
        <parent_id>sample string 9</parent_id>
        <residential>true</residential>
        <state>sample string 5</state>
        <street1>sample string 1</street1>
        <street2>sample string 2</street2>
        <street3>sample string 3</street3>
        <zip>sample string 7</zip>
      </address>
      <company_name>sample string 3</company_name>
      <email>sample string 4</email>
      <id>sample string 1</id>
      <parent_id>sample string 6</parent_id>
      <phone>sample string 5</phone>
      <tax_id>sample string 2</tax_id>
    </FiscalEntity>
  </fiscal_entities>
  <id>sample string 1</id>
  <name>sample string 2</name>
  <paid_transactions>7</paid_transactions>
  <payment_sources>
    <PaymentSource>
      <code>sample string 7</code>
      <message>sample string 5</message>
      <message_to_purchaser>sample string 6</message_to_purchaser>
      <param>sample string 8</param>
      <type i:nil="true" />
      <deleted>true</deleted>
      <id>sample string 1</id>
      <parent_id>sample string 4</parent_id>
      <type>sample string 2</type>
    </PaymentSource>
    <PaymentSource>
      <code>sample string 7</code>
      <message>sample string 5</message>
      <message_to_purchaser>sample string 6</message_to_purchaser>
      <param>sample string 8</param>
      <type i:nil="true" />
      <deleted>true</deleted>
      <id>sample string 1</id>
      <parent_id>sample string 4</parent_id>
      <type>sample string 2</type>
    </PaymentSource>
  </payment_sources>
  <phone>sample string 4</phone>
  <shipping_contacts>
    <ShippingContact>
      <code>sample string 10</code>
      <message>sample string 8</message>
      <message_to_purchaser>sample string 9</message_to_purchaser>
      <param>sample string 11</param>
      <type>sample string 7</type>
      <address>
        <code>sample string 13</code>
        <message>sample string 11</message>
        <message_to_purchaser>sample string 12</message_to_purchaser>
        <param>sample string 14</param>
        <type>sample string 10</type>
        <city>sample string 4</city>
        <country>sample string 6</country>
        <parent_id>sample string 9</parent_id>
        <residential>true</residential>
        <state>sample string 5</state>
        <street1>sample string 1</street1>
        <street2>sample string 2</street2>
        <street3>sample string 3</street3>
        <zip>sample string 7</zip>
      </address>
      <between_streets>sample string 5</between_streets>
      <email>sample string 2</email>
      <id>sample string 1</id>
      <parent_id>sample string 6</parent_id>
      <phone>sample string 3</phone>
      <receiver>sample string 4</receiver>
    </ShippingContact>
    <ShippingContact>
      <code>sample string 10</code>
      <message>sample string 8</message>
      <message_to_purchaser>sample string 9</message_to_purchaser>
      <param>sample string 11</param>
      <type>sample string 7</type>
      <address>
        <code>sample string 13</code>
        <message>sample string 11</message>
        <message_to_purchaser>sample string 12</message_to_purchaser>
        <param>sample string 14</param>
        <type>sample string 10</type>
        <city>sample string 4</city>
        <country>sample string 6</country>
        <parent_id>sample string 9</parent_id>
        <residential>true</residential>
        <state>sample string 5</state>
        <street1>sample string 1</street1>
        <street2>sample string 2</street2>
        <street3>sample string 3</street3>
        <zip>sample string 7</zip>
      </address>
      <between_streets>sample string 5</between_streets>
      <email>sample string 2</email>
      <id>sample string 1</id>
      <parent_id>sample string 6</parent_id>
      <phone>sample string 3</phone>
      <receiver>sample string 4</receiver>
    </ShippingContact>
  </shipping_contacts>
  <subscription>
    <code>sample string 13</code>
    <message>sample string 11</message>
    <message_to_purchaser>sample string 12</message_to_purchaser>
    <param>sample string 14</param>
    <type>sample string 10</type>
    <billing_cycle_end>7</billing_cycle_end>
    <billing_cycle_start>6</billing_cycle_start>
    <card_id>sample string 5</card_id>
    <created_at>8</created_at>
    <customer_id>sample string 9</customer_id>
    <id>sample string 1</id>
    <plan>sample string 3</plan>
    <plan_id>sample string 4</plan_id>
    <status>sample string 2</status>
  </subscription>
</Customer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Customer'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.