{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-apis/onward.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"apis/onward.yaml","settings":{"baseUrlPath":"/apis/onward"},"disableAutoScroll":true,"seo":{"title":"Create a customer","description":"Creates a customer so you can open a reward for them before they have ever ordered. shop_customer_id is required, along with at least one of first_name, last_name, email or phone_number. The orders Onward later ingests for that customer update this same record instead of creating another."},"dynamicMarkdocComponents":[],"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.useonward.com","port":4000,"ipAddress":"216.73.216.95"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/apis/onward/customers/createcustomer","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}