Skip to main content
GET
/
ecommerce-widgets
/
{id}
Get a shop widget
curl --request GET \
  --url https://formitto.com/v1/ecommerce-widgets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "name": "<string>",
  "productName": "<string>",
  "currency": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "priceCents": 123,
  "imageUrl": "<string>",
  "domain": {
    "id": 123,
    "domain": "<string>"
  },
  "orderCount": 123,
  "imageUrls": [
    "<string>"
  ],
  "interval": "<string>",
  "trialDays": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.formitto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

A Formitto API key created in the dashboard (Settings → API keys). Pass it as Authorization: Bearer fmt_live_....

Path Parameters

id
integer
required

The resource id.

Response

The shop widget.

id
integer
required
name
string
required
type
enum<string>
required
Available options:
one_time,
subscription,
donation
productName
string
required
currency
string
required
fulfilmentType
enum<string>
required
Available options:
digital,
service,
physical
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string | null
priceCents
integer | null
imageUrl
string<uri> | null
domain
object

The registered domain a resource is bound to.

orderCount
integer

Present on list responses.

imageUrls
string<uri>[]

Present on the detail view.

interval
string | null

Subscription billing interval. Present on the detail view.

trialDays
integer | null

Present on the detail view.