Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to customerPaymentMethodPaypalBillingAgreementCreate

customerPaymentMethodPaypalBillingAgreementCreate

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Creates a PayPal billing agreement for a customer.

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.


Was this section helpful?

Anchor to CustomerPaymentMethodPaypalBillingAgreementCreatePayload returnsCustomerPaymentMethodPaypalBillingAgreementCreatePayload returns

Anchor to customerPaymentMethodcustomerPaymentMethod

The customer payment method.

The list of errors that occurred from executing the mutation.


Was this section helpful?