Customers > Customers > customersPaymentSourcesDelete
Commerce APICustomersCustomerscustomersPaymentSourcesDelete
customersPaymentSourcesDelete
DELETE:customers/payment_sources.json

Description

Delete customer payment sources (only 1st tier gateways).

Permission bit: "customer_payment_sources.delete"

Topic: Customers

Arguments

customer_id: String!

Unique customer identifier. See also: Unique Identifiers

Example: "cu_EQzGqWoY"


ids: [String!]!

List of customer payment source ids. See also: Unique Identifiers


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

Boolean

Preview (typescript)

Loading module