CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "https://api.print.io/api/v/5/source/api/preconfiguredproducts/" {:headers {:content-type "application/json"}
                                                                               :query-params {:recipeid "f255af6f-9614-4fe2-aa8b-1b77b936d9d6"}})
var client = new RestClient("https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6");
var request = new RestRequest(Method.POST);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6"

	payload := strings.NewReader("{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6 HTTP/1.1
Content-Type: application/json
Host: api.print.io
Content-Length: 544

{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json; charset=utf-8");
RequestBody body = RequestBody.create(mediaType, "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}");
Request request = new Request.Builder()
  .url("https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse<String> response = Unirest.post("https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6")
  .header("content-type", "application/json")
  .body("{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}")
  .asString();
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6",
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "data": "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}"
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
fetch("https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}"
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.log(err);
});
var data = "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6");
xhr.setRequestHeader("content-type", "application/json");

xhr.send(data);
var http = require("https");

var options = {
  "method": "POST",
  "hostname": "api.print.io",
  "port": null,
  "path": "/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6",
  "headers": {
    "content-type": "application/json"
  }
};

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

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

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

req.write("{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}");
req.end();
var request = require("request");

var options = {
  method: 'POST',
  url: 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/',
  qs: {recipeid: 'f255af6f-9614-4fe2-aa8b-1b77b936d9d6'},
  headers: {'content-type': 'application/json'},
  body: '{\n\n  "Sku": "string",\n\n  "Name": "string",\n\n  "Description": "string",\n  "Items": [\n    {\n      "ProductId": 43,\n      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",\n      "Preconfigurations": [\n        {\n          "SpaceId": "E760D",\n          "Url": "https://placekitten.com/3000/3000"\n        }\n      ]\n    }\n  ],\n  "Images": [\n    {\n      "Url": "string",\n      "Description": "string",\n      "Index": "int",\n      "Id": "string"\n    }\n  ],\n\n  "ShopifyVariant": {\n    "VariantId": 1234567,\n    "StoreName": "store-subdomain-at-shopify"\n  }\n}'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
var unirest = require("unirest");

var req = unirest("POST", "https://api.print.io/api/v/5/source/api/preconfiguredproducts/");

req.query({
  "recipeid": "f255af6f-9614-4fe2-aa8b-1b77b936d9d6"
});

req.headers({
  "content-type": "application/json"
});

  req.send("{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}");

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
#import <Foundation/Foundation.h>

NSDictionary *headers = @{ @"content-type": @"application/json" };

NSData *postData = [[NSData alloc] initWithData:[@"{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}" dataUsingEncoding:NSUTF8StringEncoding]];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}",
  CURLOPT_HTTPHEADER => array(
    "content-type: application/json"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
<?php

$request = new HttpRequest();
$request->setUrl('https://api.print.io/api/v/5/source/api/preconfiguredproducts/');
$request->setMethod(HTTP_METH_POST);

$request->setQueryData(array(
  'recipeid' => 'f255af6f-9614-4fe2-aa8b-1b77b936d9d6'
));

$request->setHeaders(array(
  'content-type' => 'application/json'
));

$request->setBody('{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}');

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
<?php

$client = new http\Client;
$request = new http\Client\Request;

$body = new http\Message\Body;
$body->append('{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}');

$request->setRequestUrl('https://api.print.io/api/v/5/source/api/preconfiguredproducts/');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setQuery(new http\QueryString(array(
  'recipeid' => 'f255af6f-9614-4fe2-aa8b-1b77b936d9d6'
)));

$request->setHeaders(array(
  'content-type' => 'application/json'
));

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6' -Method POST -Headers $headers -ContentType 'application/json' -Body '{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6' -Method POST -Headers $headers -ContentType 'application/json' -Body '{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}'
import http.client

conn = http.client.HTTPSConnection("api.print.io")

payload = "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "https://api.print.io/api/v/5/source/api/preconfiguredproducts/"

querystring = {"recipeid":"f255af6f-9614-4fe2-aa8b-1b77b936d9d6"}

payload = "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}"
headers = {'content-type': 'application/json'}

response = requests.request("POST", url, data=payload, headers=headers, params=querystring)

print(response.text)
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n\n  \"Sku\": \"string\",\n\n  \"Name\": \"string\",\n\n  \"Description\": \"string\",\n  \"Items\": [\n    {\n      \"ProductId\": 43,\n      \"ProductVariantSku\": \"CanvsWrp-ImgWrp-10x10\",\n      \"Preconfigurations\": [\n        {\n          \"SpaceId\": \"E760D\",\n          \"Url\": \"https://placekitten.com/3000/3000\"\n        }\n      ]\n    }\n  ],\n  \"Images\": [\n    {\n      \"Url\": \"string\",\n      \"Description\": \"string\",\n      \"Index\": \"int\",\n      \"Id\": \"string\"\n    }\n  ],\n\n  \"ShopifyVariant\": {\n    \"VariantId\": 1234567,\n    \"StoreName\": \"store-subdomain-at-shopify\"\n  }\n}"

response = http.request(request)
puts response.read_body
curl --request POST \
  --url 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6' \
  --header 'content-type: application/json' \
  --data '{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}'
echo '{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}' |  \
  http POST 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6' \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n\n  "Sku": "string",\n\n  "Name": "string",\n\n  "Description": "string",\n  "Items": [\n    {\n      "ProductId": 43,\n      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",\n      "Preconfigurations": [\n        {\n          "SpaceId": "E760D",\n          "Url": "https://placekitten.com/3000/3000"\n        }\n      ]\n    }\n  ],\n  "Images": [\n    {\n      "Url": "string",\n      "Description": "string",\n      "Index": "int",\n      "Id": "string"\n    }\n  ],\n\n  "ShopifyVariant": {\n    "VariantId": 1234567,\n    "StoreName": "store-subdomain-at-shopify"\n  }\n}' \
  --output-document \
  - 'https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6'
import Foundation

let headers = ["content-type": "application/json"]

let postData = NSData(data: "{

  "Sku": "string",

  "Name": "string",

  "Description": "string",
  "Items": [
    {
      "ProductId": 43,
      "ProductVariantSku": "CanvsWrp-ImgWrp-10x10",
      "Preconfigurations": [
        {
          "SpaceId": "E760D",
          "Url": "https://placekitten.com/3000/3000"
        }
      ]
    }
  ],
  "Images": [
    {
      "Url": "string",
      "Description": "string",
      "Index": "int",
      "Id": "string"
    }
  ],

  "ShopifyVariant": {
    "VariantId": 1234567,
    "StoreName": "store-subdomain-at-shopify"
  }
}".data(using: String.Encoding.utf8)!)

let request = NSMutableURLRequest(url: NSURL(string: "https://api.print.io/api/v/5/source/api/preconfiguredproducts/?recipeid=f255af6f-9614-4fe2-aa8b-1b77b936d9d6")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()