Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a project

PUT/project/{id}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
Request body
application/json
customIdstringrequired

Custom ticket id.

statusNamestringrequired

Name of an existing ticket status.

customerIdstring

Id of the customer, as a string. Alternative to contactEmail.

contactEmailstring

Email of an existing customer. Alternative to customerId.

prioritystring

Ticket priority.

quotationFormRegionIdstring

Id of the quotation form region.

additionalFilesobject

Downloadable files to attach, keyed by file name; each value is {url, headers}. An object, not an array.

billingAddressobject
Show properties
firstNamestringrequired

First name.

lastNamestringrequired

Last name.

addressstringrequired

Street address.

addressSecondLinestringrequired

Second address line.

citystringrequired

City.

telephonestringrequired

Telephone.

emailstringrequired

Email.

companyNamestring

Company name.

postCodestring

Post code.

countryNamestring

Country name.

countryISOstring

ISO country code.

shippingAddressobject
Show properties
firstNamestringrequired

First name.

lastNamestringrequired

Last name.

addressstringrequired

Street address.

addressSecondLinestringrequired

Second address line.

citystringrequired

City.

telephonestringrequired

Telephone.

emailstringrequired

Email.

companyNamestring

Company name.

postCodestring

Post code.

countryNamestring

Country name.

countryISOstring

ISO country code.

Responses
200

OK. Returns only the id — fetch the full Project with the corresponding GET.

idinteger | stringrequired

Id of the updated Project.

Show properties
One of:
integer
integer
string
string
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/project/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "customId": "string",
  "statusName": "string",
  "customerId": "string",
  "contactEmail": "string",
  "priority": "string",
  "quotationFormRegionId": "string",
  "additionalFiles": {},
  "billingAddress": {
    "firstName": "string",
    "lastName": "string",
    "address": "string",
    "addressSecondLine": "string",
    "city": "string",
    "telephone": "string",
    "email": "string",
    "companyName": "string",
    "postCode": "string",
    "countryName": "string",
    "countryISO": "string"
  },
  "shippingAddress": {
    "firstName": "string",
    "lastName": "string",
    "address": "string",
    "addressSecondLine": "string",
    "city": "string",
    "telephone": "string",
    "email": "string",
    "companyName": "string",
    "postCode": "string",
    "countryName": "string",
    "countryISO": "string"
  }
}'
Response
{
  "id": 0
}