> For the complete documentation index, see [llms.txt](https://bleach-1.gitbook.io/aportalsmp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bleach-1.gitbook.io/aportalsmp/documentation/aportalsmp.offers.md).

# aportalsmp.offers

Working with offers on Portals Gift Marketplace

## Functions list

### Gifts offers:

1. [makeOffer](/aportalsmp/documentation/aportalsmp.offers/makeoffer.md)
2. [editOffer](/aportalsmp/documentation/aportalsmp.offers/editoffer.md)
3. [cancelOffer](/aportalsmp/documentation/aportalsmp.offers/canceloffer.md)

### Collection offers:

1. [collectionOffer](/aportalsmp/documentation/aportalsmp.offers/collectionoffer.md)
2. [editCollectionOffer](/aportalsmp/documentation/aportalsmp.offers/editcollectionoffer.md)
3. [cancelCollectionOffer](/aportalsmp/documentation/aportalsmp.offers/cancelcollectionoffer.md)
4. [allCollectionOffers](/aportalsmp/documentation/aportalsmp.offers/allcollectionoffers.md)
5. [topOffer](/aportalsmp/documentation/aportalsmp.offers/topoffer.md)

### Your offers:

1. [myReceivedOffers](/aportalsmp/documentation/aportalsmp.offers/myreceivedoffers.md)
2. [myPlacedOffers](/aportalsmp/documentation/aportalsmp.offers/myplacedoffers.md)
3. [myCollectionOffers](/aportalsmp/documentation/aportalsmp.offers/mycollectionoffers.md)

## Offers FAQ

**Q: Is there a way to retrieve offer\_id right after creating the offer?**\
A: No. You can retrieve `offer_id`'s only from `myPlacedOffers`, `myCollectionOffers` to modify them *(edit price, cancel etc.)*

**Q: What's the difference between makeOffer and collectionOffer?**\
A: `makeOffer` is made for certain gifts. It's like when you click on some gift and you see "Make offer" there. `collectionOffer` is for gift collections. Like an order on Tonnel.

**Q: I get 429 error saying too many operations with offers. What do I do?**\
A: Firstly, see [Limits](/aportalsmp/getting-started/limits.md). Secondly, add some 1-2 seconds sleeps to your cycles.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://bleach-1.gitbook.io/aportalsmp/documentation/aportalsmp.offers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
