Submit Product
Uri: https://test-api.finerworks.com/v3/submit_product
Method: POST

Adds a new product to virtual inventory or even to an existing shopping cart.


Body

Request to be submitted

NameDescriptionTypeAdditional information
order_key

globally unique identifier

Required

cart_id

decimal

Required

product

product

Required

mode

Should be store or order. The default is order. If store, item is added to virtual inventory instead of shopping cart.

text

Required

template

Template

None.

account_key

Optional - This will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and any submit orders will be based upon the user's api credentials. Leave as null or ignore if not explicitly required to use this parameter.

text

None.

Example JSON Body

application/json, text/json

{
  "order_key": "db2f6f73-3f97-4a86-826a-c261a6ccae73",
  "cart_id": 2.0,
  "product": {
    "product_order_po": "sample string 1",
    "product_qty": 2,
    "product_sku": "sample string 3",
    "product_image": {
      "pixel_width": 1,
      "pixel_height": 2,
      "product_url_file": "sample string 3",
      "product_url_thumbnail": "sample string 4",
      "library_file": {
        "id": 1,
        "guid": "4c59494a-112b-4154-b4bd-d3dedfeb6332",
        "title": "sample string 3",
        "description": "sample string 4",
        "file_name": "sample string 5",
        "file_size": 6,
        "thumbnail_file_name": "sample string 7",
        "preview_file_name": "sample string 8",
        "hires_file_name": "sample string 9",
        "public_thumbnail_uri": "sample string 10",
        "public_preview_uri": "sample string 11",
        "personal_gallery_title": "sample string 12",
        "members_gallery_category": "sample string 13",
        "private_hires_uri": "sample string 14",
        "pix_w": 15,
        "pix_h": 16,
        "date_added": "2026-05-07T02:58:47.8789273-05:00",
        "date_updated": "2026-05-07T02:58:47.8789273-05:00",
        "date_expires": "2026-05-07T02:58:47.8789273-05:00",
        "active": true,
        "products": [
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          },
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          }
        ],
        "assigned_gallery_subcategory_ids": [
          1,
          2
        ],
        "assigned_personal_gallery_ids": [
          1,
          2
        ],
        "username": "sample string 20",
        "account_key": "sample string 21",
        "artistname": "sample string 22",
        "rank": 23
      }
    },
    "product_title": "sample string 5",
    "template": {
      "id": "0e3660bb-ee4a-4e34-999f-928ce2cdca12",
      "thumbnail_url": "sample string 2",
      "product_code": "sample string 3"
    },
    "product_guid": "f4dbfd02-6c07-426a-b3e2-db91143a3964",
    "custom_data_1": "sample string 7",
    "custom_data_2": "sample string 8",
    "custom_data_3": "sample string 9"
  },
  "mode": "sample string 3",
  "template": {
    "version": "sample string 1",
    "id": "64540ffe-7672-4dc8-a006-fca9fb745206",
    "name": "sample string 3",
    "creation_date": "2026-05-07T02:58:47.879926-05:00",
    "DocW": 5.0,
    "DocH": 6.0,
    "description": [
      "sample string 1",
      "sample string 2"
    ],
    "colors": [
      "sample string 1",
      "sample string 2"
    ],
    "Rotation": 7,
    "AllowRotate": true,
    "aspect": "sample string 9",
    "activeAspect": "sample string 10",
    "CartID": "sample string 11",
    "OrderKey": "b52a369a-339e-4aa6-b4c5-11cfb4311055",
    "Pages": [
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      },
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      }
    ],
    "Product": {
      "Qty": 1,
      "Pricing": {
        "Qty": 1,
        "Sku": "sample string 2",
        "SinglePrice": 3.1,
        "RegularPrice": 4.1,
        "BronzePrice": 5.1,
        "SilverPrice": 6.1,
        "GoldPrice": 7.1,
        "PlatinumPrice": 8.1,
        "SavingsAmt": 9.1,
        "SavingsPercent": 10.1,
        "DiscountedPrice": 11.1,
        "VolumePrice_Current": 12.1,
        "VolumePrice_OneMore": 13.1,
        "ColorCorrectionPrice": 14.1,
        "DiscountLevel": 15.1,
        "SpecialsPrice": 16.1,
        "AddOnPrice": 17.1,
        "BulkRates": null,
        "Exception": {
          "ClassName": "System.Exception",
          "Message": null,
          "Data": null,
          "InnerException": null,
          "HelpURL": "sample string 1",
          "StackTraceString": null,
          "RemoteStackTraceString": null,
          "RemoteStackIndex": 0,
          "ExceptionMethod": null,
          "HResult": 3,
          "Source": "sample string 2",
          "WatsonBuckets": null
        },
        "Testing": {},
        "Description": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      "TemplateTypeID": 2,
      "name": "sample string 3",
      "PrintProductSku": "sample string 4",
      "PrintProductTypeID": 5,
      "projectID": "a67847ec-536a-43cc-9fb0-d5f34504fe9b",
      "ColorCorrect": true,
      "MediaID": 8,
      "MediaName": "sample string 9",
      "MediaPrice": 10.0,
      "MediaPriceVolumeDiscount": 11.0,
      "MediaShineLevel": 12.0,
      "MountingName": "sample string 13",
      "MountingID": 14,
      "Border": 15.0,
      "MountingAddToPrintSize": 16.0,
      "MountingDepth": 17.0,
      "MountingRate": 18.0,
      "MountingRateVolumeDiscount": 19.0,
      "MountingPrice": 20.0,
      "MountingPriceVolumeDiscount": 21.0,
      "MountingFrameClassIDs": [
        1,
        2
      ],
      "CanvasAddOns": [],
      "MountingAddOns": [],
      "PrintProductTypeProperties": null,
      "MountingAddOnProperties": null,
      "CanvasAddOnProperties": null,
      "MediaProperties": null,
      "MountingProperties": null,
      "FrameProperties": null,
      "PhotoItem": null,
      "PhotoItemOptions": [],
      "CardItemOptions": [],
      "Frame": {
        "FrameID": 1,
        "FrameClassID": 2,
        "FrameClassName": "sample string 3",
        "FrameName": "sample string 4",
        "FrameW": 5.0,
        "FrameH": 6.0,
        "FramePrice": 7.0,
        "Matting": [
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          },
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          }
        ],
        "Glass": {
          "GlassID": 1,
          "GlassName": "sample string 2",
          "GlassPrice": 3.0
        }
      },
      "CardStockID": 22,
      "CardStyleID": 23,
      "SelectedW": 24.0,
      "SelectedH": 25.0,
      "SheetW": 26.0,
      "SheetH": 27.0,
      "PrintW": 28.0,
      "PrintH": 29.0,
      "Bleed": 30.0,
      "DiscountRate": 31.0,
      "MarkupRate": 32.0,
      "aid": 33,
      "CardStockPrice": 34.0,
      "CardStylePrice": 35.0,
      "PrintMakerPrice": 36.0
    }
  },
  "account_key": "sample string 4"
}

