{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-membership-create-request-dto-schema.json",
  "title": "MembershipCreateRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-memberships-api-api-openapi.yml#/components/schemas/MembershipCreateRequestDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "The email of the member. The customer with the email should exist in Shopify. Otherwise, the request will fail."
    },
    "membershipOfferName": {
      "type": "string"
    },
    "startedAt": {
      "format": "date-time",
      "type": "string",
      "description": "The start date of the membership. If not provided, it defaults to the current date."
    }
  },
  "required": [
    "email",
    "membershipOfferName"
  ]
}