Spectrum Integration
  • Introduction
  • Ecommerce
    • Front End Integration
    • Load Design
    • Add to Cart
    • Save Design
    • Generate Cart Item
    • Pricing & Availability
    • Order Acknowledgement
    • Shipment Notification
    • Update Order Status
    • Order Search
    • Integration Driver
    • Production Related File Delivery
    • Spectrum + Shopify Integration
      • Overall Flow
      • Product Set Up: "Add-ons"
      • Line Item Properties
      • Shopify Cart
      • Order Processing
  • API
    • Environments
    • Image QueryString API
      • Image Transforms
      • Image Filters
      • Image Encoding
    • Rendering
    • WebToPrint (W2P)
    • Assets
    • Rate Limiting
  • Marketing
    • Share
  • General
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. API

Rendering

Rendering routes used to display a 2D customized product in predefined angles most commonly used within e-commerce cart, checkout, and product pages

RecipeSet Render

GET https://api.spectrumcustomizer.com/api/assets/generated/recipeset/readable/:readableId/:viewAngleHandle

This endpoint allows you to render all items within a RecipeSet at the predefined view angle.

Path Parameters

Name
Type
Description

viewAngleHandle

string

Handle for the angle of the product to display. (e.g. "north", "south", "east", "west", "northeast", etc.)

readableId

string

8 digit alphanumeric RecipeSet readable identifier.

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 215919
Content-Type: image/png
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
Request-Context: appId=cid-v1:3563b4f7-e3dc-42cf-9689-3d04e3f8ace6
Access-Control-Expose-Headers: Request-Context
X-Powered-By: ASP.NET
Date: Fri, 22 Jan 2021 21:17:42 GMT

[File Content]
HTTP/1.1 301 Moved Permanently
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Location: https://cdn.spectrumcustomizer.com/assets/generated/recipeset/example.png
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
Request-Context: appId=cid-v1:3563b4f7-e3dc-42cf-9689-3d04e3f8ace6
Access-Control-Expose-Headers: Request-Context
X-Powered-By: ASP.NET
Date: Fri, 22 Jan 2021 21:12:33 GMT
Content-Length: 0
{    "message": "Unable to locate recipeSetId."}
{"message":"An error has occurred.","exceptionMessage":"Object reference not set to an instance of an object."}

PreviousImage EncodingNextWebToPrint (W2P)

Last updated 1 year ago

Was this helpful?