Sample Code Library


                        
curl --location --request sample_method 'https://test-api.finerworks.comsample_endpoint' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "order_key": "db2f6f73-3f97-4a86-826a-c261a6ccae73",
  "cart_id": 2.0,
  "product": {
    "product_order_po": "sample string 1",
    "product_qty": 2,
    "product_sku": "sample string 3",
    "product_image": {
      "pixel_width": 1,
      "pixel_height": 2,
      "product_url_file": "sample string 3",
      "product_url_thumbnail": "sample string 4",
      "library_file": {
        "id": 1,
        "guid": "4c59494a-112b-4154-b4bd-d3dedfeb6332",
        "title": "sample string 3",
        "description": "sample string 4",
        "file_name": "sample string 5",
        "file_size": 6,
        "thumbnail_file_name": "sample string 7",
        "preview_file_name": "sample string 8",
        "hires_file_name": "sample string 9",
        "public_thumbnail_uri": "sample string 10",
        "public_preview_uri": "sample string 11",
        "personal_gallery_title": "sample string 12",
        "members_gallery_category": "sample string 13",
        "private_hires_uri": "sample string 14",
        "pix_w": 15,
        "pix_h": 16,
        "date_added": "2026-05-07T02:58:47.8789273-05:00",
        "date_updated": "2026-05-07T02:58:47.8789273-05:00",
        "date_expires": "2026-05-07T02:58:47.8789273-05:00",
        "active": true,
        "products": [
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          },
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          }
        ],
        "assigned_gallery_subcategory_ids": [
          1,
          2
        ],
        "assigned_personal_gallery_ids": [
          1,
          2
        ],
        "username": "sample string 20",
        "account_key": "sample string 21",
        "artistname": "sample string 22",
        "rank": 23
      }
    },
    "product_title": "sample string 5",
    "template": {
      "id": "0e3660bb-ee4a-4e34-999f-928ce2cdca12",
      "thumbnail_url": "sample string 2",
      "product_code": "sample string 3"
    },
    "product_guid": "f4dbfd02-6c07-426a-b3e2-db91143a3964",
    "custom_data_1": "sample string 7",
    "custom_data_2": "sample string 8",
    "custom_data_3": "sample string 9"
  },
  "mode": "sample string 3",
  "template": {
    "version": "sample string 1",
    "id": "64540ffe-7672-4dc8-a006-fca9fb745206",
    "name": "sample string 3",
    "creation_date": "2026-05-07T02:58:47.879926-05:00",
    "DocW": 5.0,
    "DocH": 6.0,
    "description": [
      "sample string 1",
      "sample string 2"
    ],
    "colors": [
      "sample string 1",
      "sample string 2"
    ],
    "Rotation": 7,
    "AllowRotate": true,
    "aspect": "sample string 9",
    "activeAspect": "sample string 10",
    "CartID": "sample string 11",
    "OrderKey": "b52a369a-339e-4aa6-b4c5-11cfb4311055",
    "Pages": [
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      },
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      }
    ],
    "Product": {
      "Qty": 1,
      "Pricing": {
        "Qty": 1,
        "Sku": "sample string 2",
        "SinglePrice": 3.1,
        "RegularPrice": 4.1,
        "BronzePrice": 5.1,
        "SilverPrice": 6.1,
        "GoldPrice": 7.1,
        "PlatinumPrice": 8.1,
        "SavingsAmt": 9.1,
        "SavingsPercent": 10.1,
        "DiscountedPrice": 11.1,
        "VolumePrice_Current": 12.1,
        "VolumePrice_OneMore": 13.1,
        "ColorCorrectionPrice": 14.1,
        "DiscountLevel": 15.1,
        "SpecialsPrice": 16.1,
        "AddOnPrice": 17.1,
        "BulkRates": null,
        "Exception": {
          "ClassName": "System.Exception",
          "Message": null,
          "Data": null,
          "InnerException": null,
          "HelpURL": "sample string 1",
          "StackTraceString": null,
          "RemoteStackTraceString": null,
          "RemoteStackIndex": 0,
          "ExceptionMethod": null,
          "HResult": 3,
          "Source": "sample string 2",
          "WatsonBuckets": null
        },
        "Testing": {},
        "Description": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      "TemplateTypeID": 2,
      "name": "sample string 3",
      "PrintProductSku": "sample string 4",
      "PrintProductTypeID": 5,
      "projectID": "a67847ec-536a-43cc-9fb0-d5f34504fe9b",
      "ColorCorrect": true,
      "MediaID": 8,
      "MediaName": "sample string 9",
      "MediaPrice": 10.0,
      "MediaPriceVolumeDiscount": 11.0,
      "MediaShineLevel": 12.0,
      "MountingName": "sample string 13",
      "MountingID": 14,
      "Border": 15.0,
      "MountingAddToPrintSize": 16.0,
      "MountingDepth": 17.0,
      "MountingRate": 18.0,
      "MountingRateVolumeDiscount": 19.0,
      "MountingPrice": 20.0,
      "MountingPriceVolumeDiscount": 21.0,
      "MountingFrameClassIDs": [
        1,
        2
      ],
      "CanvasAddOns": [],
      "MountingAddOns": [],
      "PrintProductTypeProperties": null,
      "MountingAddOnProperties": null,
      "CanvasAddOnProperties": null,
      "MediaProperties": null,
      "MountingProperties": null,
      "FrameProperties": null,
      "PhotoItem": null,
      "PhotoItemOptions": [],
      "CardItemOptions": [],
      "Frame": {
        "FrameID": 1,
        "FrameClassID": 2,
        "FrameClassName": "sample string 3",
        "FrameName": "sample string 4",
        "FrameW": 5.0,
        "FrameH": 6.0,
        "FramePrice": 7.0,
        "Matting": [
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          },
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          }
        ],
        "Glass": {
          "GlassID": 1,
          "GlassName": "sample string 2",
          "GlassPrice": 3.0
        }
      },
      "CardStockID": 22,
      "CardStyleID": 23,
      "SelectedW": 24.0,
      "SelectedH": 25.0,
      "SheetW": 26.0,
      "SheetH": 27.0,
      "PrintW": 28.0,
      "PrintH": 29.0,
      "Bleed": 30.0,
      "DiscountRate": 31.0,
      "MarkupRate": 32.0,
      "aid": 33,
      "CardStockPrice": 34.0,
      "CardStylePrice": 35.0,
      "PrintMakerPrice": 36.0
    }
  },
  "account_key": "sample string 4"
}'
                            
                        


