Fourthwall
App · 20 actions
Read shop orders, products, members and donations, and watch Fourthwall webhook events.
Actions
| Action | What it does |
|---|---|
| Get donation | Get donation. |
| Get order by order number | Get order by order number. |
| Get product collection | Get product collection. |
| Get product inventory | Get product inventory. |
| Get shop contact details | Get shop contact details. |
| Get shop member | Get shop member. |
| Get shop order | Get shop order. |
| Get shop product | Get shop product. |
| Get webhook event | Get webhook event. |
| Get your Fourthwall shop | Get your Fourthwall shop. |
| List donations | List donations. |
| List membership tiers | List membership tiers. |
| List product collections | List product collections. |
| List products in a collection | List products in a collection. |
| List shop members | List shop members. |
| List shop orders | List shop orders. |
| List shop products | List shop products. |
| List shop reports | List shop reports. |
| List webhook events | List webhook events. |
| List webhook subscriptions | List webhook subscriptions. |
Get donation
Get donation.
Inputs
- Donation ID
donation_idtextRequired - Donation ID from List donations.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"amounts": {
"total": {
"currency": "example",
"value": 1
}
},
"createdAt": "example",
"email": "example",
"id": "example",
"message": "example",
"shopId": "example",
"status": "example",
"updatedAt": "example",
"username": "example"
}
}Get order by order number
Get order by order number.
Inputs
- Order number
order_numbertextRequired - Order number shown to the customer.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"amounts": {
"discount": {
"currency": "example",
"value": 1
},
"donation": {
"currency": "example",
"value": 1
},
"giftCards": [
{
"amountUsed": {},
"code": "example"
}
],
"shipping": {
"currency": "example",
"value": 1
},
"subtotal": {
"currency": "example",
"value": 1
},
"tax": {
"currency": "example",
"value": 1
},
"total": {
"currency": "example",
"value": 1
}
},
"billing": {
"address": {
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"name": "example",
"phone": "example",
"state": "example",
"zip": "example"
}
},
"checkoutId": "example",
"createdAt": "example",
"email": "example",
"emailMarketingOptIn": true,
"friendlyId": "example",
"id": "example",
"message": "example",
"metadata": {},
"offers": [
{
"description": "example",
"id": "example",
"name": "example",
"primaryImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"slug": "example",
"variant": {
"attributes": {},
"compareAtPrice": {},
"cost": {},
"dimensions": {},
"id": "example",
"name": "example",
"price": {},
"quantity": 1,
"sku": "example",
"unitCost": {},
"unitPrice": {},
"weight": {}
}
}
],
"promotionId": "example",
"shipping": {
"address": {
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"name": "example",
"phone": "example",
"state": "example",
"zip": "example"
}
},
"shopId": "example",
"source": {},
"status": "example",
"trackingParams": {
"fbc": "example",
"fbp": "example",
"utm_campaign": "example",
"utm_content": "example",
"utm_medium": "example",
"utm_source": "example",
"utm_term": "example"
},
"updatedAt": "example",
"username": "example"
}
}Get product collection
Get product collection.
Inputs
- Collection
collectiontextRequired - Collection ID or slug.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"available": true,
"description": "example",
"id": "example",
"name": "example",
"offerIds": [
"example"
],
"shopId": "example",
"slug": "example",
"state": {}
}
}Get product inventory
Get product inventory.
Inputs
- Product
product_idtextRequired - Product from your shop.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"createdAt": "example",
"quantity": 1,
"updatedAt": "example",
"variantId": "example"
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}Get shop contact details
Get shop contact details.
Inputs
None.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"contactEmail": "example",
"customerSupportEmail": "example",
"domain": "example",
"location": {
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"name": "example",
"state": "example",
"zip": "example"
},
"phone": "example",
"shopEmail": "example",
"shopName": "example",
"transactionalEmail": "example"
}
}Get shop member
Get shop member.
Inputs
- Member ID
member_idtextRequired - Member ID from List shop members.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"createdAt": "example",
"email": "example",
"id": "example",
"nickname": "example",
"subscription": {}
}
}Get shop order
Get shop order.
Inputs
- Order ID
order_idtextRequired - Order ID from List shop orders.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"amounts": {
"discount": {
"currency": "example",
"value": 1
},
"donation": {
"currency": "example",
"value": 1
},
"giftCards": [
{
"amountUsed": {},
"code": "example"
}
],
"shipping": {
"currency": "example",
"value": 1
},
"subtotal": {
"currency": "example",
"value": 1
},
"tax": {
"currency": "example",
"value": 1
},
"total": {
"currency": "example",
"value": 1
}
},
"billing": {
"address": {
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"name": "example",
"phone": "example",
"state": "example",
"zip": "example"
}
},
"checkoutId": "example",
"createdAt": "example",
"email": "example",
"emailMarketingOptIn": true,
"friendlyId": "example",
"id": "example",
"message": "example",
"metadata": {},
"offers": [
{
"description": "example",
"id": "example",
"name": "example",
"primaryImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"slug": "example",
"variant": {
"attributes": {},
"compareAtPrice": {},
"cost": {},
"dimensions": {},
"id": "example",
"name": "example",
"price": {},
"quantity": 1,
"sku": "example",
"unitCost": {},
"unitPrice": {},
"weight": {}
}
}
],
"promotionId": "example",
"shipping": {
"address": {
"address1": "example",
"address2": "example",
"city": "example",
"country": "example",
"name": "example",
"phone": "example",
"state": "example",
"zip": "example"
}
},
"shopId": "example",
"source": {},
"status": "example",
"trackingParams": {
"fbc": "example",
"fbp": "example",
"utm_campaign": "example",
"utm_content": "example",
"utm_medium": "example",
"utm_source": "example",
"utm_term": "example"
},
"updatedAt": "example",
"username": "example"
}
}Get shop product
Get shop product.
Inputs
- Product
product_idtextRequired - Product from your shop.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"access": {},
"additionalInformation": {
"guaranteeAndReturns": "example",
"moreDetails": "example",
"sizeAndFit": "example"
},
"createdAt": "example",
"description": "example",
"digitalFiles": [
{
"fileSize": "example",
"mediaType": "example",
"name": "example",
"uri": "example"
}
],
"id": "example",
"images": [
{
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
}
],
"name": "example",
"sizeGuide": {
"description": "example",
"fileUrl": "example",
"fitGuideDescription": "example",
"fitGuideUrls": [
"example"
],
"previewUrl": "example"
},
"slug": "example",
"state": {},
"thumbnailImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"type": "example",
"updatedAt": "example",
"variants": [
{
"attributes": {
"color": {},
"description": "example",
"size": {}
},
"compareAtPrice": {
"currency": "example",
"value": 1
},
"creatorDeclaredCost": {
"currency": "example",
"value": 1
},
"dimensions": {
"height": 1,
"length": 1,
"unit": "example",
"width": 1
},
"id": "example",
"images": [
{}
],
"name": "example",
"sku": "example",
"stock": {},
"thumbnailImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"unitCost": {
"currency": "example",
"value": 1
},
"unitPrice": {
"currency": "example",
"value": 1
},
"weight": {
"unit": "example",
"value": 1
}
}
]
}
}Get webhook event
Get webhook event.
Inputs
- Event ID
event_idtextRequired - Event ID from List webhook events.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"apiVersion": "example",
"body": "example",
"createdAt": "example",
"error": "example",
"id": "example",
"state": "example",
"testMode": true,
"type": "example",
"updatedAt": "example",
"url": "example"
}
}Get your Fourthwall shop
Get your Fourthwall shop.
Inputs
None.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"domain": "example",
"id": "example",
"name": "example",
"publicDomain": "example",
"status": "example"
}
}List donations
List donations.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"amounts": {
"total": {}
},
"createdAt": "example",
"email": "example",
"id": "example",
"message": "example",
"shopId": "example",
"status": "example",
"updatedAt": "example",
"username": "example"
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List membership tiers
List membership tiers.
Inputs
None.
Outputs
datalist- The response from Fourthwall.
Example output
{
"data": [
{
"id": "example",
"imageUrl": "example",
"name": "example",
"variants": [
{
"amount": {},
"id": "example",
"interval": "example",
"offerId": "example",
"tierId": "example"
}
]
}
]
}List product collections
List product collections.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
- Search
searchtext - Words to match against collections.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"available": true,
"description": "example",
"id": "example",
"name": "example",
"shopId": "example",
"slug": "example",
"state": {}
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List products in a collection
List products in a collection.
Inputs
- Collection
collectiontextRequired - Collection from your shop.
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
- Status
statustext - Availability of products to show.One of:
PUBLIC,AVAILABLE,SOLD_OUT(Sold out),HIDDEN,ARCHIVED.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"access": {},
"additionalInformation": {
"guaranteeAndReturns": "example",
"moreDetails": "example",
"sizeAndFit": "example"
},
"createdAt": "example",
"description": "example",
"digitalFiles": [
{}
],
"id": "example",
"images": [
{}
],
"name": "example",
"sizeGuide": {
"description": "example",
"fileUrl": "example",
"fitGuideDescription": "example",
"fitGuideUrls": [
{}
],
"previewUrl": "example"
},
"slug": "example",
"state": {},
"thumbnailImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"type": "example",
"updatedAt": "example",
"variants": [
{}
]
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List shop members
List shop members.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"createdAt": "example",
"email": "example",
"id": "example",
"nickname": "example",
"subscription": {}
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List shop orders
List shop orders.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
- Email
emailtext - Filter by the customer’s email.
- Start time
start_timedate and time - Only orders created after this time.
- End time
end_timedate and time - Only orders created before this time.
- Status
statuslist - Order statuses to include.One or more of:
CONFIRMED,PARTIALLY_IN_PRODUCTION(Partially in production),IN_PRODUCTION(In production),PARTIALLY_SHIPPED(Partially shipped),SHIPPED,PARTIALLY_DELIVERED(Partially delivered),DELIVERED,CANCELLED,COMPLETED.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"amounts": {
"discount": {},
"donation": {},
"giftCards": [
{}
],
"shipping": {},
"subtotal": {},
"tax": {},
"total": {}
},
"billing": {
"address": {}
},
"checkoutId": "example",
"createdAt": "example",
"email": "example",
"emailMarketingOptIn": true,
"friendlyId": "example",
"id": "example",
"message": "example",
"metadata": {},
"offers": [
{}
],
"promotionId": "example",
"shipping": {
"address": {}
},
"shopId": "example",
"source": {},
"status": "example",
"trackingParams": {
"fbc": "example",
"fbp": "example",
"utm_campaign": "example",
"utm_content": "example",
"utm_medium": "example",
"utm_source": "example",
"utm_term": "example"
},
"updatedAt": "example",
"username": "example"
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List shop products
List shop products.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
- Search
searchtext - Words to match against products.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"access": {},
"additionalInformation": {
"guaranteeAndReturns": "example",
"moreDetails": "example",
"sizeAndFit": "example"
},
"createdAt": "example",
"description": "example",
"digitalFiles": [
{}
],
"id": "example",
"images": [
{}
],
"name": "example",
"sizeGuide": {
"description": "example",
"fileUrl": "example",
"fitGuideDescription": "example",
"fitGuideUrls": [
{}
],
"previewUrl": "example"
},
"slug": "example",
"state": {},
"thumbnailImage": {
"height": 1,
"id": "example",
"transformedUrl": "example",
"url": "example",
"width": 1
},
"type": "example",
"updatedAt": "example",
"variants": [
{}
]
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List shop reports
List shop reports.
Inputs
None.
Outputs
datalist- The response from Fourthwall.
Example output
{
"data": [
{
"availablePrecisions": [
"example"
],
"columns": [
{
"key": "example",
"label": "example",
"type": "example"
}
],
"id": "example",
"name": "example"
}
]
}List webhook events
List webhook events.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
- Event types
event_typeslist - Webhook event types to include.One or more of:
ORDER_PLACED(Order placed),ORDER_UPDATED(Order updated),GIFT_PURCHASE(Gift purchase),PRODUCT_CREATED(Product created),PRODUCT_UPDATED(Product updated),DONATION,SUBSCRIPTION_PURCHASED(Subscription purchased),SUBSCRIPTION_EXPIRED(Subscription expired),SUBSCRIPTION_CHANGED(Subscription changed),NEWSLETTER_SUBSCRIBED(Newsletter subscribed), and 19 more.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"apiVersion": "example",
"body": "example",
"createdAt": "example",
"error": "example",
"id": "example",
"state": "example",
"testMode": true,
"type": "example",
"updatedAt": "example",
"url": "example"
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}List webhook subscriptions
List webhook subscriptions.
Inputs
- Page
pagenumber - Page number to return.From 0 to 10000.
- Size
sizenumber - Maximum number of results on the page.From 1 to 100.
Outputs
dataobject- The response from Fourthwall.
Example output
{
"data": {
"page": 1,
"results": [
{
"allowedTypes": [
"example"
],
"apiVersion": "example",
"id": "example",
"url": "example"
}
],
"size": 1,
"total": 1,
"totalPages": 1
}
}