Save a new revision of the organization's Guidocad design on the order
Appends a version built on `baseRevision`, which must be the design's current revision; a design that changed elsewhere answers 409 with its current revision. Saving the scene that is already current writes nothing new and answers `replayed`. The newest 100 autosaves and 100 saves are kept; a design takes 3 000 writes a day and a lab 30 000.
Appends a version built on baseRevision, which must be the design's current revision; a design that changed elsewhere answers 409 with its current revision. Saving the scene that is already current writes nothing new and answers replayed. The newest 100 autosaves and 100 saves are kept; a design takes 3 000 writes a day and a lab 30 000.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/guidocad/orders/string/design" \ -H "Content-Type: application/json" \ -d '{ "baseRevision": 0, "scene": { "version": 1, "engine": "string", "outputs": [ { "fileId": "string", "tooth": 11, "part": "bottom" } ], "stepId": "string", "scans": [ { "fileId": "string", "role": "upper", "vertices": 0 } ], "teeth": [ { "tooth": 11, "marginFileId": "string", "clicks": [ [ 0, 0, 0 ] ], "margin": { "vertices": [ 0 ], "points": [ 0 ] }, "insertion": [ 0, 0, 0 ], "insertionSet": true, "parameters": { "property1": 0, "property2": 0 } } ] } }'{ "id": "string", "revision": 0, "replayed": true}{ "error": "string", "code": "revision_conflict", "currentRevision": 0}