require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://test-api.finerworks.comsample_endpoint');
$request->setMethod(HTTP_Request2::METHOD_sample_method);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Content-Type' => 'application/json',
'web_api_key' => 'my-web-api-key-goes-here',
'app_key' => 'my-app-key-goes-here'
));
$request->setBody('{
  'order_key': 'db2f6f73-3f97-4a86-826a-c261a6ccae73',
  'cart_id': 2.0,
  'product': {
    'product_order_po': 'sample string 1',
    'product_qty': 2,
    'product_sku': 'sample string 3',
    'product_image': {
      'pixel_width': 1,
      'pixel_height': 2,
      'product_url_file': 'sample string 3',
      'product_url_thumbnail': 'sample string 4',
      'library_file': {
        'id': 1,
        'guid': '4c59494a-112b-4154-b4bd-d3dedfeb6332',
        'title': 'sample string 3',
        'description': 'sample string 4',
        'file_name': 'sample string 5',
        'file_size': 6,
        'thumbnail_file_name': 'sample string 7',
        'preview_file_name': 'sample string 8',
        'hires_file_name': 'sample string 9',
        'public_thumbnail_uri': 'sample string 10',
        'public_preview_uri': 'sample string 11',
        'personal_gallery_title': 'sample string 12',
        'members_gallery_category': 'sample string 13',
        'private_hires_uri': 'sample string 14',
        'pix_w': 15,
        'pix_h': 16,
        'date_added': '2026-05-07T02:58:47.8789273-05:00',
        'date_updated': '2026-05-07T02:58:47.8789273-05:00',
        'date_expires': '2026-05-07T02:58:47.8789273-05:00',
        'active': true,
        'products': [
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          },
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          }
        ],
        'assigned_gallery_subcategory_ids': [
          1,
          2
        ],
        'assigned_personal_gallery_ids': [
          1,
          2
        ],
        'username': 'sample string 20',
        'account_key': 'sample string 21',
        'artistname': 'sample string 22',
        'rank': 23
      }
    },
    'product_title': 'sample string 5',
    'template': {
      'id': '0e3660bb-ee4a-4e34-999f-928ce2cdca12',
      'thumbnail_url': 'sample string 2',
      'product_code': 'sample string 3'
    },
    'product_guid': 'f4dbfd02-6c07-426a-b3e2-db91143a3964',
    'custom_data_1': 'sample string 7',
    'custom_data_2': 'sample string 8',
    'custom_data_3': 'sample string 9'
  },
  'mode': 'sample string 3',
  'template': {
    'version': 'sample string 1',
    'id': '64540ffe-7672-4dc8-a006-fca9fb745206',
    'name': 'sample string 3',
    'creation_date': '2026-05-07T02:58:47.879926-05:00',
    'DocW': 5.0,
    'DocH': 6.0,
    'description': [
      'sample string 1',
      'sample string 2'
    ],
    'colors': [
      'sample string 1',
      'sample string 2'
    ],
    'Rotation': 7,
    'AllowRotate': true,
    'aspect': 'sample string 9',
    'activeAspect': 'sample string 10',
    'CartID': 'sample string 11',
    'OrderKey': 'b52a369a-339e-4aa6-b4c5-11cfb4311055',
    'Pages': [
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      },
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      }
    ],
    'Product': {
      'Qty': 1,
      'Pricing': {
        'Qty': 1,
        'Sku': 'sample string 2',
        'SinglePrice': 3.1,
        'RegularPrice': 4.1,
        'BronzePrice': 5.1,
        'SilverPrice': 6.1,
        'GoldPrice': 7.1,
        'PlatinumPrice': 8.1,
        'SavingsAmt': 9.1,
        'SavingsPercent': 10.1,
        'DiscountedPrice': 11.1,
        'VolumePrice_Current': 12.1,
        'VolumePrice_OneMore': 13.1,
        'ColorCorrectionPrice': 14.1,
        'DiscountLevel': 15.1,
        'SpecialsPrice': 16.1,
        'AddOnPrice': 17.1,
        'BulkRates': null,
        'Exception': {
          'ClassName': 'System.Exception',
          'Message': null,
          'Data': null,
          'InnerException': null,
          'HelpURL': 'sample string 1',
          'StackTraceString': null,
          'RemoteStackTraceString': null,
          'RemoteStackIndex': 0,
          'ExceptionMethod': null,
          'HResult': 3,
          'Source': 'sample string 2',
          'WatsonBuckets': null
        },
        'Testing': {},
        'Description': {
          'sample string 1': 'sample string 2',
          'sample string 3': 'sample string 4'
        }
      },
      'TemplateTypeID': 2,
      'name': 'sample string 3',
      'PrintProductSku': 'sample string 4',
      'PrintProductTypeID': 5,
      'projectID': 'a67847ec-536a-43cc-9fb0-d5f34504fe9b',
      'ColorCorrect': true,
      'MediaID': 8,
      'MediaName': 'sample string 9',
      'MediaPrice': 10.0,
      'MediaPriceVolumeDiscount': 11.0,
      'MediaShineLevel': 12.0,
      'MountingName': 'sample string 13',
      'MountingID': 14,
      'Border': 15.0,
      'MountingAddToPrintSize': 16.0,
      'MountingDepth': 17.0,
      'MountingRate': 18.0,
      'MountingRateVolumeDiscount': 19.0,
      'MountingPrice': 20.0,
      'MountingPriceVolumeDiscount': 21.0,
      'MountingFrameClassIDs': [
        1,
        2
      ],
      'CanvasAddOns': [],
      'MountingAddOns': [],
      'PrintProductTypeProperties': null,
      'MountingAddOnProperties': null,
      'CanvasAddOnProperties': null,
      'MediaProperties': null,
      'MountingProperties': null,
      'FrameProperties': null,
      'PhotoItem': null,
      'PhotoItemOptions': [],
      'CardItemOptions': [],
      'Frame': {
        'FrameID': 1,
        'FrameClassID': 2,
        'FrameClassName': 'sample string 3',
        'FrameName': 'sample string 4',
        'FrameW': 5.0,
        'FrameH': 6.0,
        'FramePrice': 7.0,
        'Matting': [
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          },
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          }
        ],
        'Glass': {
          'GlassID': 1,
          'GlassName': 'sample string 2',
          'GlassPrice': 3.0
        }
      },
      'CardStockID': 22,
      'CardStyleID': 23,
      'SelectedW': 24.0,
      'SelectedH': 25.0,
      'SheetW': 26.0,
      'SheetH': 27.0,
      'PrintW': 28.0,
      'PrintH': 29.0,
      'Bleed': 30.0,
      'DiscountRate': 31.0,
      'MarkupRate': 32.0,
      'aid': 33,
      'CardStockPrice': 34.0,
      'CardStylePrice': 35.0,
      'PrintMakerPrice': 36.0
    }
  },
  'account_key': 'sample string 4'
}');
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}

                        


