> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/commerce-openapis/dynamic-bin-scheduler/pre-order/assign-raw-card-to-basket-explicit-path.md).

# Assign raw card to basket (explicit path)

Identical to `POST /preorder/`. See that endpoint for full documentation.

```json
{"openapi":"3.0.3","info":{"title":"Bankaci API","version":"1.0.0"},"tags":[{"name":"PreOrder","description":"Assign a card to a basket and retrieve eligible promotion activations"}],"servers":[{"url":"{BASE_URL}/api/v1","description":"Bankaci API","variables":{"BASE_URL":{"default":"https://your-bankaci-instance.example.com","description":"Base URL of the Bankaci service"}}}],"paths":{"/preorder/card/":{"post":{"tags":["PreOrder"],"summary":"Assign raw card to basket (explicit path)","description":"Identical to `POST /preorder/`. See that endpoint for full documentation.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreorderCardRequest"}}}},"responses":{"200":{"description":"Eligible promotion activations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasketOfferResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}}}}},"components":{"schemas":{"PreorderCardRequest":{"type":"object","required":["card_number","basket_id","basket_modified_date"],"properties":{"card_number":{"type":"string","description":"Raw card number. Must be exactly 15 or 16 digits."},"basket_id":{"type":"integer","description":"Omnitron basket ID"},"basket_modified_date":{"type":"string","format":"date-time","description":"Last modification timestamp of the basket (ISO 8601)"},"currency":{"$ref":"#/components/schemas/CurrencyType"}}},"CurrencyType":{"type":"string","enum":["try","eur","usd","egp","gbp","mad","pln","sar","ron","uah","czk","huf","rub","bgn","iqd","kwd","bhd","omr","qar","aed","ngn","inr","lei","kzt","jod","rsd"],"description":"ISO 4217 currency codes supported by Bankaci"},"BasketOfferResponse":{"type":"object","properties":{"basket_offers":{"type":"array","items":{"$ref":"#/components/schemas/BasketOfferItem"},"description":"Basket offer activations eligible for this card/basket combination.\nEmpty array when no promotions match the card BIN.\n"}}},"BasketOfferItem":{"type":"object","properties":{"basket_offer_id":{"type":"integer","description":"Omnitron BasketOffer ID to activate for this basket"},"session_code":{"type":"string","format":"uuid","description":"Unique session UUID linking this activation to its `PreOrderCall` record.\nUsed internally for usage verification.\n"}}},"ValidationError":{"type":"object","properties":{"detail":{"type":"array","items":{"type":"object","properties":{"loc":{"type":"array","items":{"type":"string"}},"msg":{"type":"string"},"type":{"type":"string"}}}}}}}}}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apidocs.akinon.com/commerce-openapis/dynamic-bin-scheduler/pre-order/assign-raw-card-to-basket-explicit-path.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
