younifyd
Menu

Delete Customer Payment Method Reference

Delete Customer Payment Method Reference

DELETE/organizations/{organizationId}/customers/{customerId}/payment-method-references/{paymentMethodReferenceId}

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Delete Customer Payment Method Reference action (under Shopper Customers).
  3. Fill in the fields below, then reference the result from later steps as {{deleteCustomerPaymentMethodReference.response.data}}.

Request

Path parameters

paymentMethodReferenceIdstringrequired

The ID of the payment method reference to delete.

customerIdstringrequired

The customer ID.

organizationIdstringrequired

An identifier for the Salesforce Commerce Cloud organization the request is being made by. It consists of a prefix 'f_ecom_' followed by a 4-character [realm identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#realm-id) and a 3-character [instance type identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#instance-id).

Query parameters

siteIdstringrequired

The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites.

accountIdstringrequired

The account ID used to scope payment method references.

Response

Returns 204 with a any. Read it in later steps with {{deleteCustomerPaymentMethodReference.response.data.<field>}}.

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Delete Customer Payment Method Reference — Salesforce Commerce Cloud — Documentation