{"items":[{"type":"link","label":"ChicksGold Seller API","link":"/openapi","routeSlug":"/openapi","content":{"contentType":"overview","meta":{"name":"ChicksGold Seller API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"attribute","title":"License","titleTranslationKey":"info.license","label":"Proprietary","value":"Proprietary"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"ChicksGold Seller API (1.0.0)","showPageActions":true},{"nodeType":"markdoc","content":"Manage your currency offers and prices from your own systems."},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[]}],"sectionId":"/"}],"sectionId":"/"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The ChicksGold API lets you manage your "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Currency"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" offers from your own systems. With it you can:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"read your seller account and the current price update cooldown;"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"list your offers and read one offer;"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"pause and activate offers;"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"update prices, one offer at a time or in batches of up to 100."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access is granted by ChicksGold to approved sellers only."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requests without a valid key are rejected."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/authentication"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header on every request. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"x-api-key: <your API key>\n"},"children":[{"$$mdtype":"Node","attributes":{"content":"x-api-key: <your API key>\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Keep your key secret. Never put it in a browser, a mobile app or public code. If it is exposed, contact ChicksGold Support so it can be replaced."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" A key only works on the environment it was issued for."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". A key that is valid but not registered for your account, or that has been disabled, returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/authentication"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/environments"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Environments"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Environment"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Base URL"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://api.chicksgold.com/v1"},"children":[],"type":"code"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Staging"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://staging-api.chicksgold.com/v1"},"children":[],"type":"code"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Both environments require an API key issued by ChicksGold, and the keys are different. Staging is for testing your integration"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"before you go live. It is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" open access and not a public sandbox: it is available only to approved sellers. Staging is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"separate from production."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/environments"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/prices-and-units"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Prices and units"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each offer is sold per "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the game currency ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"M"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for millions). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"price"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is in USD per 1 "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"JSON number with at most 5 decimal places. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"quantity"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"minimum"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are expressed in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". For example, 376 "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"M"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" at a price of"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0.26650 is 376 × 0.26650 = 100.20 USD. Stock and minimum order are managed on the ChicksGold website; the API does not change them."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/prices-and-units"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/rate-limits"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rate limits"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When you exceed a limit you get "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Read the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header (seconds), wait that long and retry with backoff. Do not retry in a tight loop."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Code"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Meaning"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"You are sending requests too fast. Slow down and retry after "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"You used the daily request quota for your key."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PRICE_UPDATE_COOLDOWN"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A business rule, not a rate limit: this offer's price was changed too recently. See "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Price update cooldown"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"}]}],"sectionId":"/section/rate-limits"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/price-update-cooldown"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Price update cooldown"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The price of each offer can be changed at most once per cooldown window. The window is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"15 minutes"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for now and might"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"be shorten in the future. Do not hard-code it: read "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"priceCooldownSeconds"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /me"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"priceUpdatableAt"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from each offer."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A price change inside the window is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"429 PRICE_UPDATE_COOLDOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The response carries "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (seconds until the price can change again) and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"details.priceUpdatableAt"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In a batch, an offer inside its window is reported as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cooldown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for that item and the rest of the batch still succeeds."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sending the price the offer already has succeeds with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and does "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" start a new window."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The cooldown is per offer: changing one offer's price does not delay another offer."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/price-update-cooldown"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/pagination"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /offers"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" returns offers newest first, in pages. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"limit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (1 to 100, default 50) to set the page size."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"A page has "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"data"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"hasMore"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"nextAfter"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". While "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"hasMore"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", call the endpoint again with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"after"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to the previous"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"page's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"nextAfter"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", keeping the same filters. On the last page "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"hasMore"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"nextAfter"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/pagination"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/errors"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Errors"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every error uses the same envelope:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"{\n  \"error\": {\n    \"code\": \"OFFER_NOT_FOUND\",\n    \"message\": \"Offer not found.\",\n    \"requestId\": \"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b\",\n    \"details\": {}\n  }\n}\n","language":"json"},"children":[{"$$mdtype":"Node","attributes":{"content":"{\n  \"error\": {\n    \"code\": \"OFFER_NOT_FOUND\",\n    \"message\": \"Offer not found.\",\n    \"requestId\": \"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b\",\n    \"details\": {}\n  }\n}\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is stable and machine-readable: branch on it, not on "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which may change."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is a human-readable explanation."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" identifies the request and is also returned in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-request-id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Include it when you contact ChicksGold Support."},"children":[],"type":"text"}],"type":"strong"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"details"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is optional and depends on the code."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Code"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_FAILED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is malformed, has unknown fields or invalid values. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"details.errors"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" lists each problem."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400, 413, 415"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BAD_REQUEST"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request was rejected before it was processed."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"INVALID_API_KEY"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The key is valid but is not registered for a seller account."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The key has been disabled."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API access is not enabled for your account."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_RESTRICTED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Activating a paused offer while your seller account is restricted. Contact support and quote the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the message."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request could not be authorized. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"NOT_FOUND"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The path or method does not exist."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OFFER_NOT_FOUND"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer does not exist or is not yours."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OFFER_OUT_OF_STOCK"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer cannot be activated because it has no stock."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OFFER_NOT_ACTIVATABLE"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer's status ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") cannot be changed through the API."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"413"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BATCH_TOO_LARGE"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A batch has more than 100 items."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"413"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PAYLOAD_TOO_LARGE"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request body is larger than 1 MiB."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests per second."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The daily quota was used."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"429"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PRICE_UPDATE_COOLDOWN"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer's price was changed too recently."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"500"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"INTERNAL_ERROR"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error."},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"502 and other 5xx"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UPSTREAM_ERROR"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry with exponential backoff."},"children":[],"type":"text"}],"type":"strong"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response is temporary: wait, then retry with backoff (for example 1 s, 2 s, 4 s, up to a few attempts). Retries are safe by design:"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending the price an offer already has returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and pause and activate can be repeated safely. If the problem"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"continues, contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/errors"}]}]}},{"type":"link","label":"Overview","link":"/openapi/section/overview","routeSlug":"/openapi/section/overview","content":null},{"type":"link","label":"Authentication","link":"/openapi/section/authentication","routeSlug":"/openapi/section/authentication","content":null},{"type":"link","label":"Environments","link":"/openapi/section/environments","routeSlug":"/openapi/section/environments","content":null},{"type":"link","label":"Prices and units","link":"/openapi/section/prices-and-units","routeSlug":"/openapi/section/prices-and-units","content":null},{"type":"link","label":"Rate limits","link":"/openapi/section/rate-limits","routeSlug":"/openapi/section/rate-limits","content":null},{"type":"link","label":"Price update cooldown","link":"/openapi/section/price-update-cooldown","routeSlug":"/openapi/section/price-update-cooldown","content":null},{"type":"link","label":"Pagination","link":"/openapi/section/pagination","routeSlug":"/openapi/section/pagination","content":null},{"type":"link","label":"Errors","link":"/openapi/section/errors","routeSlug":"/openapi/section/errors","content":null},{"type":"separator","label":"Seller API","content":null},{"type":"group","label":"Account","link":"/openapi/account","routeSlug":"/openapi/account","items":[{"label":"Get the authenticated seller","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/account/getme","routeSlug":"/openapi/account/getme","metadata":{"seo":{"title":"Get the authenticated seller","description":"Returns the seller your API key belongs to and the current price update cooldown. Use priceCooldownSecondsto plan your price updates (see Price update cooldown)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMe","name":"Get the authenticated seller","isWebhook":false,"pointer":"/paths/~1me/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the authenticated seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns the seller your API key belongs to and the current price update cooldown. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"priceCooldownSeconds"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to plan your price updates (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Price update cooldown"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/me","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","429","500","502"],"pointer":"/me","href":"account/getme","openApiOperationId":"getMe","summary":"Get the authenticated seller"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X GET \"https://api.chicksgold.com/v1/me\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\"\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/me\", {\n  method: \"GET\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n  },\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.chicksgold.com/v1/me\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The seller and the current limits.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Me","exampleIds":["paths/~1me/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/Me","exampleIds":["paths/~1me/get/responses/200/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/429/content/application~1json/examples/rateLimited","paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/429/content/application~1json/examples/rateLimited","paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1me/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Me","exampleIds":["paths/~1me/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Me","exampleIds":["paths/~1me/get/responses/200/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/429/content/application~1json/examples/rateLimited","paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/429/content/application~1json/examples/rateLimited","paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1me/get/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/account/getme"}],"panels":[]}]},"httpPath":"/me"}],"content":{"contentType":"group","meta":{"name":"Account"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Account","showPageActions":true},{"nodeType":"markdoc","content":"The authenticated seller and the current limits."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/me","summary":"Get the authenticated seller","prefix":{"name":"get","color":"get"},"badges":[],"link":"/account/getme","deprecated":false}]}]}]}]}},{"type":"group","label":"Offers","link":"/openapi/offers","routeSlug":"/openapi/offers","items":[{"label":"List your currency offers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/offers/listoffers","routeSlug":"/openapi/offers/listoffers","metadata":{"seo":{"title":"List your currency offers","description":"Returns only the offers that belong to you, newest first, in pages. Pass nextAfter from a page as after to get thenext page (see Pagination)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listOffers","name":"List your currency offers","isWebhook":false,"pointer":"/paths/~1offers/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List your currency offers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns only the offers that belong to you, newest first, in pages. Pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"nextAfter"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from a page as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"after"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to get the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"next page (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_2","description":"Only offers with this status."},{"name":"gameId","in":"query","schemaId":"schema_3","description":"Only offers for this game.","example":12},{"name":"updatedSince","in":"query","schemaId":"schema_4","description":"Only offers updated at or after this instant (ISO 8601, UTC).","example":"2026-11-06T00:00:00Z"},{"name":"limit","in":"query","schemaId":"schema_5","description":"Page size.","example":50},{"name":"after","in":"query","schemaId":"schema_6","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Offer id to continue after. Pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"nextAfter"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from the previous page. Omit it for the first page."},"children":[],"type":"text"}],"type":"paragraph"}],"example":55123}],"pointer":"/paths/~1offers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/offers","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","schemaId":"components/schemas/OfferStatus"},{"name":"gameId","in":"query","example":12,"schemaId":"schema_3"},{"name":"updatedSince","in":"query","example":"2026-11-06T00:00:00Z","schemaId":"schema_4"},{"name":"limit","in":"query","example":50,"schemaId":"schema_5"},{"name":"after","in":"query","example":55123,"schemaId":"schema_6"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","429","500","502"],"pointer":"/offers","href":"offers/listoffers","openApiOperationId":"listOffers","summary":"List your currency offers"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X GET \"https://api.chicksgold.com/v1/offers?status=active&limit=50\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\"\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers?status=active&limit=50\", {\n  method: \"GET\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n  },\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.chicksgold.com/v1/offers?status=active&limit=50\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A page of offers.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferPage","exampleIds":["paths/~1offers/get/responses/200/content/application~1json/examples/firstPage","paths/~1offers/get/responses/200/content/application~1json/examples/lastPage","paths/~1offers/get/responses/200/content/application~1json/examples/empty"]}},"schemaId":"components/schemas/OfferPage","exampleIds":["paths/~1offers/get/responses/200/content/application~1json/examples/firstPage","paths/~1offers/get/responses/200/content/application~1json/examples/lastPage","paths/~1offers/get/responses/200/content/application~1json/examples/empty"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is malformed, has unknown fields or has invalid values. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"details.errors"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" lists each problem."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/400/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/OfferPage","exampleIds":["paths/~1offers/get/responses/200/content/application~1json/examples/firstPage","paths/~1offers/get/responses/200/content/application~1json/examples/lastPage","paths/~1offers/get/responses/200/content/application~1json/examples/empty"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferPage","exampleIds":["paths/~1offers/get/responses/200/content/application~1json/examples/firstPage","paths/~1offers/get/responses/200/content/application~1json/examples/lastPage","paths/~1offers/get/responses/200/content/application~1json/examples/empty"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers/get/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/offers/listoffers"}],"panels":[]}]},"httpPath":"/offers"},{"label":"Get one of your offers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/offers/getoffer","routeSlug":"/openapi/offers/getoffer","metadata":{"seo":{"title":"Get one of your offers","description":"Returns one offer. An offer that does not exist or is not yours returns 404 OFFER_NOT_FOUND."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOffer","name":"Get one of your offers","isWebhook":false,"pointer":"/paths/~1offers~1{offerId}/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get one of your offers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns one offer. An offer that does not exist or is not yours returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"404 OFFER_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_6","description":"The offer id.","required":true,"example":55123}],"pointer":"/paths/~1offers~1{offerId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/offers/{offerId}","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"example":55123,"schemaId":"schema_6"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404","429","500","502"],"pointer":"/offers/{offerId}","href":"offers/getoffer","openApiOperationId":"getOffer","summary":"Get one of your offers"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X GET \"https://api.chicksgold.com/v1/offers/55123\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\"\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers/55123\", {\n  method: \"GET\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n  },\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.chicksgold.com/v1/offers/55123\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The offer.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Offer","exampleIds":["paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active","paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv"]}},"schemaId":"components/schemas/Offer","exampleIds":["paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active","paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"404","description":"The offer does not exist or is not yours.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers~1{offerId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Offer","exampleIds":["paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active","paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Offer","exampleIds":["paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active","paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"404","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/offers/getoffer"}],"panels":[]}]},"httpPath":"/offers/{offerId}"},{"label":"Pause (unlist) an offer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/offers/pauseoffer","routeSlug":"/openapi/offers/pauseoffer","metadata":{"seo":{"title":"Pause (unlist) an offer","description":"The offer stops being shown to buyers. Pausing an offer that is already paused succeeds with changed: false.Offers with status unavailable cannot be paused (409 OFFER_NOT_ACTIVATABLE)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"pauseOffer","name":"Pause (unlist) an offer","isWebhook":false,"pointer":"/paths/~1offers~1{offerId}~1pause/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Pause (unlist) an offer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer stops being shown to buyers. Pausing an offer that is already paused succeeds with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Offers with status "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" cannot be paused ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409 OFFER_NOT_ACTIVATABLE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_6","description":"The offer id.","required":true,"example":55123}],"pointer":"/paths/~1offers~1{offerId}~1pause/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/offers/{offerId}/pause","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"example":55123,"schemaId":"schema_6"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404","409","429","500","502"],"pointer":"/offers/{offerId}/pause","href":"offers/pauseoffer","openApiOperationId":"pauseOffer","summary":"Pause (unlist) an offer"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X POST \"https://api.chicksgold.com/v1/offers/55123/pause\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\"\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers/55123/pause\", {\n  method: \"POST\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n  },\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"POST\",\n    \"https://api.chicksgold.com/v1/offers/55123/pause\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer after the change. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the offer was already paused."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused","paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused"]}},"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused","paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"404","description":"The offer does not exist or is not yours.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"409","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer's status ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") cannot be changed through the API."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers~1{offerId}~1pause/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused","paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused","paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"404","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/offers/pauseoffer"}],"panels":[]}]},"httpPath":"/offers/{offerId}/pause"},{"label":"Activate (list) an offer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/offers/activateoffer","routeSlug":"/openapi/offers/activateoffer","metadata":{"seo":{"title":"Activate (list) an offer","description":"Makes the offer visible to buyers. Activating an offer that is already active succeeds with changed: false.Fails with 409 OFFER_OUT_OF_STOCK when the offer has no stock, with 409 OFFER_NOT_ACTIVATABLE when its status isunavailable, and with 403 SELLER_RESTRICTED when you try to activate a paused offer while your seller account is restricted."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"activateOffer","name":"Activate (list) an offer","isWebhook":false,"pointer":"/paths/~1offers~1{offerId}~1activate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Activate (list) an offer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Makes the offer visible to buyers. Activating an offer that is already active succeeds with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Fails with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409 OFFER_OUT_OF_STOCK"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the offer has no stock, with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409 OFFER_NOT_ACTIVATABLE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when its status is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 SELLER_RESTRICTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when you try to activate a paused offer while your seller account is restricted."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_6","description":"The offer id.","required":true,"example":55123}],"pointer":"/paths/~1offers~1{offerId}~1activate/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/offers/{offerId}/activate","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"example":55123,"schemaId":"schema_6"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404","409","429","500","502"],"pointer":"/offers/{offerId}/activate","href":"offers/activateoffer","openApiOperationId":"activateOffer","summary":"Activate (list) an offer"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X POST \"https://api.chicksgold.com/v1/offers/55123/activate\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\"\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers/55123/activate\", {\n  method: \"POST\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n  },\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"POST\",\n    \"https://api.chicksgold.com/v1/offers/55123/activate\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The offer after the change. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the offer was already active."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is not allowed. In addition to the codes listed for the other endpoints ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), activating a paused offer returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_RESTRICTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"when your seller account is restricted. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" at the end of the message identifies the restriction for support; its value varies."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"404","description":"The offer does not exist or is not yours.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"409","description":"The offer cannot be activated in its current state.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock","paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock","paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers~1{offerId}~1activate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted"]}}},{"code":"404","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock","paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock","paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/offers/activateoffer"}],"panels":[]}]},"httpPath":"/offers/{offerId}/activate"}],"content":{"contentType":"group","meta":{"name":"Offers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Offers","showPageActions":true},{"nodeType":"markdoc","content":"List, read, pause and activate your Currency offers."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/offers","summary":"List your currency offers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/offers/listoffers","deprecated":false},{"title":"/offers/{offerId}","summary":"Get one of your offers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/offers/getoffer","deprecated":false},{"title":"/offers/{offerId}/pause","summary":"Pause (unlist) an offer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/offers/pauseoffer","deprecated":false},{"title":"/offers/{offerId}/activate","summary":"Activate (list) an offer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/offers/activateoffer","deprecated":false}]}]}]}]}},{"type":"group","label":"Pricing","link":"/openapi/pricing","routeSlug":"/openapi/pricing","items":[{"label":"Set an offer's price","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/pricing/setofferprice","routeSlug":"/openapi/pricing/setofferprice","metadata":{"seo":{"title":"Set an offer's price","description":"Sets the price of one offer, in USD per 1 unit (see Prices and units). The price must be between 0.00001 and 10000with at most 5 decimal places; more decimals are rejected, never rounded. Each offer's price can change at most once percooldown window (see Price update cooldown). Sending the price the offer already has succeeds with changed: falseand does not start a new window."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setOfferPrice","name":"Set an offer's price","isWebhook":false,"pointer":"/paths/~1offers~1{offerId}~1price/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set an offer's price","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sets the price of one offer, in USD per 1 "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Prices and units"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). The price must be between 0.00001 and 10000"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with at most 5 decimal places; more decimals are rejected, never rounded. Each offer's price can change at most once per"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cooldown window (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Price update cooldown"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Sending the price the offer already has succeeds with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changed: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and does not start a new window."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_6","description":"The offer id.","required":true,"example":55123}],"pointer":"/paths/~1offers~1{offerId}~1price/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SetPriceRequest","exampleIds":["paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/SetPriceRequest","exampleIds":["paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1offers~1{offerId}~1price/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/offers/{offerId}/price","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"example":55123,"schemaId":"schema_6"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SetPriceRequest","exampleIds":["paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","403","404","429","500","502"],"pointer":"/offers/{offerId}/price","href":"pricing/setofferprice","openApiOperationId":"setOfferPrice","summary":"Set an offer's price"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X PUT \"https://api.chicksgold.com/v1/offers/55123/price\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"price\": 0.0425}'\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers/55123/price\", {\n  method: \"PUT\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({\"price\": 0.0425}),\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"PUT\",\n    \"https://api.chicksgold.com/v1/offers/55123/price\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    json={\"price\": 0.0425},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"schemaId":"components/schemas/SetPriceRequest","exampleIds":["paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SetPriceRequest","exampleIds":["paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Price applied, or unchanged when the offer already had that price.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed","paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged"]}},"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed","paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is malformed, has unknown fields or has invalid values. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"details.errors"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" lists each problem."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"404","description":"The offer does not exist or is not yours.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Either this offer's price was changed too recently ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PRICE_UPDATE_COOLDOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", a business rule, with the cooldown headers),"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or a request limit was hit ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Read "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and retry after that many seconds."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown","paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown","paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"headerSchemaId":"schema_7"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers~1{offerId}~1price/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed","paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OfferChangeResult","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed","paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"404","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown","paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown","paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pricing/setofferprice"}],"panels":[]}]},"httpPath":"/offers/{offerId}/price"},{"label":"Set prices for up to 100 offers","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/pricing/setofferpricesbatch","routeSlug":"/openapi/pricing/setofferpricesbatch","metadata":{"seo":{"title":"Set prices for up to 100 offers","description":"Changes the price of up to 100 offers in one call. Each item is processed independently: the response is 200 with oneresult per item, in request order, even if some items fail. Offers that are not yours report not_found, and an offerthat is still in its cooldown window reports cooldown with retryAfterSeconds. An offer may appear only once per batch.More than 100 items returns 413 BATCH_TOO_LARGE."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setOfferPricesBatch","name":"Set prices for up to 100 offers","isWebhook":false,"pointer":"/paths/~1offers~1prices:batch/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set prices for up to 100 offers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Changes the price of up to 100 offers in one call. Each item is processed independently: the response is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"200"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with one"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"result per item, in request order, even if some items fail. Offers that are not yours report "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"not_found"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and an offer"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"that is still in its cooldown window reports "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cooldown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"retryAfterSeconds"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". An offer may appear only once per batch."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"More than 100 items returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"413 BATCH_TOO_LARGE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"x-api-key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchPriceRequest","exampleIds":["paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/BatchPriceRequest","exampleIds":["paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1offers~1prices:batch/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/offers/prices:batch","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"x-api-key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BatchPriceRequest","exampleIds":["paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","403","413","429","500","502"],"pointer":"/offers/prices:batch","href":"pricing/setofferpricesbatch","openApiOperationId":"setOfferPricesBatch","summary":"Set prices for up to 100 offers"},"definitionSamples":[{"lang":"Shell","label":"curl","source":"curl -X POST \"https://api.chicksgold.com/v1/offers/prices:batch\" \\\n  -H \"x-api-key: $CHICKSGOLD_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"items\": [{\"offerId\": 55123, \"price\": 0.0425}, {\"offerId\": 55124, \"price\": 0.0399}]}'\n"},{"lang":"JavaScript","label":"JavaScript (fetch)","source":"const response = await fetch(\"https://api.chicksgold.com/v1/offers/prices:batch\", {\n  method: \"POST\",\n  headers: {\n    \"x-api-key\": process.env.CHICKSGOLD_API_KEY,\n    \"Content-Type\": \"application/json\",\n  },\n  body: JSON.stringify({\"items\": [{\"offerId\": 55123, \"price\": 0.0425}, {\"offerId\": 55124, \"price\": 0.0399}]}),\n});\nconsole.log(response.status, await response.json());\n"},{"lang":"Python","label":"Python (requests)","source":"import os\nimport requests\n\nresponse = requests.request(\n    \"POST\",\n    \"https://api.chicksgold.com/v1/offers/prices:batch\",\n    headers={\"x-api-key\": os.environ[\"CHICKSGOLD_API_KEY\"]},\n    json={\"items\": [{\"offerId\": 55123, \"price\": 0.0425}, {\"offerId\": 55124, \"price\": 0.0399}]},\n    timeout=10,\n)\nprint(response.status_code, response.json())\n"}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"schemaId":"components/schemas/BatchPriceRequest","exampleIds":["paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchPriceRequest","exampleIds":["paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"One result per item, in request order.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BatchPriceResponse","exampleIds":["paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/BatchPriceResponse","exampleIds":["paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is malformed, has unknown fields or has invalid values. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"details.errors"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" lists each problem."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing or the key is invalid."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is understood but not allowed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tells you why: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API_KEY_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SELLER_API_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FORBIDDEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"413","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The batch has more than 100 items ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"BATCH_TOO_LARGE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), or the request body is larger than 1 MiB ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PAYLOAD_TOO_LARGE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge","paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge","paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"429","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Too many requests ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RATE_LIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or the daily quota is used ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUOTA_EXCEEDED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Wait for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retry-After"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" seconds and retry with backoff."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"headerSchemaId":"schema_1"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unexpected error. Contact support with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if it persists."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"},{"code":"502","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A temporary problem on our side. Retry with exponential backoff. Other "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"5xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" statuses use the same envelope."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example"],"headers":{"X-Request-Id":{"$ref":"#/components/headers/X-Request-Id"}},"headerSchemaId":"schema_0"}],"pointer":"/paths/~1offers~1prices:batch/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/BatchPriceResponse","exampleIds":["paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BatchPriceResponse","exampleIds":["paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled","paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled"]}}},{"code":"413","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge","paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge","paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited","paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example"]}}},{"code":"502","schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/pricing/setofferpricesbatch"}],"panels":[]}]},"httpPath":"/offers/prices:batch"}],"content":{"contentType":"group","meta":{"name":"Pricing"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Pricing","showPageActions":true},{"nodeType":"markdoc","content":"Update offer prices, one at a time or in batches. Subject to the per-offer price update cooldown."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/offers/{offerId}/price","summary":"Set an offer's price","prefix":{"name":"put","color":"put"},"badges":[],"link":"/pricing/setofferprice","deprecated":false},{"title":"/offers/prices:batch","summary":"Set prices for up to 100 offers","prefix":{"name":"post","color":"post"},"badges":[],"link":"/pricing/setofferpricesbatch","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/OfferStatus":{"id":"components/schemas/OfferStatus","kind":"json-schema","title":"OfferStatus","data":{"type":"string","enum":["active","paused","unavailable"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"active"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = visible to buyers; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paused"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = unlisted; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = in any other state. An "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unavailable"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" offer is read-only:"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"it cannot be activated or paused ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409 OFFER_NOT_ACTIVATABLE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]}},"components/schemas/Price":{"id":"components/schemas/Price","kind":"json-schema","title":"Price","data":{"type":"number","minimum":0.00001,"maximum":10000,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"USD per 1 "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the offer's game currency. A JSON number with at most 5 decimal places; more decimals are rejected, never rounded."},"children":[],"type":"text"}],"type":"paragraph"}]}},"components/schemas/Offer":{"id":"components/schemas/Offer","kind":"json-schema","title":"Offer","data":{"type":"object","required":["id","gameId","name","status","price","currency","unit","quantity","minimum","updatedAt"],"properties":{"id":{"type":"integer","format":"int64","description":"The offer id."},"gameId":{"type":"integer","format":"int64","description":"The game the offer belongs to."},"gameName":{"type":"string"},"name":{"type":"string","description":"Variant of the offer, for example server and faction."},"status":{"$ref":"#/components/schemas/OfferStatus"},"price":{"$ref":"#/components/schemas/Price"},"currency":{"type":"string","const":"USD"},"unit":{"type":["string","null"],"readOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unit symbol of the game currency, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"M"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"K"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"G"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"quantity":{"type":"number","minimum":0,"readOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Units available, in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Managed on the ChicksGold website."},"children":[],"type":"text"}],"type":"paragraph"}]},"minimum":{"type":"number","minimum":0,"readOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Minimum units per order, in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Managed on the ChicksGold website."},"children":[],"type":"text"}],"type":"paragraph"}]},"deliveryTime":{"type":"integer"},"deliveryPeriod":{"type":["string","null"],"enum":["Instant","Minutes","Hours","Days","Weeks","Months",null],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The period "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deliveryTime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is expressed in. Returned exactly as written here, with an initial capital letter (for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Minutes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), or null."},"children":[],"type":"text"}],"type":"paragraph"}]},"expiresAt":{"type":["string","null"],"format":"date-time"},"priceUpdatableAt":{"type":["string","null"],"format":"date-time","description":"Earliest instant the price can change again."},"updatedAt":{"type":"string","format":"date-time"}}}},"components/schemas/OfferPage":{"id":"components/schemas/OfferPage","kind":"json-schema","title":"OfferPage","data":{"type":"object","required":["data","hasMore","nextAfter"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Offer"}},"hasMore":{"type":"boolean","description":"True when more offers follow this page."},"nextAfter":{"type":["integer","null"],"format":"int64","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Id of the last offer on this page, to send as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"after"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Null on the last page."},"children":[],"type":"text"}],"type":"paragraph"}]}}}},"components/schemas/OfferChangeResult":{"id":"components/schemas/OfferChangeResult","kind":"json-schema","title":"OfferChangeResult","data":{"type":"object","required":["changed","offer"],"properties":{"changed":{"type":"boolean","description":"False when nothing needed changing (already paused, already active, or the price was already this value). No cooldown started in that case."},"offer":{"$ref":"#/components/schemas/Offer"}}}},"components/schemas/SetPriceRequest":{"id":"components/schemas/SetPriceRequest","kind":"json-schema","title":"SetPriceRequest","data":{"type":"object","additionalProperties":false,"required":["price"],"properties":{"price":{"$ref":"#/components/schemas/Price"}}}},"components/schemas/BatchPriceRequest":{"id":"components/schemas/BatchPriceRequest","kind":"json-schema","title":"BatchPriceRequest","data":{"type":"object","additionalProperties":false,"required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["offerId","price"],"properties":{"offerId":{"type":"integer","format":"int64","minimum":1},"price":{"$ref":"#/components/schemas/Price"}}}}}}},"components/schemas/BatchPriceResponse":{"id":"components/schemas/BatchPriceResponse","kind":"json-schema","title":"BatchPriceResponse","data":{"type":"object","required":["summary","results"],"properties":{"summary":{"type":"object","properties":{"updated":{"type":"integer"},"unchanged":{"type":"integer"},"cooldown":{"type":"integer"},"notFound":{"type":"integer"},"invalid":{"type":"integer"}}},"results":{"type":"array","description":"One result per request item, in request order.","items":{"type":"object","required":["offerId","status"],"properties":{"offerId":{"type":"integer","format":"int64"},"status":{"type":"string","enum":["updated","unchanged","cooldown","not_found","invalid"]},"price":{"type":["number","null"],"description":"The price sent for this item."},"retryAfterSeconds":{"type":["integer","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Seconds until the price can change again. Present when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"status"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cooldown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"priceUpdatableAt":{"type":["string","null"],"format":"date-time","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Present when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"status"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cooldown"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"error":{"type":["string","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Why the item is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}}}}}}},"components/schemas/Me":{"id":"components/schemas/Me","kind":"json-schema","title":"Me","data":{"type":"object","required":["sellerId","priceCooldownSeconds"],"properties":{"sellerId":{"type":"integer","format":"int64"},"username":{"type":["string","null"]},"priceCooldownSeconds":{"type":"integer","description":"Current per-offer price cooldown, in seconds."}}}},"components/schemas/ErrorBody":{"id":"components/schemas/ErrorBody","kind":"json-schema","title":"ErrorBody","data":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Stable machine-readable code. See the table in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Errors"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["VALIDATION_FAILED","BAD_REQUEST","INVALID_API_KEY","API_KEY_NOT_REGISTERED","API_KEY_DISABLED","SELLER_API_DISABLED","SELLER_RESTRICTED","FORBIDDEN","NOT_FOUND","OFFER_NOT_FOUND","OFFER_OUT_OF_STOCK","OFFER_NOT_ACTIVATABLE","BATCH_TOO_LARGE","PAYLOAD_TOO_LARGE","RATE_LIMITED","QUOTA_EXCEEDED","PRICE_UPDATE_COOLDOWN","INTERNAL_ERROR","UPSTREAM_ERROR"]},"message":{"type":"string","description":"A human-readable explanation. Do not parse it."},"requestId":{"type":"string","description":"Identifies the request. Include it when you contact support."},"details":{"type":"object","additionalProperties":true,"description":"Extra information that depends on the code."}}}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}}}},"schema_0":{"kind":"json-schema","data":{"type":"object","properties":{"X-Request-Id":{"type":"string","description":"Unique id of this request. Include it when you contact support."}}},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"object","properties":{"X-Request-Id":{"type":"string","description":"Unique id of this request. Include it when you contact support."},"Retry-After":{"type":"integer","minimum":0,"description":"Seconds to wait before retrying."}}},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"$ref":"#/components/schemas/OfferStatus"},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"string","format":"date-time"},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":100,"default":50},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":1},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"object","properties":{"X-Request-Id":{"type":"string","description":"Unique id of this request. Include it when you contact support."},"Retry-After":{"type":"integer","minimum":0,"description":"Seconds to wait before retrying."},"RateLimit-Limit":{"type":"integer","description":"Price updates allowed per offer per window (always 1)."},"RateLimit-Remaining":{"type":"integer","description":"Price updates left for this offer in the current window."},"RateLimit-Reset":{"type":"integer","description":"Seconds until this offer's price can change again."}}},"id":"schema_7"}},"exampleStore":{"components/examples/OfferActive":{"id":"components/examples/OfferActive","value":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"},"summary":"An active offer"},"components/examples/OfferFfxiv":{"id":"components/examples/OfferFfxiv","value":{"id":55201,"gameId":31,"gameName":"Final Fantasy XIV","name":"Gilgamesh","status":"active","price":0.2665,"currency":"USD","unit":"M","quantity":5000,"minimum":10,"deliveryTime":1,"deliveryPeriod":"Hours","expiresAt":null,"priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"},"summary":"An offer sold in millions"},"paths/~1me/get/responses/200/content/application~1json/example":{"value":{"sellerId":4821,"username":"GoldForge","priceCooldownSeconds":900},"id":"paths/~1me/get/responses/200/content/application~1json/example"},"paths/~1me/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1me/get/responses/401/content/application~1json/example"},"paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1me/get/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1me/get/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1me/get/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1me/get/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1me/get/responses/429/content/application~1json/examples/rateLimited"},"paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1me/get/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1me/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1me/get/responses/500/content/application~1json/example"},"paths/~1me/get/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1me/get/responses/502/content/application~1json/example"},"paths/~1offers/get/responses/200/content/application~1json/examples/firstPage":{"value":{"data":[{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"}],"hasMore":true,"nextAfter":55123},"key":"firstPage","summary":"First page, more offers follow","id":"paths/~1offers/get/responses/200/content/application~1json/examples/firstPage"},"paths/~1offers/get/responses/200/content/application~1json/examples/lastPage":{"value":{"data":[{"id":55090,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Alliance","status":"paused","price":0.0399,"currency":"USD","unit":"G","quantity":80000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":null,"priceUpdatableAt":"2026-11-06T13:40:10Z","updatedAt":"2026-11-06T13:25:10Z"}],"hasMore":false,"nextAfter":null},"key":"lastPage","summary":"Last page","id":"paths/~1offers/get/responses/200/content/application~1json/examples/lastPage"},"paths/~1offers/get/responses/200/content/application~1json/examples/empty":{"value":{"data":[],"hasMore":false,"nextAfter":null},"key":"empty","summary":"No offers match","id":"paths/~1offers/get/responses/200/content/application~1json/examples/empty"},"paths/~1offers/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_FAILED","message":"The request is not valid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b","details":{"errors":[{"field":"price","message":"price must be between 0.00001 and 10000."}]}}},"id":"paths/~1offers/get/responses/400/content/application~1json/example"},"paths/~1offers/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers/get/responses/401/content/application~1json/example"},"paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1offers/get/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1offers/get/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers/get/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1offers/get/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1offers/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers/get/responses/500/content/application~1json/example"},"paths/~1offers/get/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers/get/responses/502/content/application~1json/example"},"paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active":{"value":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"},"key":"active","summary":"An active offer","id":"paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/active"},"paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv":{"value":{"id":55201,"gameId":31,"gameName":"Final Fantasy XIV","name":"Gilgamesh","status":"active","price":0.2665,"currency":"USD","unit":"M","quantity":5000,"minimum":10,"deliveryTime":1,"deliveryPeriod":"Hours","expiresAt":null,"priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"},"key":"ffxiv","summary":"An offer sold in millions","id":"paths/~1offers~1{offerId}/get/responses/200/content/application~1json/examples/ffxiv"},"paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}/get/responses/401/content/application~1json/example"},"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1offers~1{offerId}/get/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"OFFER_NOT_FOUND","message":"Offer not found.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}/get/responses/404/content/application~1json/example"},"paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1offers~1{offerId}/get/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}/get/responses/500/content/application~1json/example"},"paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}/get/responses/502/content/application~1json/example"},"paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused":{"value":{"changed":true,"offer":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"paused","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:20:01Z"}},"key":"paused","summary":"The offer was paused","id":"paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/paused"},"paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused":{"value":{"changed":false,"offer":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"paused","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:20:01Z"}},"key":"alreadyPaused","summary":"The offer was already paused","id":"paths/~1offers~1{offerId}~1pause/post/responses/200/content/application~1json/examples/alreadyPaused"},"paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1pause/post/responses/401/content/application~1json/example"},"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1offers~1{offerId}~1pause/post/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example":{"value":{"error":{"code":"OFFER_NOT_FOUND","message":"Offer not found.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1pause/post/responses/404/content/application~1json/example"},"paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example":{"value":{"error":{"code":"OFFER_NOT_ACTIVATABLE","message":"This offer's status cannot be changed through the API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1pause/post/responses/409/content/application~1json/example"},"paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1offers~1{offerId}~1pause/post/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1pause/post/responses/500/content/application~1json/example"},"paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1pause/post/responses/502/content/application~1json/example"},"paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example":{"value":{"changed":true,"offer":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:25:40Z"}},"id":"paths/~1offers~1{offerId}~1activate/post/responses/200/content/application~1json/example"},"paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1activate/post/responses/401/content/application~1json/example"},"paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted":{"value":{"error":{"code":"SELLER_RESTRICTED","message":"We're unable to process this request. Contact support. Ref: IBLv1","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerRestricted","summary":"Account restricted","id":"paths/~1offers~1{offerId}~1activate/post/responses/403/content/application~1json/examples/sellerRestricted"},"paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example":{"value":{"error":{"code":"OFFER_NOT_FOUND","message":"Offer not found.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1activate/post/responses/404/content/application~1json/example"},"paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock":{"value":{"error":{"code":"OFFER_OUT_OF_STOCK","message":"This offer cannot be activated while it is out of stock.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"outOfStock","summary":"The offer has no stock","id":"paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/outOfStock"},"paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable":{"value":{"error":{"code":"OFFER_NOT_ACTIVATABLE","message":"This offer's status cannot be changed through the API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"notActivatable","summary":"The offer's status cannot be changed","id":"paths/~1offers~1{offerId}~1activate/post/responses/409/content/application~1json/examples/notActivatable"},"paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1offers~1{offerId}~1activate/post/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1activate/post/responses/500/content/application~1json/example"},"paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1activate/post/responses/502/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example":{"value":{"price":0.0425},"id":"paths/~1offers~1{offerId}~1price/put/requestBody/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed":{"value":{"changed":true,"offer":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"}},"key":"changed","summary":"Price changed","id":"paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/changed"},"paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged":{"value":{"changed":false,"offer":{"id":55123,"gameId":12,"gameName":"WoW Classic","name":"Firemaw - Horde","status":"active","price":0.0425,"currency":"USD","unit":"G","quantity":120000,"minimum":1000,"deliveryTime":30,"deliveryPeriod":"Minutes","expiresAt":"2026-12-01T10:00:00Z","priceUpdatableAt":"2026-11-06T14:18:22Z","updatedAt":"2026-11-06T14:03:22Z"}},"key":"unchanged","summary":"The offer already had this price","id":"paths/~1offers~1{offerId}~1price/put/responses/200/content/application~1json/examples/unchanged"},"paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_FAILED","message":"The request is not valid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b","details":{"errors":[{"field":"price","message":"price must be between 0.00001 and 10000."}]}}},"id":"paths/~1offers~1{offerId}~1price/put/responses/400/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1price/put/responses/401/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1offers~1{offerId}~1price/put/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example":{"value":{"error":{"code":"OFFER_NOT_FOUND","message":"Offer not found.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1price/put/responses/404/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown":{"value":{"error":{"code":"PRICE_UPDATE_COOLDOWN","message":"This offer's price was changed too recently.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b","details":{"priceUpdatableAt":"2026-11-06T14:08:34Z"}}},"key":"cooldown","summary":"Price changed too recently","id":"paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/cooldown"},"paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers~1{offerId}~1price/put/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1price/put/responses/500/content/application~1json/example"},"paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1{offerId}~1price/put/responses/502/content/application~1json/example"},"paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example":{"value":{"items":[{"offerId":55123,"price":0.0425},{"offerId":55124,"price":0.0399},{"offerId":99999,"price":0.05}]},"id":"paths/~1offers~1prices:batch/post/requestBody/content/application~1json/example"},"paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example":{"value":{"summary":{"updated":1,"unchanged":0,"cooldown":1,"notFound":1,"invalid":0},"results":[{"offerId":55123,"status":"updated","price":0.0425},{"offerId":55124,"status":"cooldown","price":0.0399,"retryAfterSeconds":312,"priceUpdatableAt":"2026-11-06T14:08:34Z"},{"offerId":99999,"status":"not_found","price":0.05}]},"id":"paths/~1offers~1prices:batch/post/responses/200/content/application~1json/example"},"paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_FAILED","message":"The request is not valid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b","details":{"errors":[{"field":"price","message":"price must be between 0.00001 and 10000."}]}}},"id":"paths/~1offers~1prices:batch/post/responses/400/content/application~1json/example"},"paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example":{"value":{"error":{"code":"INVALID_API_KEY","message":"The API key is missing or invalid.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1prices:batch/post/responses/401/content/application~1json/example"},"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered":{"value":{"error":{"code":"API_KEY_NOT_REGISTERED","message":"The API key is not registered for the Seller API.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyNotRegistered","summary":"Key not registered","id":"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyNotRegistered"},"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled":{"value":{"error":{"code":"API_KEY_DISABLED","message":"Seller API access is disabled for this API key.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"apiKeyDisabled","summary":"Key disabled","id":"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/apiKeyDisabled"},"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled":{"value":{"error":{"code":"SELLER_API_DISABLED","message":"Seller API access is not enabled for this account.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"sellerApiDisabled","summary":"Access not enabled for the account","id":"paths/~1offers~1prices:batch/post/responses/403/content/application~1json/examples/sellerApiDisabled"},"paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge":{"value":{"error":{"code":"BATCH_TOO_LARGE","message":"A batch holds at most 100 items.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"batchTooLarge","summary":"More than 100 items","id":"paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/batchTooLarge"},"paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge":{"value":{"error":{"code":"PAYLOAD_TOO_LARGE","message":"The request body is too large. The maximum is 1 MiB.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"payloadTooLarge","summary":"Request body too large","id":"paths/~1offers~1prices:batch/post/responses/413/content/application~1json/examples/payloadTooLarge"},"paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited":{"value":{"error":{"code":"RATE_LIMITED","message":"Too many requests. Slow down.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"rateLimited","summary":"Too many requests per second","id":"paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/rateLimited"},"paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded":{"value":{"error":{"code":"QUOTA_EXCEEDED","message":"The daily request quota for this API key was exceeded.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"key":"quotaExceeded","summary":"Daily quota used","id":"paths/~1offers~1prices:batch/post/responses/429/content/application~1json/examples/quotaExceeded"},"paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"Internal error.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1prices:batch/post/responses/500/content/application~1json/example"},"paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example":{"value":{"error":{"code":"UPSTREAM_ERROR","message":"The service is temporarily unavailable. Try again later.","requestId":"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b"}},"id":"paths/~1offers~1prices:batch/post/responses/502/content/application~1json/example"}},"securitySchemeStore":{"ApiKeyAuth":{"id":"ApiKeyAuth","type":"apiKey","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your API key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-api-key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Your API key is provided to you by ChicksGold when your access is enabled."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Production and staging keys are different and not interchangeable. A missing or invalid key returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401 INVALID_API_KEY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"in":"header","paramName":"x-api-key"}},"specVersion":"3.1.0","servers":[{"url":"https://api.chicksgold.com/v1","description":"Production"},{"url":"https://staging-api.chicksgold.com/v1","description":"Staging"}],"specType":"openapi"},"options":{"hideReplay":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi.json?download"},{"url":"/_bundle/openapi.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"ChicksGold Seller API","description":"# Overview\n\nThe ChicksGold API lets you manage your **Currency** offers from your own systems. With it you can:\n\n- read your seller account and the current price update cooldown;\n- list your offers and read one offer;\n- pause and activate offers;\n- update prices, one offer at a time or in batches of up to 100.\n\nAccess is granted by ChicksGold to approved sellers only.\nRequests without a valid key are rejected.\n\n# Authentication\n\nSend your API key in the `x-api-key` header on every request. Your API key is provided to you by ChicksGold when your access is enabled.\n\n```\nx-api-key: <your API key>\n```\n\n- Keep your key secret. Never put it in a browser, a mobile app or public code. If it is exposed, contact ChicksGold Support so it can be replaced.\n- **Production and staging keys are different and not interchangeable.** A key only works on the environment it was issued for.\n- A missing or invalid key returns `401 INVALID_API_KEY`. A key that is valid but not registered for your account, or that has been disabled, returns `403 API_KEY_NOT_REGISTERED` or `403 API_KEY_DISABLED`.\n\n# Environments\n\n| Environment | Base URL |\n|---|---|\n| Production | `https://api.chicksgold.com/v1` |\n| Staging | `https://staging-api.chicksgold.com/v1` |\n\nBoth environments require an API key issued by ChicksGold, and the keys are different. Staging is for testing your integration\nbefore you go live. It is **not** open access and not a public sandbox: it is available only to approved sellers. Staging is\nseparate from production.\n\n# Prices and units\n\nEach offer is sold per **unit** of the game currency (`unit`, for example `M` for millions). `price` is in USD per 1 `unit`, a\nJSON number with at most 5 decimal places. `quantity` and `minimum` are expressed in `unit`. For example, 376 `M` at a price of\n0.26650 is 376 × 0.26650 = 100.20 USD. Stock and minimum order are managed on the ChicksGold website; the API does not change them.\n\n# Rate limits\n\nWhen you exceed a limit you get `429`. Read the `Retry-After` header (seconds), wait that long and retry with backoff. Do not retry in a tight loop.\n\n| Code | Status | Meaning |\n|---|---|---|\n| `RATE_LIMITED` | 429 | You are sending requests too fast. Slow down and retry after `Retry-After`. |\n| `QUOTA_EXCEEDED` | 429 | You used the daily request quota for your key. |\n| `PRICE_UPDATE_COOLDOWN` | 429 | A business rule, not a rate limit: this offer's price was changed too recently. See **Price update cooldown**. |\n\n# Price update cooldown\n\nThe price of each offer can be changed at most once per cooldown window. The window is **15 minutes** for now and might\nbe shorten in the future. Do not hard-code it: read `priceCooldownSeconds` from `GET /me` and `priceUpdatableAt` from each offer.\n\n- A price change inside the window is rejected with `429 PRICE_UPDATE_COOLDOWN`. The response carries `Retry-After` (seconds until the price can change again) and `details.priceUpdatableAt`.\n- In a batch, an offer inside its window is reported as `cooldown` for that item and the rest of the batch still succeeds.\n- Sending the price the offer already has succeeds with `changed: false` and does **not** start a new window.\n- The cooldown is per offer: changing one offer's price does not delay another offer.\n\n# Pagination\n\n`GET /offers` returns offers newest first, in pages. Use `limit` (1 to 100, default 50) to set the page size.\nA page has `data`, `hasMore` and `nextAfter`. While `hasMore` is `true`, call the endpoint again with `after` set to the previous\npage's `nextAfter`, keeping the same filters. On the last page `hasMore` is `false` and `nextAfter` is `null`.\n\n# Errors\n\nEvery error uses the same envelope:\n\n```json\n{\n  \"error\": {\n    \"code\": \"OFFER_NOT_FOUND\",\n    \"message\": \"Offer not found.\",\n    \"requestId\": \"3f0c2a8e-6d7b-4b1e-9b0a-2e1f4c5d6a7b\",\n    \"details\": {}\n  }\n}\n```\n\n- `code` is stable and machine-readable: branch on it, not on `message`, which may change.\n- `message` is a human-readable explanation.\n- `requestId` identifies the request and is also returned in the `x-request-id` header. **Include it when you contact ChicksGold Support.**\n- `details` is optional and depends on the code.\n\n| Status | Code | When |\n|---|---|---|\n| 400 | `VALIDATION_FAILED` | The request is malformed, has unknown fields or invalid values. `details.errors` lists each problem. |\n| 400, 413, 415 | `BAD_REQUEST` | The request was rejected before it was processed. |\n| 401 | `INVALID_API_KEY` | The `x-api-key` header is missing or the key is invalid. |\n| 403 | `API_KEY_NOT_REGISTERED` | The key is valid but is not registered for a seller account. |\n| 403 | `API_KEY_DISABLED` | The key has been disabled. |\n| 403 | `SELLER_API_DISABLED` | API access is not enabled for your account. |\n| 403 | `SELLER_RESTRICTED` | Activating a paused offer while your seller account is restricted. Contact support and quote the `Ref` in the message. |\n| 403 | `FORBIDDEN` | The request could not be authorized. Contact support with the `requestId`. |\n| 404 | `NOT_FOUND` | The path or method does not exist. |\n| 404 | `OFFER_NOT_FOUND` | The offer does not exist or is not yours. |\n| 409 | `OFFER_OUT_OF_STOCK` | The offer cannot be activated because it has no stock. |\n| 409 | `OFFER_NOT_ACTIVATABLE` | The offer's status (`unavailable`) cannot be changed through the API. |\n| 413 | `BATCH_TOO_LARGE` | A batch has more than 100 items. |\n| 413 | `PAYLOAD_TOO_LARGE` | The request body is larger than 1 MiB. |\n| 429 | `RATE_LIMITED` | Too many requests per second. |\n| 429 | `QUOTA_EXCEEDED` | The daily quota was used. |\n| 429 | `PRICE_UPDATE_COOLDOWN` | The offer's price was changed too recently. |\n| 500 | `INTERNAL_ERROR` | Unexpected error. |\n| 502 and other 5xx | `UPSTREAM_ERROR` | A temporary problem on our side. **Retry with exponential backoff.** |\n\nA `5xx` response is temporary: wait, then retry with backoff (for example 1 s, 2 s, 4 s, up to a few attempts). Retries are safe by design:\nsending the price an offer already has returns `changed: false`, and pause and activate can be repeated safely. If the problem\ncontinues, contact support with the `requestId`.\n","summary":"Manage your currency offers and prices from your own systems."}},"baseSlug":"/openapi","routesMapping":{}}