# Sherpo customer API ## Pages - [Sherpo customer API](https://docs.sherpo.io/customer-api/reference/index.md) — Rich text fields come back as HTML in a closed format, wrapped in , as stored once validated. Allowed: p, h1 (Title), h2 (Heading), h3 (Subheading), br; marks strong, em, u, s, sup, sub, code (b as strong, i as em, del as s, strike as s); a with href (http, https, mailto, tel, ftp, ftps, callto, sms, cid, xmpp, irc, ircs or a relative path), target="_blank"; span with style color or background-color (#rgb or #rrggbb); style text-align (left, center, right, justify) on p and h1 to h3; ul; ol (start); li (data-checked="true" or "false" for a task list); table, thead, tbody, tr, th, td (colspan, rowspan); pre with one code (class="language-", the id one of bash, c, cpp, csharp, css, go, xml, java, javascript, json, kotlin, markdown, php, python, ruby, rust, sql, swift, typescript, yaml); blockquote; hr; details (open) with its summary first; figure with at most one figcaption, first or last; a link's rel (noopener, noreferrer, nofollow) is read and never stored. Images, videos, audio, slideshows, formulas, diagrams, downloads and other blocks are elements (no raw img or video); which types a field takes is in its description. Example:

Welcome

Start with the intro, then read the notes.

Why it works

Short lessons stick.

The guide: https://api.sherpo.io/customer/docs/text. - [Gives a cart up; a frozen one hands its coupons back.](https://docs.sherpo.io/customer-api/reference/abandon-checkout/index.md) - [Names a coupon on a cart, or takes it off with null.](https://docs.sherpo.io/customer-api/reference/apply-coupon/index.md) - [Cancels a subscription at the end of its period, or at once when every payment of it was refunded.](https://docs.sherpo.io/customer-api/reference/cancel-subscription/index.md) - [Asks to change the customer's email address and mails the new one a code to prove it.](https://docs.sherpo.io/customer-api/reference/change-contact/index.md) - [Hands a ticket the customer bought to someone else, before its guest opened it and before the event starts; the old guest's ticket ends.](https://docs.sherpo.io/customer-api/reference/change-event-guest/index.md) - [Schedules a subscription to renew on a lower tier or a shorter period from the end of its paid period; its current price takes the change back. Refused to an app the store hasn't verified: send the customer to /account/subscriptions on the store's site.](https://docs.sherpo.io/customer-api/reference/change-subscription-plan/index.md) - [Marks an entry complete for the customer.](https://docs.sherpo.io/customer-api/reference/complete-entry/index.md) - [Reads a cart's payment back after the buyer's page confirmed it, answering the order once it is paid.](https://docs.sherpo.io/customer-api/reference/confirm-checkout/index.md) - [Opens a cart in one currency.](https://docs.sherpo.io/customer-api/reference/create-checkout/index.md) - [Allows a browser to receive the customer's notifications by push, as long as the session or token that adds it lasts.](https://docs.sherpo.io/customer-api/reference/create-push-subscription/index.md) - [Frees one of the devices the customer's license counts, so another can take its place.](https://docs.sherpo.io/customer-api/reference/deactivate-license-activation/index.md) - [Deletes the named notifications, read or not, or every read one when none is named.](https://docs.sherpo.io/customer-api/reference/delete-notifications/index.md) - [Stops pushing notifications to a browser.](https://docs.sherpo.io/customer-api/reference/delete-push-subscription/index.md) - [Deletes the customer's review.](https://docs.sherpo.io/customer-api/reference/delete-review/index.md) - [Gives up a quiz: the open attempt, or the attempts left, after which no attempt can be started.](https://docs.sherpo.io/customer-api/reference/forfeit-quiz/index.md) - [Presents a cart for payment: its lines must still price as frozen, then it stops changing.](https://docs.sherpo.io/customer-api/reference/freeze-checkout/index.md) - [Mints a short-lived URL to an attachment's file, where the customer may reach it.](https://docs.sherpo.io/customer-api/reference/get-attachment-url/index.md) - [Reads one of the customer's quiz attempts to review: its questions, the answers given and, once graded, each result with the key where the quiz shows it.](https://docs.sherpo.io/customer-api/reference/get-attempt/index.md) - [Reads the customer's saved payment methods with each processor on the store's account.](https://docs.sherpo.io/customer-api/reference/get-billing-profile/index.md) - [Reads one certificate issued to the customer.](https://docs.sherpo.io/customer-api/reference/get-certificate/index.md) - [Reads one of the customer's checkouts.](https://docs.sherpo.io/customer-api/reference/get-checkout/index.md) - [Reads one entry with its access, its body too when asked.](https://docs.sherpo.io/customer-api/reference/get-entry/index.md) - [Reads a blog's, a podcast's or an event's feeds: its public one, and whether the customer may hold a private one, whether sharing turned theirs off, and its address.](https://docs.sherpo.io/customer-api/reference/get-feeds/index.md) - [Answers the bytes of a private file a capability names, to the bearer or the publishable key that asked for it.](https://docs.sherpo.io/customer-api/reference/get-file/index.md) — A video or audio file a customer's token asked for is answered by its URL alone, with no credential, so a bare `