var client = new RestClient("https://test-api.finerworks.comsample_endpoint");
client.Timeout = -1;
var request = new RestRequest(Method.sample_method);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("web_api_key", "my-web-api-key-goes-here");
request.AddHeader("app_key", "my-app-key-goes-here");
request.AddParameter("application/json", "{
  'order_key': 'db2f6f73-3f97-4a86-826a-c261a6ccae73',
  'cart_id': 2.0,
  'product': {
    'product_order_po': 'sample string 1',
    'product_qty': 2,
    'product_sku': 'sample string 3',
    'product_image': {
      'pixel_width': 1,
      'pixel_height': 2,
      'product_url_file': 'sample string 3',
      'product_url_thumbnail': 'sample string 4',
      'library_file': {
        'id': 1,
        'guid': '4c59494a-112b-4154-b4bd-d3dedfeb6332',
        'title': 'sample string 3',
        'description': 'sample string 4',
        'file_name': 'sample string 5',
        'file_size': 6,
        'thumbnail_file_name': 'sample string 7',
        'preview_file_name': 'sample string 8',
        'hires_file_name': 'sample string 9',
        'public_thumbnail_uri': 'sample string 10',
        'public_preview_uri': 'sample string 11',
        'personal_gallery_title': 'sample string 12',
        'members_gallery_category': 'sample string 13',
        'private_hires_uri': 'sample string 14',
        'pix_w': 15,
        'pix_h': 16,
        'date_added': '2026-05-07T02:58:47.8789273-05:00',
        'date_updated': '2026-05-07T02:58:47.8789273-05:00',
        'date_expires': '2026-05-07T02:58:47.8789273-05:00',
        'active': true,
        'products': [
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          },
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          }
        ],
        'assigned_gallery_subcategory_ids': [
          1,
          2
        ],
        'assigned_personal_gallery_ids': [
          1,
          2
        ],
        'username': 'sample string 20',
        'account_key': 'sample string 21',
        'artistname': 'sample string 22',
        'rank': 23
      }
    },
    'product_title': 'sample string 5',
    'template': {
      'id': '0e3660bb-ee4a-4e34-999f-928ce2cdca12',
      'thumbnail_url': 'sample string 2',
      'product_code': 'sample string 3'
    },
    'product_guid': 'f4dbfd02-6c07-426a-b3e2-db91143a3964',
    'custom_data_1': 'sample string 7',
    'custom_data_2': 'sample string 8',
    'custom_data_3': 'sample string 9'
  },
  'mode': 'sample string 3',
  'template': {
    'version': 'sample string 1',
    'id': '64540ffe-7672-4dc8-a006-fca9fb745206',
    'name': 'sample string 3',
    'creation_date': '2026-05-07T02:58:47.879926-05:00',
    'DocW': 5.0,
    'DocH': 6.0,
    'description': [
      'sample string 1',
      'sample string 2'
    ],
    'colors': [
      'sample string 1',
      'sample string 2'
    ],
    'Rotation': 7,
    'AllowRotate': true,
    'aspect': 'sample string 9',
    'activeAspect': 'sample string 10',
    'CartID': 'sample string 11',
    'OrderKey': 'b52a369a-339e-4aa6-b4c5-11cfb4311055',
    'Pages': [
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      },
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      }
    ],
    'Product': {
      'Qty': 1,
      'Pricing': {
        'Qty': 1,
        'Sku': 'sample string 2',
        'SinglePrice': 3.1,
        'RegularPrice': 4.1,
        'BronzePrice': 5.1,
        'SilverPrice': 6.1,
        'GoldPrice': 7.1,
        'PlatinumPrice': 8.1,
        'SavingsAmt': 9.1,
        'SavingsPercent': 10.1,
        'DiscountedPrice': 11.1,
        'VolumePrice_Current': 12.1,
        'VolumePrice_OneMore': 13.1,
        'ColorCorrectionPrice': 14.1,
        'DiscountLevel': 15.1,
        'SpecialsPrice': 16.1,
        'AddOnPrice': 17.1,
        'BulkRates': null,
        'Exception': {
          'ClassName': 'System.Exception',
          'Message': null,
          'Data': null,
          'InnerException': null,
          'HelpURL': 'sample string 1',
          'StackTraceString': null,
          'RemoteStackTraceString': null,
          'RemoteStackIndex': 0,
          'ExceptionMethod': null,
          'HResult': 3,
          'Source': 'sample string 2',
          'WatsonBuckets': null
        },
        'Testing': {},
        'Description': {
          'sample string 1': 'sample string 2',
          'sample string 3': 'sample string 4'
        }
      },
      'TemplateTypeID': 2,
      'name': 'sample string 3',
      'PrintProductSku': 'sample string 4',
      'PrintProductTypeID': 5,
      'projectID': 'a67847ec-536a-43cc-9fb0-d5f34504fe9b',
      'ColorCorrect': true,
      'MediaID': 8,
      'MediaName': 'sample string 9',
      'MediaPrice': 10.0,
      'MediaPriceVolumeDiscount': 11.0,
      'MediaShineLevel': 12.0,
      'MountingName': 'sample string 13',
      'MountingID': 14,
      'Border': 15.0,
      'MountingAddToPrintSize': 16.0,
      'MountingDepth': 17.0,
      'MountingRate': 18.0,
      'MountingRateVolumeDiscount': 19.0,
      'MountingPrice': 20.0,
      'MountingPriceVolumeDiscount': 21.0,
      'MountingFrameClassIDs': [
        1,
        2
      ],
      'CanvasAddOns': [],
      'MountingAddOns': [],
      'PrintProductTypeProperties': null,
      'MountingAddOnProperties': null,
      'CanvasAddOnProperties': null,
      'MediaProperties': null,
      'MountingProperties': null,
      'FrameProperties': null,
      'PhotoItem': null,
      'PhotoItemOptions': [],
      'CardItemOptions': [],
      'Frame': {
        'FrameID': 1,
        'FrameClassID': 2,
        'FrameClassName': 'sample string 3',
        'FrameName': 'sample string 4',
        'FrameW': 5.0,
        'FrameH': 6.0,
        'FramePrice': 7.0,
        'Matting': [
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          },
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          }
        ],
        'Glass': {
          'GlassID': 1,
          'GlassName': 'sample string 2',
          'GlassPrice': 3.0
        }
      },
      'CardStockID': 22,
      'CardStyleID': 23,
      'SelectedW': 24.0,
      'SelectedH': 25.0,
      'SheetW': 26.0,
      'SheetH': 27.0,
      'PrintW': 28.0,
      'PrintH': 29.0,
      'Bleed': 30.0,
      'DiscountRate': 31.0,
      'MarkupRate': 32.0,
      'aid': 33,
      'CardStockPrice': 34.0,
      'CardStylePrice': 35.0,
      'PrintMakerPrice': 36.0
    }
  },
  'account_key': 'sample string 4'
},  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

                        


