---
title: "ReferralRecordCreatePayload"
description: "The return payload for creating a referral relationship."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/member-system/objects/referral-record-create-payload'
  md: 'https://developer.shopline.com/docs/storefront-api/member-system/objects/referral-record-create-payload.md'
---
# ReferralRecordCreatePayload

The return payload for creating a referral relationship.

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `userErrors`

  [[MemberUserError!]!](https://developer.shopline.com/docs/storefront-api/member-system/objects/member-user-error.md)

  The errors that occur when creating a referral relationship.

* `senderCustomer`

  [ReferralSenderCustomer](https://developer.shopline.com/docs/storefront-api/member-system/objects/referral-sender-customer.md)

  The referrer information.

* `receiverCustomer`

  [ReferralReceiverCustomer](https://developer.shopline.com/docs/storefront-api/member-system/objects/referral-receiver-customer.md)

  The invitee information.

## Field from

* [Mutation](https://developer.shopline.com/docs/storefront-api/member-system/mutations/referral-record-create.md).referralRecordCreate

