Skip to content

Commit 97c6d7e

Browse files
authored
docs: add create order quote endpoint (#89)
1 parent b4bb54f commit 97c6d7e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/web-apis/ordering-api.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,28 @@ The Order Quote API lets you retrieve pricing quotes for PCB orders. Quotes incl
113113

114114
### Endpoint
115115

116+
#### Create an Order Quote
117+
`POST /order_quotes/create`
118+
119+
Creates a new order quote for a PCB package release. Currently only the `jlcpcb` vendor is supported.
120+
121+
Request body:
122+
123+
```json
124+
{
125+
"package_release_id": "string (UUID)",
126+
"vendor_name": "jlcpcb"
127+
}
128+
```
129+
130+
Response example:
131+
132+
```json
133+
{
134+
"order_quote_id": "string (UUID)"
135+
}
136+
```
137+
116138
#### Get an Order Quote
117139
`GET /order_quotes/get?order_quote_id={uuid}` or `POST /order_quotes/get`
118140

0 commit comments

Comments
 (0)