var settings = {
"url": "https://test-api.finerworks.comsample_endpoint",
"method": "sample_method",
"timeout": 0,
"headers": {
"Content-Type": "application/json",
"web_api_key": "my-web-api-key-goes-here",
"app_key": "my-app-key-goes-here"
},
"data": JSON.stringify({
  'order_key': 'db2f6f73-3f97-4a86-826a-c261a6ccae73',
  'cart_id': 2.0,
  'product': {
    'product_order_po': 'sample string 1',
    'product_qty': 2,
    'product_sku': 'sample string 3',
    'product_image': {
      'pixel_width': 1,
      'pixel_height': 2,
      'product_url_file': 'sample string 3',
      'product_url_thumbnail': 'sample string 4',
      'library_file': {
        'id': 1,
        'guid': '4c59494a-112b-4154-b4bd-d3dedfeb6332',
        'title': 'sample string 3',
        'description': 'sample string 4',
        'file_name': 'sample string 5',
        'file_size': 6,
        'thumbnail_file_name': 'sample string 7',
        'preview_file_name': 'sample string 8',
        'hires_file_name': 'sample string 9',
        'public_thumbnail_uri': 'sample string 10',
        'public_preview_uri': 'sample string 11',
        'personal_gallery_title': 'sample string 12',
        'members_gallery_category': 'sample string 13',
        'private_hires_uri': 'sample string 14',
        'pix_w': 15,
        'pix_h': 16,
        'date_added': '2026-05-07T02:58:47.8789273-05:00',
        'date_updated': '2026-05-07T02:58:47.8789273-05:00',
        'date_expires': '2026-05-07T02:58:47.8789273-05:00',
        'active': true,
        'products': [
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          },
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          }
        ],
        'assigned_gallery_subcategory_ids': [
          1,
          2
        ],
        'assigned_personal_gallery_ids': [
          1,
          2
        ],
        'username': 'sample string 20',
        'account_key': 'sample string 21',
        'artistname': 'sample string 22',
        'rank': 23
      }
    },
    'product_title': 'sample string 5',
    'template': {
      'id': '0e3660bb-ee4a-4e34-999f-928ce2cdca12',
      'thumbnail_url': 'sample string 2',
      'product_code': 'sample string 3'
    },
    'product_guid': 'f4dbfd02-6c07-426a-b3e2-db91143a3964',
    'custom_data_1': 'sample string 7',
    'custom_data_2': 'sample string 8',
    'custom_data_3': 'sample string 9'
  },
  'mode': 'sample string 3',
  'template': {
    'version': 'sample string 1',
    'id': '64540ffe-7672-4dc8-a006-fca9fb745206',
    'name': 'sample string 3',
    'creation_date': '2026-05-07T02:58:47.879926-05:00',
    'DocW': 5.0,
    'DocH': 6.0,
    'description': [
      'sample string 1',
      'sample string 2'
    ],
    'colors': [
      'sample string 1',
      'sample string 2'
    ],
    'Rotation': 7,
    'AllowRotate': true,
    'aspect': 'sample string 9',
    'activeAspect': 'sample string 10',
    'CartID': 'sample string 11',
    'OrderKey': 'b52a369a-339e-4aa6-b4c5-11cfb4311055',
    'Pages': [
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      },
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      }
    ],
    'Product': {
      'Qty': 1,
      'Pricing': {
        'Qty': 1,
        'Sku': 'sample string 2',
        'SinglePrice': 3.1,
        'RegularPrice': 4.1,
        'BronzePrice': 5.1,
        'SilverPrice': 6.1,
        'GoldPrice': 7.1,
        'PlatinumPrice': 8.1,
        'SavingsAmt': 9.1,
        'SavingsPercent': 10.1,
        'DiscountedPrice': 11.1,
        'VolumePrice_Current': 12.1,
        'VolumePrice_OneMore': 13.1,
        'ColorCorrectionPrice': 14.1,
        'DiscountLevel': 15.1,
        'SpecialsPrice': 16.1,
        'AddOnPrice': 17.1,
        'BulkRates': null,
        'Exception': {
          'ClassName': 'System.Exception',
          'Message': null,
          'Data': null,
          'InnerException': null,
          'HelpURL': 'sample string 1',
          'StackTraceString': null,
          'RemoteStackTraceString': null,
          'RemoteStackIndex': 0,
          'ExceptionMethod': null,
          'HResult': 3,
          'Source': 'sample string 2',
          'WatsonBuckets': null
        },
        'Testing': {},
        'Description': {
          'sample string 1': 'sample string 2',
          'sample string 3': 'sample string 4'
        }
      },
      'TemplateTypeID': 2,
      'name': 'sample string 3',
      'PrintProductSku': 'sample string 4',
      'PrintProductTypeID': 5,
      'projectID': 'a67847ec-536a-43cc-9fb0-d5f34504fe9b',
      'ColorCorrect': true,
      'MediaID': 8,
      'MediaName': 'sample string 9',
      'MediaPrice': 10.0,
      'MediaPriceVolumeDiscount': 11.0,
      'MediaShineLevel': 12.0,
      'MountingName': 'sample string 13',
      'MountingID': 14,
      'Border': 15.0,
      'MountingAddToPrintSize': 16.0,
      'MountingDepth': 17.0,
      'MountingRate': 18.0,
      'MountingRateVolumeDiscount': 19.0,
      'MountingPrice': 20.0,
      'MountingPriceVolumeDiscount': 21.0,
      'MountingFrameClassIDs': [
        1,
        2
      ],
      'CanvasAddOns': [],
      'MountingAddOns': [],
      'PrintProductTypeProperties': null,
      'MountingAddOnProperties': null,
      'CanvasAddOnProperties': null,
      'MediaProperties': null,
      'MountingProperties': null,
      'FrameProperties': null,
      'PhotoItem': null,
      'PhotoItemOptions': [],
      'CardItemOptions': [],
      'Frame': {
        'FrameID': 1,
        'FrameClassID': 2,
        'FrameClassName': 'sample string 3',
        'FrameName': 'sample string 4',
        'FrameW': 5.0,
        'FrameH': 6.0,
        'FramePrice': 7.0,
        'Matting': [
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          },
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          }
        ],
        'Glass': {
          'GlassID': 1,
          'GlassName': 'sample string 2',
          'GlassPrice': 3.0
        }
      },
      'CardStockID': 22,
      'CardStyleID': 23,
      'SelectedW': 24.0,
      'SelectedH': 25.0,
      'SheetW': 26.0,
      'SheetH': 27.0,
      'PrintW': 28.0,
      'PrintH': 29.0,
      'Bleed': 30.0,
      'DiscountRate': 31.0,
      'MarkupRate': 32.0,
      'aid': 33,
      'CardStockPrice': 34.0,
      'CardStylePrice': 35.0,
      'PrintMakerPrice': 36.0
    }
  },
  'account_key': 'sample string 4'
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

                        

                        
var https = require('follow-redirects').https;
var fs = require('fs');

var options = {
'method': 'sample_method',
'hostname': 'v2.api.finerworks.com',
'path': 'sample_endpoint',
'headers': {
'Content-Type': 'application/json',
'web_api_key': 'my-web-api-key-goes-here',
'app_key': 'my-app-key-goes-here'
},
'maxRedirects': 20
};

var req = https.request(options, function (res) {
var chunks = [];

res.on("data", function (chunk) {
chunks.push(chunk);
});

res.on("end", function (chunk) {
var body = Buffer.concat(chunks);
console.log(body.toString());
});

res.on("error", function (error) {
console.error(error);
});
});

