Place an order
growwer_create_orderPlaces a purchase order for an article or link addition on a catalogue media for a project, charging your wallet only after you confirm the stated expected price.
Instructions
Use this when the user has decided to buy an article or a link addition on a catalogue media for one of their projects: places the order, and its price leaves their wallet. Send the price growwer_estimate_order answered as expectedPrice. The user is asked to confirm the purchase first, and nothing is charged unless they accept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| mediaId | Yes | A media you can order for the project (GET /projects/{id}/medias). | |
| briefing | Yes | ||
| projectId | Yes | One of your projects. | |
| requestId | Yes | Required. A new UUID for each distinct write (8 to 128 letters, digits, ".", "_", ":" or "-"). Calling the tool again with the same requestId and arguments returns the first result without writing twice; send a new one for a new write. | |
| expectedPrice | Yes | The `price` POST /orders/estimate answered. Only EUR is accepted. | |
| draftReviewable | No | Whether you review the draft before it is published. Defaults to false. | |
| proposedDraftFileId | No | A file uploaded with POST /files to propose your own draft. The estimate checks it without using it up. | |
| scheduledPublicationDate | No | The day to publish on, at least a few days ahead as the web requires. |