Offer fields to update. Omitted fields remain unchanged. Use attributes for all available settings. When name, description and is_published are sent alone without attributes, null values are ignored.
Add prices without an ID. Existing amounts and billing terms cannot be changed. To archive a price, supply its id and _destroy: true. Existing purchases are kept.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SchoolMaker API Documentation","colors":{"primary":"#EF4444","light":"#EF5644","dark":"#EF4444"},"logo":{"light":"https://mintcdn.com/schoolmaker/S_ThhKyu9HbXjLGn/logo/light.svg?fit=max\u0026auto=format\u0026n=S_ThhKyu9HbXjLGn\u0026q=85\u0026s=b9c3e397a383720fb02ca3846f6ca876","dark":"https://mintcdn.com/schoolmaker/S_ThhKyu9HbXjLGn/logo/dark.svg?fit=max\u0026auto=format\u0026n=S_ThhKyu9HbXjLGn\u0026q=85\u0026s=7465b271a2b7798dd511f9f1a40f8a1f"},"favicon":"https://mintcdn.com/schoolmaker/S_ThhKyu9HbXjLGn/favicon.svg?fit=max\u0026auto=format\u0026n=S_ThhKyu9HbXjLGn\u0026q=85\u0026s=f3df255c6bafca96fd3f0adc2022edd3","navbar":{"links":[{"href":"mailto:support@schoolmaker.co","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://schoolmaker.com"}},"footer":{"socials":{"x":"https://x.com/SchoolMakerApp","github":"https://github.com/ISC-Limited/docs","linkedin":"https://www.linkedin.com/company/69576456"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Support Documentation","icon":"life-ring","href":"https://schoolmaker.helpscoutdocs.com/"},{"anchor":"Blog","icon":"newspaper","href":"https://schoolmaker.com/blog"},{"anchor":"Course creation guide","icon":"lightbulb","href":"https://www.schoolmaker.com/course-creation-guide"},{"anchor":"Integrations","icon":"plug","href":"https://www.schoolmaker.com/integrations"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"schoolmaker","hasAudioNarration":false,"actualSubdomain":"schoolmaker","customDomains":["docs.schoolmaker.com"],"gitSource":{"type":"github","owner":"isc-limited","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aec8d87ca078695d82a862d","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":82},{"language":"default","tag":"Offers","count":9},{"language":"default","tag":"Members","count":7},{"language":"default","tag":"Badges","count":6},{"language":"default","tag":"Community","count":6},{"language":"default","tag":"Consultations","count":6},{"language":"default","tag":"Lessons","count":6},{"language":"default","tag":"Programs","count":6},{"language":"default","tag":"Sections","count":6},{"language":"default","tag":"Steps","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/offers/update","slug":"/api-reference/endpoints/offers/update","pageMetadata":{"openapi":"patch /offers/{id}","title":"Set Offer Details","description":"Updates an offer's details, publish status, accesses and prices.","href":"/api-reference/endpoints/offers/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates an offer’s details, publish status, accesses and prices.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"patch /offers/{id}","title":"Set Offer Details","description":"Updates an offer's details, publish status, accesses and prices.","href":"/api-reference/endpoints/offers/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Set Offer Details","description":"Updates an offer's details, publish status, accesses and prices.","parameters":["4d841817-5da4-41cf-a122-20cae5f57baf"],"requestBody":"d569ced8-6cba-4029-b21f-d261a51ef2fe","responses":{"200":"ad862315-1131-4eff-ad3a-cce3bb951d93","401":"25b670a5-4c44-415b-a90f-325541808c0c","404":"26fae375-5270-4f76-a40a-80f9db5918fd","422":"4ace97a3-2834-4c3a-ae7b-fc43bc359549"},"tags":["Offers"],"method":"patch","type":"path","servers":["20a2ea42-c662-489e-8962-4b9949304f1c"],"security":["b60e2ce8-6e60-4d85-b602-ea5bebc42389"],"path":"/offers/{id}","baseUrlOptions":["https://schoolmaker.co/api/v1"],"title":"Set Offer Details","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4d841817-5da4-41cf-a122-20cae5f57baf":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Offer fields to update. Omitted fields remain unchanged. Use attributes for all available settings. When name, description and is_published are sent alone without attributes, null values are ignored.","properties":{"name":{"type":"string","maxLength":255,"minLength":1,"description":"Offer name. Required when creating and cannot be blank.","uniqueKey":"oneOf.0.name","typeLabel":"string"},"title":{"oneOf":[{"type":"string","maxLength":255,"uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","maxLength":200000,"uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200000,"uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"long_description":{"oneOf":[{"type":"string","maxLength":200000,"description":"Formatted offer description. Omit to keep the current description or use null to clear it.","uniqueKey":"oneOf.0.long_description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200000,"description":"Formatted offer description. Omit to keep the current description or use null to clear it.","uniqueKey":"oneOf.0.long_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.long_description","typeLabel":"string | null"},"is_published":{"type":"boolean","description":"Whether the offer and payment pages are published. Unpublishing keeps member accesses. Deleting the offer removes them.","uniqueKey":"oneOf.0.is_published","typeLabel":"boolean"},"is_access_program_shown":{"type":"boolean","description":"Use true or false. Omit to keep the current value. Cannot be null.","uniqueKey":"oneOf.0.is_access_program_shown","typeLabel":"boolean"},"is_search_engine_indexing_enabled":{"type":"boolean","description":"Use true or false. Omit to keep the current value. Cannot be null.","uniqueKey":"oneOf.0.is_search_engine_indexing_enabled","typeLabel":"boolean"},"max_purchase_amount":{"type":"integer","minimum":0,"description":"Maximum number of purchases. Use zero for no limit. Omit to keep the current value. Cannot be negative or null.","uniqueKey":"oneOf.0.max_purchase_amount","typeLabel":"integer"},"trial_period_days":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.trial_period_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.0.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.trial_period_days","typeLabel":"integer | null"},"trial_period_days_multiplier":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.trial_period_days_multiplier.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.0.trial_period_days_multiplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.trial_period_days_multiplier","typeLabel":"integer | null"},"settings_allow_multiple_purchase":{"type":"boolean","uniqueKey":"oneOf.0.settings_allow_multiple_purchase","typeLabel":"boolean"},"accesses_attributes":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].id","typeLabel":"string"},"element_type":{"type":"string","enum":["Product","Forums::Category","Meetings::Category","Lives::Category","Coachings::Type","AiAssistant"],"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].element_type","typeLabel":"enum\u003cstring>"},"element_id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].element_id","typeLabel":"string"},"access_type":{"type":"string","enum":["lifetime","subscription","limited"],"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].access_type","typeLabel":"enum\u003cstring>"},"end_delay":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].end_delay","typeLabel":"integer"},"quantity":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].quantity","typeLabel":"integer"},"quantity_hours":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].quantity_hours","typeLabel":"integer"},"quantity_minutes":{"type":"integer","minimum":0,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].quantity_minutes","typeLabel":"integer"},"_destroy":{"type":"boolean","uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX]._destroy","typeLabel":"boolean"},"lesson_ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].lesson_ids.items.[INDEX]","typeLabel":"string"},"maxItems":100,"description":"Program lessons to enable. Omit to include all current lessons when creating or keep the selection when updating. An empty array disables all current lessons.","uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX].lesson_ids","typeLabel":"string[]"}},"uniqueKey":"oneOf.0.accesses_attributes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.accesses_attributes","typeLabel":"object[]"},"prices_attributes":{"type":"array","maxItems":20,"items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].id","typeLabel":"string"},"price_type":{"type":"string","enum":["one-time","recurring","multiple-installments"],"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].price_type","typeLabel":"enum\u003cstring>"},"recurring_interval":{"type":"string","enum":["day","week","month","year"],"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].recurring_interval","typeLabel":"enum\u003cstring>"},"recurring_interval_count":{"type":"integer","minimum":1,"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].recurring_interval_count","typeLabel":"integer"},"recurring_iterations":{"type":"integer","minimum":2,"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].recurring_iterations","typeLabel":"integer"},"amount":{"type":"number","minimum":0,"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX].amount","typeLabel":"number"},"_destroy":{"type":"boolean","uniqueKey":"oneOf.0.prices_attributes.items.[INDEX]._destroy","typeLabel":"boolean"}},"uniqueKey":"oneOf.0.prices_attributes.items.[INDEX]","typeLabel":"object"},"description":"Add prices without an ID. Existing amounts and billing terms cannot be changed. To archive a price, supply its id and _destroy: true. Existing purchases are kept.","uniqueKey":"oneOf.0.prices_attributes","typeLabel":"object[]"},"content_format":{"type":"string","enum":["html","markdown"],"description":"Format of long_description. Defaults to HTML. Markdown is also supported.","uniqueKey":"oneOf.0.content_format","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["attributes"],"properties":{"attributes":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"minLength":1,"description":"Offer name. Required when creating and cannot be blank.","uniqueKey":"oneOf.1.attributes.name","typeLabel":"string"},"title":{"oneOf":[{"type":"string","maxLength":255,"uniqueKey":"oneOf.1.attributes.title.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"uniqueKey":"oneOf.1.attributes.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.attributes.title","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","maxLength":200000,"uniqueKey":"oneOf.1.attributes.description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200000,"uniqueKey":"oneOf.1.attributes.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.attributes.description","typeLabel":"string | null"},"long_description":{"oneOf":[{"type":"string","maxLength":200000,"description":"Formatted offer description. Omit to keep the current description or use null to clear it.","uniqueKey":"oneOf.1.attributes.long_description.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200000,"description":"Formatted offer description. Omit to keep the current description or use null to clear it.","uniqueKey":"oneOf.1.attributes.long_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.attributes.long_description","typeLabel":"string | null"},"is_published":{"type":"boolean","description":"Whether the offer and payment pages are published. Unpublishing keeps member accesses. Deleting the offer removes them.","uniqueKey":"oneOf.1.attributes.is_published","typeLabel":"boolean"},"is_access_program_shown":{"type":"boolean","description":"Use true or false. Omit to keep the current value. Cannot be null.","uniqueKey":"oneOf.1.attributes.is_access_program_shown","typeLabel":"boolean"},"is_search_engine_indexing_enabled":{"type":"boolean","description":"Use true or false. Omit to keep the current value. Cannot be null.","uniqueKey":"oneOf.1.attributes.is_search_engine_indexing_enabled","typeLabel":"boolean"},"max_purchase_amount":{"type":"integer","minimum":0,"description":"Maximum number of purchases. Use zero for no limit. Omit to keep the current value. Cannot be negative or null.","uniqueKey":"oneOf.1.attributes.max_purchase_amount","typeLabel":"integer"},"trial_period_days":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.attributes.trial_period_days.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.1.attributes.trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.attributes.trial_period_days","typeLabel":"integer | null"},"trial_period_days_multiplier":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.attributes.trial_period_days_multiplier.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.1.attributes.trial_period_days_multiplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.attributes.trial_period_days_multiplier","typeLabel":"integer | null"},"settings_allow_multiple_purchase":{"type":"boolean","uniqueKey":"oneOf.1.attributes.settings_allow_multiple_purchase","typeLabel":"boolean"},"accesses_attributes":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].id","typeLabel":"string"},"element_type":{"type":"string","enum":["Product","Forums::Category","Meetings::Category","Lives::Category","Coachings::Type","AiAssistant"],"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].element_type","typeLabel":"enum\u003cstring>"},"element_id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].element_id","typeLabel":"string"},"access_type":{"type":"string","enum":["lifetime","subscription","limited"],"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].access_type","typeLabel":"enum\u003cstring>"},"end_delay":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].end_delay","typeLabel":"integer"},"quantity":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].quantity","typeLabel":"integer"},"quantity_hours":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].quantity_hours","typeLabel":"integer"},"quantity_minutes":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].quantity_minutes","typeLabel":"integer"},"_destroy":{"type":"boolean","uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX]._destroy","typeLabel":"boolean"},"lesson_ids":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].lesson_ids.items.[INDEX]","typeLabel":"string"},"maxItems":100,"description":"Program lessons to enable. Omit to include all current lessons when creating or keep the selection when updating. An empty array disables all current lessons.","uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX].lesson_ids","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.attributes.accesses_attributes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.attributes.accesses_attributes","typeLabel":"object[]"},"prices_attributes":{"type":"array","maxItems":20,"items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":255,"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].id","typeLabel":"string"},"price_type":{"type":"string","enum":["one-time","recurring","multiple-installments"],"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].price_type","typeLabel":"enum\u003cstring>"},"recurring_interval":{"type":"string","enum":["day","week","month","year"],"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].recurring_interval","typeLabel":"enum\u003cstring>"},"recurring_interval_count":{"type":"integer","minimum":1,"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].recurring_interval_count","typeLabel":"integer"},"recurring_iterations":{"type":"integer","minimum":2,"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].recurring_iterations","typeLabel":"integer"},"amount":{"type":"number","minimum":0,"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX].amount","typeLabel":"number"},"_destroy":{"type":"boolean","uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX]._destroy","typeLabel":"boolean"}},"uniqueKey":"oneOf.1.attributes.prices_attributes.items.[INDEX]","typeLabel":"object"},"description":"Add prices without an ID. Existing amounts and billing terms cannot be changed. To archive a price, supply its id and _destroy: true. Existing purchases are kept.","uniqueKey":"oneOf.1.attributes.prices_attributes","typeLabel":"object[]"},"content_format":{"type":"string","enum":["html","markdown"],"description":"Format of long_description. Defaults to HTML. Markdown is also supported.","uniqueKey":"oneOf.1.attributes.content_format","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"description":"Offer fields to update. Omitted fields remain unchanged. Use attributes for all available settings. When name, description and is_published are sent alone without attributes, null values are ignored.","isRequired":true,"uniqueKey":"oneOf.1.attributes","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","long_description":"\u003cstring>","is_published":true,"is_access_program_shown":true,"is_search_engine_indexing_enabled":true,"max_purchase_amount":1,"trial_period_days":1,"trial_period_days_multiplier":1,"settings_allow_multiple_purchase":true,"accesses_attributes":[{"id":"\u003cstring>","element_id":"\u003cstring>","end_delay":2,"quantity":2,"quantity_hours":1,"quantity_minutes":1,"_destroy":true,"lesson_ids":["\u003cstring>"]}],"prices_attributes":[{"id":"\u003cstring>","recurring_interval_count":2,"recurring_iterations":3,"amount":1,"_destroy":true}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ad862315-1131-4eff-ad3a-cce3bb951d93":{"description":"Updated offer details","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"long_description":{"oneOf":[{"type":"string","uniqueKey":"long_description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"long_description.oneOf.1","typeLabel":"null"}],"uniqueKey":"long_description","typeLabel":"string | null"},"is_published":{"type":"boolean","uniqueKey":"is_published","typeLabel":"boolean"},"is_access_program_shown":{"oneOf":[{"type":"boolean","uniqueKey":"is_access_program_shown.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"is_access_program_shown.oneOf.1","typeLabel":"null"}],"uniqueKey":"is_access_program_shown","typeLabel":"boolean | null"},"is_search_engine_indexing_enabled":{"oneOf":[{"type":"boolean","uniqueKey":"is_search_engine_indexing_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"is_search_engine_indexing_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"is_search_engine_indexing_enabled","typeLabel":"boolean | null"},"max_purchase_amount":{"oneOf":[{"type":"integer","uniqueKey":"max_purchase_amount.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_purchase_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_purchase_amount","typeLabel":"integer | null"},"trial_period_days":{"oneOf":[{"type":"integer","uniqueKey":"trial_period_days.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"trial_period_days.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_period_days","typeLabel":"integer | null"},"trial_period_days_multiplier":{"oneOf":[{"type":"integer","uniqueKey":"trial_period_days_multiplier.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"trial_period_days_multiplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"trial_period_days_multiplier","typeLabel":"integer | null"},"settings_allow_multiple_purchase":{"type":"boolean","uniqueKey":"settings_allow_multiple_purchase","typeLabel":"boolean"},"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"image_cover_url":{"oneOf":[{"type":"string","uniqueKey":"image_cover_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"image_cover_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_cover_url","typeLabel":"string | null"},"accesses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"accesses.items.[INDEX].id","typeLabel":"string"},"element_id":{"type":"string","uniqueKey":"accesses.items.[INDEX].element_id","typeLabel":"string"},"element_type":{"type":"string","uniqueKey":"accesses.items.[INDEX].element_type","typeLabel":"string"},"access_type":{"type":"string","uniqueKey":"accesses.items.[INDEX].access_type","typeLabel":"string"},"end_delay":{"type":"integer","uniqueKey":"accesses.items.[INDEX].end_delay","typeLabel":"integer"},"quantity":{"type":"integer","uniqueKey":"accesses.items.[INDEX].quantity","typeLabel":"integer"},"lessons":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"accesses.items.[INDEX].lessons.items.[INDEX].id","typeLabel":"string"},"is_enabled":{"type":"boolean","uniqueKey":"accesses.items.[INDEX].lessons.items.[INDEX].is_enabled","typeLabel":"boolean"}},"uniqueKey":"accesses.items.[INDEX].lessons.items.[INDEX]","typeLabel":"object"},"uniqueKey":"accesses.items.[INDEX].lessons","typeLabel":"object[]"}},"uniqueKey":"accesses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"accesses","typeLabel":"object[]"},"prices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"prices.items.[INDEX].id","typeLabel":"string"},"amount":{"oneOf":[{"type":"number","uniqueKey":"prices.items.[INDEX].amount.oneOf.0","typeLabel":"number"},{"type":"string","uniqueKey":"prices.items.[INDEX].amount.oneOf.1","typeLabel":"string"}],"uniqueKey":"prices.items.[INDEX].amount","typeLabel":"number | string"},"price_type":{"type":"string","uniqueKey":"prices.items.[INDEX].price_type","typeLabel":"string"},"recurring_interval":{"type":"string","uniqueKey":"prices.items.[INDEX].recurring_interval","typeLabel":"string"},"recurring_interval_count":{"type":"integer","uniqueKey":"prices.items.[INDEX].recurring_interval_count","typeLabel":"integer"},"recurring_iterations":{"type":"integer","uniqueKey":"prices.items.[INDEX].recurring_iterations","typeLabel":"integer"},"currency":{"type":"string","uniqueKey":"prices.items.[INDEX].currency","typeLabel":"string"}},"uniqueKey":"prices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"prices","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"active_members_count":{"type":"integer","uniqueKey":"active_members_count","typeLabel":"integer"},"members_count":{"type":"integer","uniqueKey":"members_count","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","title":"\u003cstring>","long_description":"\u003cstring>","is_published":true,"is_access_program_shown":true,"is_search_engine_indexing_enabled":true,"max_purchase_amount":123,"trial_period_days":123,"trial_period_days_multiplier":123,"settings_allow_multiple_purchase":true,"id":"\u003cstring>","image_cover_url":"\u003cstring>","accesses":[{"id":"\u003cstring>","element_id":"\u003cstring>","element_type":"\u003cstring>","access_type":"\u003cstring>","end_delay":123,"quantity":123,"lessons":[{"id":"\u003cstring>","is_enabled":true}]}],"prices":[{"id":"\u003cstring>","amount":123,"price_type":"\u003cstring>","recurring_interval":"\u003cstring>","recurring_interval_count":123,"recurring_iterations":123,"currency":"\u003cstring>"}],"created_at":"2023-11-07T05:31:56Z","active_members_count":123,"members_count":123}}},"exampleType":"generated"}},"exampleType":"generated"},"25b670a5-4c44-415b-a90f-325541808c0c":{"description":"Missing or invalid API credentials.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"example":{"error":"Access denied"},"examples":{"Example":{"title":"Example","value":{"error":"Access denied"}}},"exampleType":"examples"}},"exampleType":"examples"},"26fae375-5270-4f76-a40a-80f9db5918fd":{"description":"Record not found in your school.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"example":{"error":"Record not found"},"examples":{"Example":{"title":"Example","value":{"error":"Record not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"4ace97a3-2834-4c3a-ae7b-fc43bc359549":{"description":"Invalid offer details.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"legacy":{"title":"legacy","value":{"name":["can't be blank"]}},"expanded":{"title":"expanded","value":{"error":"attributes must be an object"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b60e2ce8-6e60-4d85-b602-ea5bebc42389":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"20a2ea42-c662-489e-8962-4b9949304f1c":{"url":"https://schoolmaker.co/api/v1","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"schoolmaker","siteName":"SchoolMaker API Documentation","title":"Set Offer Details - SchoolMaker API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T13:44:51.554Z","originalFileLocation":"api-reference/endpoints/offers/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates an offer\u0026#x27;s details, publish status, accesses and prices.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SchoolMaker API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set Offer Details - SchoolMaker API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates an offer\u0026#x27;s details, publish status, accesses and prices.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SchoolMaker API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://schoolmaker.mintlify.site/_mintlify/api/og/v2?division=Offers\u0026amp;title=Set+Offer+Details\u0026amp;description=Updates+an+offer%27s+details%2C+publish+status%2C+accesses+and+prices.\u0026amp;theme=a8041d714431dc4dc18e24fc\u0026amp;signature=63519dd2e0208d780549f6f0f23ba3171b43c197b362358315ddc9619a413cfd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set Offer Details - SchoolMaker API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates an offer\u0026#x27;s details, publish status, accesses and prices.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://schoolmaker.mintlify.site/_mintlify/api/og/v2?division=Offers\u0026amp;title=Set+Offer+Details\u0026amp;description=Updates+an+offer%27s+details%2C+publish+status%2C+accesses+and+prices.\u0026amp;theme=a8041d714431dc4dc18e24fc\u0026amp;signature=63519dd2e0208d780549f6f0f23ba3171b43c197b362358315ddc9619a413cfd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/schoolmaker/GMrgMQzcazt3kYZ1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SchoolMaker API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF4444\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/offers/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.schoolmaker.com/#organization\",\"name\":\"SchoolMaker API Documentation\",\"url\":\"https://docs.schoolmaker.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/schoolmaker/S_ThhKyu9HbXjLGn/logo/light.svg?fit=max\u0026auto=format\u0026n=S_ThhKyu9HbXjLGn\u0026q=85\u0026s=b9c3e397a383720fb02ca3846f6ca876\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.schoolmaker.com#website\",\"name\":\"SchoolMaker API Documentation\",\"url\":\"https://docs.schoolmaker.com\",\"publisher\":{\"@id\":\"https://docs.schoolmaker.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update#webpage\",\"url\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update\",\"name\":\"Set Offer Details\",\"description\":\"Updates an offer's details, publish status, accesses and prices.\",\"dateModified\":\"2026-10-02T13:44:51.554Z\",\"isPartOf\":{\"@id\":\"https://docs.schoolmaker.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Offers\",\"item\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set Offer Details\",\"item\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update#apireference\",\"headline\":\"Set Offer Details\",\"name\":\"Set Offer Details\",\"description\":\"Updates an offer's details, publish status, accesses and prices.\",\"url\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.schoolmaker.com/api-reference/endpoints/offers/update#webpage\"},\"dateModified\":\"2026-10-02T13:44:51.554Z\",\"publisher\":{\"@id\":\"https://docs.schoolmaker.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.schoolmaker.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SchoolMaker API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SchoolMaker API Documentation","nav":{"global":{"anchors":[{"anchor":"Support Documentation","icon":"life-ring","href":"https://schoolmaker.helpscoutdocs.com/"},{"anchor":"Blog","icon":"newspaper","href":"https://schoolmaker.com/blog"},{"anchor":"Course creation guide","icon":"lightbulb","href":"https://www.schoolmaker.com/course-creation-guide"},{"anchor":"Integrations","icon":"plug","href":"https://www.schoolmaker.com/integrations"}]},"anchors":[{"anchor":"API Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"API Quickstart","icon":"bolt","href":"/quickstart"}]},{"group":"Programs","pages":[{"title":"Create a Program","openapi":"post /products","href":"/api-reference/endpoints/products/create"},{"openapi":"get /products/{id}","title":"Get Program Details","href":"/api-reference/endpoints/products/get"},{"openapi":"get /products","title":"List Programs","href":"/api-reference/endpoints/products/list"},{"title":"Set Program Details","openapi":"patch /products/{id}","href":"/api-reference/endpoints/products/update"},{"title":"Delete a Program","openapi":"delete /products/{id}","href":"/api-reference/endpoints/products/delete"},{"title":"Duplicate a Program","openapi":"post /products/{id}/duplicate","href":"/api-reference/endpoints/products/duplicate"}]},{"group":"Sections","pages":[{"title":"Create a Section","openapi":"post /sections","href":"/api-reference/endpoints/sections/create"},{"title":"Get Section Details","openapi":"get /sections/{id}","href":"/api-reference/endpoints/sections/get"},{"title":"List Sections","openapi":"get /sections","href":"/api-reference/endpoints/sections/list"},{"title":"Set Section Details","openapi":"patch /sections/{id}","href":"/api-reference/endpoints/sections/update"},{"title":"Delete a Section","openapi":"delete /sections/{id}","href":"/api-reference/endpoints/sections/delete"},{"title":"Duplicate a Section","openapi":"post /sections/{id}/duplicate","href":"/api-reference/endpoints/sections/duplicate"}]},{"group":"Section Groups","pages":[{"title":"Create a Section Group","openapi":"post /section_groups","href":"/api-reference/endpoints/section-groups/create"},{"title":"Get Section Group Details","openapi":"get /section_groups/{id}","href":"/api-reference/endpoints/section-groups/get"},{"title":"List Section Groups","openapi":"get /section_groups","href":"/api-reference/endpoints/section-groups/list"},{"title":"Set Section Group Details","openapi":"patch /section_groups/{id}","href":"/api-reference/endpoints/section-groups/update"},{"title":"Delete a Section Group","openapi":"delete /section_groups/{id}","href":"/api-reference/endpoints/section-groups/delete"}]},{"group":"Lessons","pages":[{"title":"Create a Lesson","openapi":"post /lessons","href":"/api-reference/endpoints/lessons/create"},{"title":"Get Lesson Details","openapi":"get /lessons/{id}","href":"/api-reference/endpoints/lessons/get"},{"title":"List Lessons","openapi":"get /lessons","href":"/api-reference/endpoints/lessons/list"},{"title":"Set Lesson Details","openapi":"patch /lessons/{id}","href":"/api-reference/endpoints/lessons/update"},{"title":"Delete a Lesson","openapi":"delete /lessons/{id}","href":"/api-reference/endpoints/lessons/delete"},{"title":"Duplicate a Lesson","openapi":"post /lessons/{id}/duplicate","href":"/api-reference/endpoints/lessons/duplicate"}]},{"group":"Steps","pages":[{"title":"Create a Step","openapi":"post /steps","href":"/api-reference/endpoints/steps/create"},{"title":"Get Step Details","openapi":"get /steps/{id}","href":"/api-reference/endpoints/steps/get"},{"title":"List Steps","openapi":"get /steps","href":"/api-reference/endpoints/steps/list"},{"title":"Set Step Details","openapi":"patch /steps/{id}","href":"/api-reference/endpoints/steps/update"},{"title":"Delete a Step","openapi":"delete /steps/{id}","href":"/api-reference/endpoints/steps/delete"},{"title":"Duplicate a Step","openapi":"post /steps/{id}/duplicate","href":"/api-reference/endpoints/steps/duplicate"}]},{"group":"Offers","pages":[{"title":"Create an Offer","openapi":"post /offers","href":"/api-reference/endpoints/offers/create"},{"openapi":"get /offers/{id}","title":"Get Offer Details","href":"/api-reference/endpoints/offers/get"},{"openapi":"get /offers","title":"List Offers","description":"Retrieves all offers of your school.","href":"/api-reference/endpoints/offers/list"},{"openapi":"patch /offers/{id}","title":"Set Offer Details","href":"/api-reference/endpoints/offers/update"},{"title":"Delete an Offer","openapi":"delete /offers/{id}","description":"Moves an offer to Trash and removes its accesses from members. Members are not deleted. The offer can be restored from Trash.","href":"/api-reference/endpoints/offers/delete"},{"title":"Duplicate an Offer","openapi":"post /offers/{id}/duplicate","href":"/api-reference/endpoints/offers/duplicate"},{"title":"List Offer Access Elements","openapi":"get /offer_elements","href":"/api-reference/endpoints/offers/elements"},{"openapi":"post /offers/{id}/accesses","title":"Set Offer Access for a Member / Add a Member","href":"/api-reference/endpoints/offers/accesses/create"},{"openapi":"post /offers/{id}/accesses/set_drip_boost","title":"Set a Drip Boost","href":"/api-reference/endpoints/offers/set_drip_boost"}]},{"group":"Members","pages":[{"openapi":"get /members","title":"List Members or Get a Member","href":"/api-reference/endpoints/members/get"},{"title":"Get Member Audit","openapi":"get /members/audit","href":"/api-reference/endpoints/members/audit"},{"title":"Get Member Audit by ID","openapi":"get /members/{id}/audit","href":"/api-reference/endpoints/members/audit_by_id"},{"openapi":"get /members/accesses","title":"Get Member Accesses","href":"/api-reference/endpoints/members/accesses"},{"openapi":"post /members/set_suspend","title":"Set Member Suspend Status","href":"/api-reference/endpoints/members/set_suspend"},{"openapi":"post /members/set_ban","title":"Set Member Ban Status","href":"/api-reference/endpoints/members/set_ban"},{"openapi":"post /members/delete_member","title":"Delete a member","href":"/api-reference/endpoints/members/delete_member"}]},{"group":"Admins \u0026 Moderators","pages":[{"openapi":"get /admins","title":"List Admins \u0026 Moderators or Get Details","href":"/api-reference/endpoints/admins/get"}]},{"group":"Conversations","pages":[{"title":"List Conversation Groups","openapi":"get /conversations/groups","href":"/api-reference/endpoints/conversations/groups/list"},{"title":"List Conversation Messages","openapi":"get /conversations/groups/{id}/messages","href":"/api-reference/endpoints/conversations/groups/messages"},{"title":"Get a Conversation Message","openapi":"get /conversations/messages/{id}","href":"/api-reference/endpoints/conversations/messages/get"},{"openapi":"post /conversations/groups","title":"Create a Conversation Group","href":"/api-reference/endpoints/conversations/groups/create"},{"title":"Send a Conversation Message","openapi":"post /conversations/groups/{id}/messages","href":"/api-reference/endpoints/conversations/groups/send_message"}]},{"group":"Community","pages":[{"title":"Create a Community Post","openapi":"post /community/posts","href":"/api-reference/endpoints/community/create"},{"title":"Get Community Post Details","openapi":"get /community/posts/{id}","href":"/api-reference/endpoints/community/get"},{"title":"List Community Posts","openapi":"get /community/posts","href":"/api-reference/endpoints/community/list"},{"title":"List Community Categories","openapi":"get /community/categories","href":"/api-reference/endpoints/community/categories"},{"title":"Create a Community Comment","openapi":"post /community/posts/{post_id}/comments","href":"/api-reference/endpoints/community/comments/create"},{"title":"List Community Comments","openapi":"get /community/posts/{post_id}/comments","href":"/api-reference/endpoints/community/comments/list"}]},{"group":"Consultations","pages":[{"title":"Create a Consultation Question","openapi":"post /consultations","href":"/api-reference/endpoints/consultations/create"},{"title":"Get a Consultation Question","openapi":"get /consultations/{id}","href":"/api-reference/endpoints/consultations/get"},{"title":"List Consultation Questions","openapi":"get /consultations","href":"/api-reference/endpoints/consultations/list"},{"title":"Update a Consultation Question","openapi":"patch /consultations/{id}","href":"/api-reference/endpoints/consultations/update"},{"title":"List Consultation Categories","openapi":"get /consultations/categories","href":"/api-reference/endpoints/consultations/categories"},{"title":"List Consultation Tags","openapi":"get /consultations/tags","href":"/api-reference/endpoints/consultations/tags"}]},{"group":"Coachings","pages":[{"openapi":"post /coachings/appointments","title":"Create a Coaching Appointment","href":"/api-reference/endpoints/coachings/appointments/create"},{"openapi":"get /coachings/types","title":"List Coaching Types","href":"/api-reference/endpoints/coachings/types/list"}]},{"group":"Testimonials","pages":[{"title":"List Testimonials","openapi":"get /testimonials","href":"/api-reference/endpoints/testimonials/list"},{"title":"Get Testimonial","openapi":"get /testimonials/{id}","href":"/api-reference/endpoints/testimonials/get"}]},{"group":"Badges","pages":[{"title":"Create a Badge","openapi":"post /badges","href":"/api-reference/endpoints/badges/create"},{"title":"Get Badge Details","openapi":"get /badges/{id}","href":"/api-reference/endpoints/badges/get"},{"title":"List Badges","openapi":"get /badges","href":"/api-reference/endpoints/badges/list"},{"title":"Update a Badge","openapi":"patch /badges/{id}","href":"/api-reference/endpoints/badges/update"},{"title":"Award a Badge to a Member","openapi":"post /badges/award","href":"/api-reference/endpoints/badges/award"},{"title":"Generate a Badge Image","openapi":"post /badges/{id}/generate_image","href":"/api-reference/endpoints/badges/generate_image"}]},{"group":"Gamification","pages":[{"openapi":"get /gamifications/leaderboards","title":"Get Leaderboard Ranking","href":"/api-reference/endpoints/gamifications/leaderboards/list"}]},{"group":"Custom code","pages":[{"title":"Get Custom Code","openapi":"get /custom_code","href":"/api-reference/endpoints/custom-code/get"},{"title":"Update Custom Code","openapi":"patch /custom_code","href":"/api-reference/endpoints/custom-code/update"}]},{"group":"Background operations","pages":[{"title":"Get Operation Status","openapi":"get /operations/{id}","href":"/api-reference/endpoints/operations/get"}]},{"group":"Webhooks","pages":[{"openapi":"get /webhooks","title":"List Webhooks","href":"/api-reference/endpoints/webhooks/list"},{"title":"Create a Webhook","openapi":"post /webhooks","href":"/api-reference/endpoints/webhooks/create"},{"openapi":"delete /webhooks/{id}","title":"Delete a Webhook","href":"/api-reference/endpoints/webhooks/delete"},{"title":"Webhook Payloads","icon":"brackets-curly","href":"/api-reference/endpoints/webhooks/payload"}]}]}]},"basePath":"","title":"Set Offer Details - SchoolMaker API Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}