var postData = JSON.stringify({
  "order_key": "db2f6f73-3f97-4a86-826a-c261a6ccae73",
  "cart_id": 2.0,
  "product": {
    "product_order_po": "sample string 1",
    "product_qty": 2,
    "product_sku": "sample string 3",
    "product_image": {
      "pixel_width": 1,
      "pixel_height": 2,
      "product_url_file": "sample string 3",
      "product_url_thumbnail": "sample string 4",
      "library_file": {
        "id": 1,
        "guid": "4c59494a-112b-4154-b4bd-d3dedfeb6332",
        "title": "sample string 3",
        "description": "sample string 4",
        "file_name": "sample string 5",
        "file_size": 6,
        "thumbnail_file_name": "sample string 7",
        "preview_file_name": "sample string 8",
        "hires_file_name": "sample string 9",
        "public_thumbnail_uri": "sample string 10",
        "public_preview_uri": "sample string 11",
        "personal_gallery_title": "sample string 12",
        "members_gallery_category": "sample string 13",
        "private_hires_uri": "sample string 14",
        "pix_w": 15,
        "pix_h": 16,
        "date_added": "2026-05-07T02:58:47.8789273-05:00",
        "date_updated": "2026-05-07T02:58:47.8789273-05:00",
        "date_expires": "2026-05-07T02:58:47.8789273-05:00",
        "active": true,
        "products": [
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          },
          {
            "id": 1,
            "monetary_format": "sample string 2",
            "quantity": 3,
            "quantity_in_stock": 4,
            "track_inventory": true,
            "sku": "sample string 6",
            "product_code": "sample string 7",
            "price_details": {
              "product_qty": 1,
              "product_sku": "sample string 2",
              "product_code": "sample string 3",
              "product_price": 4.1,
              "add_frame_price": 5.1,
              "add_mat_1_price": 6.1,
              "add_mat_2_price": 7.1,
              "add_glazing_price": 8.1,
              "add_color_correct_price": 9.1,
              "total_price": 10.1,
              "geo_price": 11.1,
              "info": "sample string 12",
              "debug": {}
            },
            "per_item_price": 8.0,
            "total_price": 9.0,
            "asking_price": 10.0,
            "geo_price": 11.0,
            "name": "sample string 12",
            "description_short": "sample string 13",
            "description_long": "sample string 14",
            "labels": [
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              },
              {
                "key": "sample string 1",
                "value": "sample string 2",
                "priority": 3
              }
            ],
            "image_url_1": "sample string 15",
            "image_url_2": "sample string 16",
            "image_url_3": "sample string 17",
            "image_url_4": "sample string 18",
            "image_url_5": "sample string 19",
            "image_guid": "51798e8b-1370-4951-8b9e-032d589f0be9",
            "product_size": {
              "width": 1.0,
              "height": 2.0,
              "depth": 3.0,
              "ounces": 4.0,
              "cubic_volume": 5.0,
              "is_rigid": true
            },
            "third_party_integrations": {
              "etsy_product_id": 1,
              "shopify_product_id": 2,
              "shopify_variant_id": 3,
              "shopify_graphql_product_id": "sample string 4",
              "shopify_graphql_variant_id": "sample string 5",
              "squarespace_product_id": "sample string 6",
              "squarespace_variant_id": "sample string 7",
              "wix_inventory_id": "sample string 8",
              "wix_product_id": "sample string 9",
              "wix_variant_id": "sample string 10",
              "woocommerce_product_id": 11,
              "woocommerce_variant_id": 12
            },
            "framing_options": {
              "collection_ids": [
                1,
                2
              ],
              "allow_frames": true,
              "allow_matting": true,
              "allow_glazing": true,
              "frame_required": true,
              "allow_float_matting": true,
              "require_float_matting": true
            },
            "product_guid": "dbdc81e3-703b-455e-b942-254e1ed533b7",
            "updated": "2026-05-07T02:58:47.8789273-05:00",
            "valid": true,
            "debug": {}
          }
        ],
        "assigned_gallery_subcategory_ids": [
          1,
          2
        ],
        "assigned_personal_gallery_ids": [
          1,
          2
        ],
        "username": "sample string 20",
        "account_key": "sample string 21",
        "artistname": "sample string 22",
        "rank": 23
      }
    },
    "product_title": "sample string 5",
    "template": {
      "id": "0e3660bb-ee4a-4e34-999f-928ce2cdca12",
      "thumbnail_url": "sample string 2",
      "product_code": "sample string 3"
    },
    "product_guid": "f4dbfd02-6c07-426a-b3e2-db91143a3964",
    "custom_data_1": "sample string 7",
    "custom_data_2": "sample string 8",
    "custom_data_3": "sample string 9"
  },
  "mode": "sample string 3",
  "template": {
    "version": "sample string 1",
    "id": "64540ffe-7672-4dc8-a006-fca9fb745206",
    "name": "sample string 3",
    "creation_date": "2026-05-07T02:58:47.879926-05:00",
    "DocW": 5.0,
    "DocH": 6.0,
    "description": [
      "sample string 1",
      "sample string 2"
    ],
    "colors": [
      "sample string 1",
      "sample string 2"
    ],
    "Rotation": 7,
    "AllowRotate": true,
    "aspect": "sample string 9",
    "activeAspect": "sample string 10",
    "CartID": "sample string 11",
    "OrderKey": "b52a369a-339e-4aa6-b4c5-11cfb4311055",
    "Pages": [
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      },
      {
        "id": "902f1861-3cff-43df-8a1c-afdaa62e85c2",
        "parentID": "51036339-d988-41ef-96d8-c7f29b56750b",
        "name": "sample string 3",
        "x": 4.0,
        "y": 5.0,
        "width": 6.0,
        "height": 7.0,
        "number": 8,
        "grid": 9.0,
        "background": {
          "source": "sample string 1",
          "color": "sample string 2",
          "scaleX": 3,
          "scaleY": 4,
          "rotate": 5
        },
        "aspect": "sample string 10",
        "side": "sample string 11",
        "active": true,
        "visible": true,
        "textoverimage": true,
        "Zones": [
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          },
          {
            "id": "30a3a1ec-c007-479b-b9f2-434c4049c1ad",
            "parentID": "649b720c-9c8d-48cc-9e2a-5f2936f3f61b",
            "name": "sample string 3",
            "x": 4.0,
            "y": 5.0,
            "width": 6.0,
            "height": 7.0,
            "depth": 8.0,
            "thickness": 9.0,
            "color": "sample string 10",
            "printarea": {
              "width": 1.0,
              "height": 2.0,
              "border": 3.0,
              "bleed": 4.0,
              "wrap": 5.0
            },
            "image": {
              "id": "760711e5-1e42-477d-84e0-02ea685d7165",
              "name": "sample string 2",
              "parentID": "1ec1f190-7a8f-4a84-b06b-5e71588e662e",
              "width": 4.0,
              "height": 5.0,
              "x": 6.0,
              "y": 7.0,
              "portraitaspect": true,
              "source": "sample string 9",
              "zoom": {
                "level": 1.0,
                "width": 2.0,
                "height": 3.0
              },
              "editor": {
                "color": "sample string 1",
                "fixlevel": "sample string 2",
                "affect": "sample string 3",
                "bleed": 4.0
              },
              "file": {
                "ImageFileID": 1,
                "ImageFileName": "sample string 2",
                "ImageFileGUID": "c7ebd39b-95d1-47e3-aeac-2b7766be7ba7",
                "ImageFileW": 4.0,
                "ImageFileH": 5.0,
                "ImageFileThumbnailURL": "sample string 6",
                "ImageFileURL": "sample string 7",
                "ImageFileHiResFileURL": "sample string 8",
                "ImageFileSource": "sample string 9",
                "ImageAspect": "sample string 10"
              }
            },
            "image_padding": 11.0,
            "types": [
              1,
              2
            ],
            "scaleX": 12.0,
            "scaleY": 13.0,
            "rotate": 14.0,
            "defaultCrop": true,
            "Texts": [
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              },
              {
                "id": "sample string 1",
                "parentID": "sample string 2",
                "font": "sample string 3",
                "font_color": "sample string 4",
                "text": "sample string 5",
                "fillStyle": "sample string 6",
                "align": "sample string 7",
                "fontFamily": "sample string 8",
                "fontSize": "sample string 9",
                "fontStyle": "sample string 10",
                "x": 11.0,
                "y": 12.0,
                "width": 13.0,
                "height": 14.0,
                "lineHeight": 15.0,
                "maxWidth": 16.0,
                "padding": 17.0
              }
            ],
            "guides": [
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              },
              {
                "parentID": "4edb81ca-a2be-44ef-ad25-fa04039d7d06",
                "name": "sample string 2",
                "x": 3.0,
                "y": 4.0,
                "width": 5.0,
                "height": 6.0
              }
            ]
          }
        ]
      }
    ],
    "Product": {
      "Qty": 1,
      "Pricing": {
        "Qty": 1,
        "Sku": "sample string 2",
        "SinglePrice": 3.1,
        "RegularPrice": 4.1,
        "BronzePrice": 5.1,
        "SilverPrice": 6.1,
        "GoldPrice": 7.1,
        "PlatinumPrice": 8.1,
        "SavingsAmt": 9.1,
        "SavingsPercent": 10.1,
        "DiscountedPrice": 11.1,
        "VolumePrice_Current": 12.1,
        "VolumePrice_OneMore": 13.1,
        "ColorCorrectionPrice": 14.1,
        "DiscountLevel": 15.1,
        "SpecialsPrice": 16.1,
        "AddOnPrice": 17.1,
        "BulkRates": null,
        "Exception": {
          "ClassName": "System.Exception",
          "Message": null,
          "Data": null,
          "InnerException": null,
          "HelpURL": "sample string 1",
          "StackTraceString": null,
          "RemoteStackTraceString": null,
          "RemoteStackIndex": 0,
          "ExceptionMethod": null,
          "HResult": 3,
          "Source": "sample string 2",
          "WatsonBuckets": null
        },
        "Testing": {},
        "Description": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      "TemplateTypeID": 2,
      "name": "sample string 3",
      "PrintProductSku": "sample string 4",
      "PrintProductTypeID": 5,
      "projectID": "a67847ec-536a-43cc-9fb0-d5f34504fe9b",
      "ColorCorrect": true,
      "MediaID": 8,
      "MediaName": "sample string 9",
      "MediaPrice": 10.0,
      "MediaPriceVolumeDiscount": 11.0,
      "MediaShineLevel": 12.0,
      "MountingName": "sample string 13",
      "MountingID": 14,
      "Border": 15.0,
      "MountingAddToPrintSize": 16.0,
      "MountingDepth": 17.0,
      "MountingRate": 18.0,
      "MountingRateVolumeDiscount": 19.0,
      "MountingPrice": 20.0,
      "MountingPriceVolumeDiscount": 21.0,
      "MountingFrameClassIDs": [
        1,
        2
      ],
      "CanvasAddOns": [],
      "MountingAddOns": [],
      "PrintProductTypeProperties": null,
      "MountingAddOnProperties": null,
      "CanvasAddOnProperties": null,
      "MediaProperties": null,
      "MountingProperties": null,
      "FrameProperties": null,
      "PhotoItem": null,
      "PhotoItemOptions": [],
      "CardItemOptions": [],
      "Frame": {
        "FrameID": 1,
        "FrameClassID": 2,
        "FrameClassName": "sample string 3",
        "FrameName": "sample string 4",
        "FrameW": 5.0,
        "FrameH": 6.0,
        "FramePrice": 7.0,
        "Matting": [
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          },
          {
            "MatID": 1,
            "MatName": "sample string 2",
            "MatPrice": 3.0,
            "MatWindowW": 4.0,
            "MatWindowH": 5.0
          }
        ],
        "Glass": {
          "GlassID": 1,
          "GlassName": "sample string 2",
          "GlassPrice": 3.0
        }
      },
      "CardStockID": 22,
      "CardStyleID": 23,
      "SelectedW": 24.0,
      "SelectedH": 25.0,
      "SheetW": 26.0,
      "SheetH": 27.0,
      "PrintW": 28.0,
      "PrintH": 29.0,
      "Bleed": 30.0,
      "DiscountRate": 31.0,
      "MarkupRate": 32.0,
      "aid": 33,
      "CardStockPrice": 34.0,
      "CardStylePrice": 35.0,
      "PrintMakerPrice": 36.0
    }
  },
  "account_key": "sample string 4"
});

