Eliminar Contacto de Envío (Cliente)

Elimina un envío existente para una orden.

Argumentos

Tipo

Descripción

id

string

Id del contacto de envío.

customer = Conekta::Customer.find("cus_zzmjKsnM9oacyCwV3")
customer.shipping_contacts.first.delete
curl -H "Accept: application/vnd.conekta-v2.0.0+json" \
-H "Content-type: application/json" \
-u key_eYvWV7gSDkNYXsmr: \
-X DELETE https://api.conekta.io/customers/cus_zzmjKsnM9oacyCwV3/shipping_contacts/ship_cont_afbur73vpdhdjwgo
$customer = \Conekta\Customer::find("cus_zzmjKsnM9oacyCwV3");
$customer->shipping_contacts[0]->delete();
conekta.Customer.find("cus_zzmjKsnM9oacyCwV3", function(err, customer) {
    customer.shipping_contacts.get(0).delete(function(err, shippingContact) {
        console.log(shippingContact);
    });
});
customer = conekta.customer.find("cus_zzmjKsnM9oacyCwV3")
customer.shipping_contacts[0].delete()
Customer customer = Customer.find("cus_zzmjKsnM9oacyCwV3");
ShippingContact shippingContact = null;
shippingContact =
  (ShippingContact) customer.shipping_contacts.get(0);
shippingContact.delete();
Customer customer = new conekta.Customer().find("cus_zzmjKsnM9oacyCwV3");
customer.shipping_contacts.at(0).destroy();
import  (
    conekta "github.com/conekta/conekta-go"
    "github.com/conekta/conekta-go/shippingcontact"
)

shippingcontact.Delete("cus_zzmjKsnM9oacyCwV3", "ship_cont_2nBaWEC7ftCTpi8rR")