Skip to main content
Anchor to CustomerPaymentMethodUserError

CustomerPaymentMethodUserError

object

Requires read_customers access scope. Also: Requires read_customer_payment_methods scope.

Represents an error in the input of a mutation.

•

The error code.

•

The path to the input field that caused the error.

•
String!non-null

The error message.


Was this section helpful?

•
mutation

Creates a PayPal billing agreement for a customer.

Arguments

•

The billing address.

•
String!required

The billing agreement ID from PayPal that starts with 'B-' (for example, B-1234XXXXX).

•
ID!required

The ID of the customer.

•
BooleanDefault:false

Whether the PayPal billing agreement is inactive.


Fields

Anchor to customerPaymentMethodcustomerPaymentMethod
•

The customer payment method.

•

The list of errors that occurred from executing the mutation.

•
mutation

Updates a PayPal billing agreement for a customer.

Arguments

•

The billing address.

•
ID!required

The ID of the customer payment method.


Fields

Anchor to customerPaymentMethodcustomerPaymentMethod
•

The customer payment method.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?