{"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's reward, with its opening entry","description":"A reward cannot be opened empty — the discount is created from the balance, and a zero balance produces an already-expired code — so the reward is opened together with its first entry. The customer must already exist; an unknown customer returns 404. Create them with POST /customers and retry."},"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/rewards/createcustomerreward","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}