req.write(postData);

req.end();
                            
                        

                        
    require "uri"
    require "net/http"

    url = URI("https://test-api.finerworks.comsample_endpoint")

    https = Net::HTTP.new(url.host, url.port)
    https.use_ssl = true

    request = Net::HTTP::sample_method.new(url)
    request["Content-Type"] = "application/json"
    request["web_api_key"] = "my-web-api-key-goes-here"
    request["app_key"] = "my-app-key-goes-here"
    request.body = "{
  'order_key': 'db2f6f73-3f97-4a86-826a-c261a6ccae73',
  'cart_id': 2.0,
  'product': {
    'product_order_po': 'sample string 1',
    'product_qty': 2,
    'product_sku': 'sample string 3',
    'product_image': {
      'pixel_width': 1,
      'pixel_height': 2,
      'product_url_file': 'sample string 3',
      'product_url_thumbnail': 'sample string 4',
      'library_file': {
        'id': 1,
        'guid': '4c59494a-112b-4154-b4bd-d3dedfeb6332',
        'title': 'sample string 3',
        'description': 'sample string 4',
        'file_name': 'sample string 5',
        'file_size': 6,
        'thumbnail_file_name': 'sample string 7',
        'preview_file_name': 'sample string 8',
        'hires_file_name': 'sample string 9',
        'public_thumbnail_uri': 'sample string 10',
        'public_preview_uri': 'sample string 11',
        'personal_gallery_title': 'sample string 12',
        'members_gallery_category': 'sample string 13',
        'private_hires_uri': 'sample string 14',
        'pix_w': 15,
        'pix_h': 16,
        'date_added': '2026-05-07T02:58:47.8789273-05:00',
        'date_updated': '2026-05-07T02:58:47.8789273-05:00',
        'date_expires': '2026-05-07T02:58:47.8789273-05:00',
        'active': true,
        'products': [
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          },
          {
            'id': 1,
            'monetary_format': 'sample string 2',
            'quantity': 3,
            'quantity_in_stock': 4,
            'track_inventory': true,
            'sku': 'sample string 6',
            'product_code': 'sample string 7',
            'price_details': {
              'product_qty': 1,
              'product_sku': 'sample string 2',
              'product_code': 'sample string 3',
              'product_price': 4.1,
              'add_frame_price': 5.1,
              'add_mat_1_price': 6.1,
              'add_mat_2_price': 7.1,
              'add_glazing_price': 8.1,
              'add_color_correct_price': 9.1,
              'total_price': 10.1,
              'geo_price': 11.1,
              'info': 'sample string 12',
              'debug': {}
            },
            'per_item_price': 8.0,
            'total_price': 9.0,
            'asking_price': 10.0,
            'geo_price': 11.0,
            'name': 'sample string 12',
            'description_short': 'sample string 13',
            'description_long': 'sample string 14',
            'labels': [
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              },
              {
                'key': 'sample string 1',
                'value': 'sample string 2',
                'priority': 3
              }
            ],
            'image_url_1': 'sample string 15',
            'image_url_2': 'sample string 16',
            'image_url_3': 'sample string 17',
            'image_url_4': 'sample string 18',
            'image_url_5': 'sample string 19',
            'image_guid': '51798e8b-1370-4951-8b9e-032d589f0be9',
            'product_size': {
              'width': 1.0,
              'height': 2.0,
              'depth': 3.0,
              'ounces': 4.0,
              'cubic_volume': 5.0,
              'is_rigid': true
            },
            'third_party_integrations': {
              'etsy_product_id': 1,
              'shopify_product_id': 2,
              'shopify_variant_id': 3,
              'shopify_graphql_product_id': 'sample string 4',
              'shopify_graphql_variant_id': 'sample string 5',
              'squarespace_product_id': 'sample string 6',
              'squarespace_variant_id': 'sample string 7',
              'wix_inventory_id': 'sample string 8',
              'wix_product_id': 'sample string 9',
              'wix_variant_id': 'sample string 10',
              'woocommerce_product_id': 11,
              'woocommerce_variant_id': 12
            },
            'framing_options': {
              'collection_ids': [
                1,
                2
              ],
              'allow_frames': true,
              'allow_matting': true,
              'allow_glazing': true,
              'frame_required': true,
              'allow_float_matting': true,
              'require_float_matting': true
            },
            'product_guid': 'dbdc81e3-703b-455e-b942-254e1ed533b7',
            'updated': '2026-05-07T02:58:47.8789273-05:00',
            'valid': true,
            'debug': {}
          }
        ],
        'assigned_gallery_subcategory_ids': [
          1,
          2
        ],
        'assigned_personal_gallery_ids': [
          1,
          2
        ],
        'username': 'sample string 20',
        'account_key': 'sample string 21',
        'artistname': 'sample string 22',
        'rank': 23
      }
    },
    'product_title': 'sample string 5',
    'template': {
      'id': '0e3660bb-ee4a-4e34-999f-928ce2cdca12',
      'thumbnail_url': 'sample string 2',
      'product_code': 'sample string 3'
    },
    'product_guid': 'f4dbfd02-6c07-426a-b3e2-db91143a3964',
    'custom_data_1': 'sample string 7',
    'custom_data_2': 'sample string 8',
    'custom_data_3': 'sample string 9'
  },
  'mode': 'sample string 3',
  'template': {
    'version': 'sample string 1',
    'id': '64540ffe-7672-4dc8-a006-fca9fb745206',
    'name': 'sample string 3',
    'creation_date': '2026-05-07T02:58:47.879926-05:00',
    'DocW': 5.0,
    'DocH': 6.0,
    'description': [
      'sample string 1',
      'sample string 2'
    ],
    'colors': [
      'sample string 1',
      'sample string 2'
    ],
    'Rotation': 7,
    'AllowRotate': true,
    'aspect': 'sample string 9',
    'activeAspect': 'sample string 10',
    'CartID': 'sample string 11',
    'OrderKey': 'b52a369a-339e-4aa6-b4c5-11cfb4311055',
    'Pages': [
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      },
      {
        'id': '902f1861-3cff-43df-8a1c-afdaa62e85c2',
        'parentID': '51036339-d988-41ef-96d8-c7f29b56750b',
        'name': 'sample string 3',
        'x': 4.0,
        'y': 5.0,
        'width': 6.0,
        'height': 7.0,
        'number': 8,
        'grid': 9.0,
        'background': {
          'source': 'sample string 1',
          'color': 'sample string 2',
          'scaleX': 3,
          'scaleY': 4,
          'rotate': 5
        },
        'aspect': 'sample string 10',
        'side': 'sample string 11',
        'active': true,
        'visible': true,
        'textoverimage': true,
        'Zones': [
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          },
          {
            'id': '30a3a1ec-c007-479b-b9f2-434c4049c1ad',
            'parentID': '649b720c-9c8d-48cc-9e2a-5f2936f3f61b',
            'name': 'sample string 3',
            'x': 4.0,
            'y': 5.0,
            'width': 6.0,
            'height': 7.0,
            'depth': 8.0,
            'thickness': 9.0,
            'color': 'sample string 10',
            'printarea': {
              'width': 1.0,
              'height': 2.0,
              'border': 3.0,
              'bleed': 4.0,
              'wrap': 5.0
            },
            'image': {
              'id': '760711e5-1e42-477d-84e0-02ea685d7165',
              'name': 'sample string 2',
              'parentID': '1ec1f190-7a8f-4a84-b06b-5e71588e662e',
              'width': 4.0,
              'height': 5.0,
              'x': 6.0,
              'y': 7.0,
              'portraitaspect': true,
              'source': 'sample string 9',
              'zoom': {
                'level': 1.0,
                'width': 2.0,
                'height': 3.0
              },
              'editor': {
                'color': 'sample string 1',
                'fixlevel': 'sample string 2',
                'affect': 'sample string 3',
                'bleed': 4.0
              },
              'file': {
                'ImageFileID': 1,
                'ImageFileName': 'sample string 2',
                'ImageFileGUID': 'c7ebd39b-95d1-47e3-aeac-2b7766be7ba7',
                'ImageFileW': 4.0,
                'ImageFileH': 5.0,
                'ImageFileThumbnailURL': 'sample string 6',
                'ImageFileURL': 'sample string 7',
                'ImageFileHiResFileURL': 'sample string 8',
                'ImageFileSource': 'sample string 9',
                'ImageAspect': 'sample string 10'
              }
            },
            'image_padding': 11.0,
            'types': [
              1,
              2
            ],
            'scaleX': 12.0,
            'scaleY': 13.0,
            'rotate': 14.0,
            'defaultCrop': true,
            'Texts': [
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              },
              {
                'id': 'sample string 1',
                'parentID': 'sample string 2',
                'font': 'sample string 3',
                'font_color': 'sample string 4',
                'text': 'sample string 5',
                'fillStyle': 'sample string 6',
                'align': 'sample string 7',
                'fontFamily': 'sample string 8',
                'fontSize': 'sample string 9',
                'fontStyle': 'sample string 10',
                'x': 11.0,
                'y': 12.0,
                'width': 13.0,
                'height': 14.0,
                'lineHeight': 15.0,
                'maxWidth': 16.0,
                'padding': 17.0
              }
            ],
            'guides': [
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              },
              {
                'parentID': '4edb81ca-a2be-44ef-ad25-fa04039d7d06',
                'name': 'sample string 2',
                'x': 3.0,
                'y': 4.0,
                'width': 5.0,
                'height': 6.0
              }
            ]
          }
        ]
      }
    ],
    'Product': {
      'Qty': 1,
      'Pricing': {
        'Qty': 1,
        'Sku': 'sample string 2',
        'SinglePrice': 3.1,
        'RegularPrice': 4.1,
        'BronzePrice': 5.1,
        'SilverPrice': 6.1,
        'GoldPrice': 7.1,
        'PlatinumPrice': 8.1,
        'SavingsAmt': 9.1,
        'SavingsPercent': 10.1,
        'DiscountedPrice': 11.1,
        'VolumePrice_Current': 12.1,
        'VolumePrice_OneMore': 13.1,
        'ColorCorrectionPrice': 14.1,
        'DiscountLevel': 15.1,
        'SpecialsPrice': 16.1,
        'AddOnPrice': 17.1,
        'BulkRates': null,
        'Exception': {
          'ClassName': 'System.Exception',
          'Message': null,
          'Data': null,
          'InnerException': null,
          'HelpURL': 'sample string 1',
          'StackTraceString': null,
          'RemoteStackTraceString': null,
          'RemoteStackIndex': 0,
          'ExceptionMethod': null,
          'HResult': 3,
          'Source': 'sample string 2',
          'WatsonBuckets': null
        },
        'Testing': {},
        'Description': {
          'sample string 1': 'sample string 2',
          'sample string 3': 'sample string 4'
        }
      },
      'TemplateTypeID': 2,
      'name': 'sample string 3',
      'PrintProductSku': 'sample string 4',
      'PrintProductTypeID': 5,
      'projectID': 'a67847ec-536a-43cc-9fb0-d5f34504fe9b',
      'ColorCorrect': true,
      'MediaID': 8,
      'MediaName': 'sample string 9',
      'MediaPrice': 10.0,
      'MediaPriceVolumeDiscount': 11.0,
      'MediaShineLevel': 12.0,
      'MountingName': 'sample string 13',
      'MountingID': 14,
      'Border': 15.0,
      'MountingAddToPrintSize': 16.0,
      'MountingDepth': 17.0,
      'MountingRate': 18.0,
      'MountingRateVolumeDiscount': 19.0,
      'MountingPrice': 20.0,
      'MountingPriceVolumeDiscount': 21.0,
      'MountingFrameClassIDs': [
        1,
        2
      ],
      'CanvasAddOns': [],
      'MountingAddOns': [],
      'PrintProductTypeProperties': null,
      'MountingAddOnProperties': null,
      'CanvasAddOnProperties': null,
      'MediaProperties': null,
      'MountingProperties': null,
      'FrameProperties': null,
      'PhotoItem': null,
      'PhotoItemOptions': [],
      'CardItemOptions': [],
      'Frame': {
        'FrameID': 1,
        'FrameClassID': 2,
        'FrameClassName': 'sample string 3',
        'FrameName': 'sample string 4',
        'FrameW': 5.0,
        'FrameH': 6.0,
        'FramePrice': 7.0,
        'Matting': [
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          },
          {
            'MatID': 1,
            'MatName': 'sample string 2',
            'MatPrice': 3.0,
            'MatWindowW': 4.0,
            'MatWindowH': 5.0
          }
        ],
        'Glass': {
          'GlassID': 1,
          'GlassName': 'sample string 2',
          'GlassPrice': 3.0
        }
      },
      'CardStockID': 22,
      'CardStyleID': 23,
      'SelectedW': 24.0,
      'SelectedH': 25.0,
      'SheetW': 26.0,
      'SheetH': 27.0,
      'PrintW': 28.0,
      'PrintH': 29.0,
      'Bleed': 30.0,
      'DiscountRate': 31.0,
      'MarkupRate': 32.0,
      'aid': 33,
      'CardStockPrice': 34.0,
      'CardStylePrice': 35.0,
      'PrintMakerPrice': 36.0
    }
  },
  'account_key': 'sample string 4'
}"

    response = https.request(request)
    puts response.read_body


                        

NameDescriptionTypeAdditional information
status

Status of response

response_status

None.

debug

Used to assist debugging any errors

Object

None.

id

Miscellaneous data

number

None.

Example JSON Response

application/json, text/json

{
  "status": {
    "success": true,
    "status_code": 100,
    "message": "sample string 2",
    "debug": {},
    "reference_id": "sample string 4",
    "domain": "sample string 5"
  },
  "debug": {},
  "id": 2
}