Overview


This is a selective-create endpoint that creates a project with only the attributes that you send to Supermove.

Resources described below are outlined here.

Request


An example request for creating a new project on the supermove-sandbox-demo account. Feel free to copy this payload and try the request yourself.

The request URL: https://api.supermove.co/v1/projects

{
	"status": enum["CANCELLED", "UNCANCELLED", "BOOKED", "COMPLETED"],
  "name": string,
  "project_type":
  {
	  "identifier": project_type.slug // Required
  },
  "description": string,
  "referral_source": string,
  "referral_details": string,
  "salesperson":
  {
	  "email": string
  },
  "coordinator":
  {
	  "email": string
  },
  "client":
  {
	  "name": string,
		"primary_contact":
		{
	    "first_name": string, // Required
	    "last_name": string,
	    "email": string,
	    "phone_number": string
	  }
  },
  "jobs": [
	  {
		  "name": string,
	    "job_type":
	    {
		    "identifier": string // Required
	    },
	    "description": string,
	    "start_date": date,
	    "end_date": date,
	    "start_time_1": string,
	    "start_time_2": string,
	    "number_of_movers": integer, // Required
	    "number_of_trucks": integer,
	    "estimate_hours_min": float,
	    "estimate_hours_max": float,
	    "office_notes": string,
	    "dispatch_notes": string,
	    "crew_notes": string,
	    "locations": [ // Locations are optional, but if specified, each must have an address.
		    {
			    "address": string, // Required
		      "city": string,
		      "zip_code": string,
		      "unit": string,
		      "floor_number": integer,
		      "flights_of_stairs": integer,
		      "has_elevator": boolean,
		      "has_long_walk": boolean,
		      "notes": string,
	      }
	    ],
    },
  ]
}

Response


A successful response from the server will send back the project and its unique identifier.

{
	"identifier": "B10000"
	"uuid": "2defae56-7bca-43a1-8341-01b6384d13e8"
}

Usage


Here is an example curl command that you can use to test out the endpoint. Please note you must substitute the UUID of the project you want to work with in the URL.