Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update an auction
cURL
curl --request PUT \ --url https://admin.fanfare.io/api/auctions/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "autoExtendSeconds": 123, "closeAt": "<string>", "floorPrice": "<string>", "minBidIncrement": "<string>", "name": "<string>", "openAt": "<string>", "priceDropAmount": "<string>", "priceDropIntervalSeconds": 123, "quantity": 123, "reservePrice": "<string>", "settleAt": "<string>", "startPrice": "<string>", "timeZone": "<string>" } '
const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ autoExtendSeconds: 123, closeAt: '<string>', floorPrice: '<string>', minBidIncrement: '<string>', name: '<string>', openAt: '<string>', priceDropAmount: '<string>', priceDropIntervalSeconds: 123, quantity: 123, reservePrice: '<string>', settleAt: '<string>', startPrice: '<string>', timeZone: '<string>' }) }; fetch('https://admin.fanfare.io/api/auctions/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://admin.fanfare.io/api/auctions/{id}" payload = { "autoExtendSeconds": 123, "closeAt": "<string>", "floorPrice": "<string>", "minBidIncrement": "<string>", "name": "<string>", "openAt": "<string>", "priceDropAmount": "<string>", "priceDropIntervalSeconds": 123, "quantity": 123, "reservePrice": "<string>", "settleAt": "<string>", "startPrice": "<string>", "timeZone": "<string>" } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.text)
package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://admin.fanfare.io/api/auctions/{id}" payload := strings.NewReader("{\n \"autoExtendSeconds\": 123,\n \"closeAt\": \"<string>\",\n \"floorPrice\": \"<string>\",\n \"minBidIncrement\": \"<string>\",\n \"name\": \"<string>\",\n \"openAt\": \"<string>\",\n \"priceDropAmount\": \"<string>\",\n \"priceDropIntervalSeconds\": 123,\n \"quantity\": 123,\n \"reservePrice\": \"<string>\",\n \"settleAt\": \"<string>\",\n \"startPrice\": \"<string>\",\n \"timeZone\": \"<string>\"\n}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer <token>") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "archived": true, "createdAt": "2023-11-07T05:31:56Z", "createdBy": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "sequenceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "settleAt": "2023-11-07T05:31:56Z", "timeZone": "<string>", "auctionType": "english", "autoExtendSeconds": 123, "closeAt": "2023-11-07T05:31:56Z", "floorPrice": "<string>", "minBidIncrement": "<string>", "openAt": "2023-11-07T05:31:56Z", "priceDropAmount": "<string>", "priceDropIntervalSeconds": 123, "quantity": 123, "reservePrice": "<string>", "startPrice": "<string>", "statusOverride": "ended", "statusOverrideAt": "2023-11-07T05:31:56Z", "statusOverrideBy": "<string>", "teardownStatus": "pending", "updatedAt": "2023-11-07T05:31:56Z", "updatedBy": "<string>" }
{ "error": "validation_error", "issues": [ { "expected": "<string>", "kind": "<string>", "message": "<string>", "path": [ { "input": "<unknown>", "key": "<string>", "origin": "<string>", "type": "<string>" } ], "received": "<string>", "type": "<string>" } ] }
{ "error": "<string>" }
Fanfare secret key. Keep secret credentials on your server.
english
dutch
Auction updated successfully
1
^\d{1,12}(\.\d{1,8})?$
ended
pending
completed