{"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":"Read a customer and their rewards","description":"Returns the customer together with every reward they hold. rewards is an array so a customer can hold multiple independent rewards in future; today it holds at most one, and a customer with no reward returns [] rather than an error. shop_reward_id is null when there is no discount to address the reward by. A 404 means the customer does not exist."},"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/getcustomerrewards","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}