publ betaReference (MCP guide)
Open publ console

messenger_gift_products_get

# messenger_gift_products_get

Read the gift catalog in the Messenger app (pApp D00003). Gifts need the Z00008 extension. Optional view {kind:"creation", imageUploadTaskId} or {kind:"edit", productId, imageUploadTaskId}. Returns the currency, a revision and the console link. Changes nothing.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `view` | No | one of: `creation`, `edit` (by `kind`) |
| `view.imageUploadTaskId` | Yes | When `view.kind` is `creation`: string; pattern `^[A-Za-z0-9_-]{8,80}$` |
| `view.productId` | Yes | When `view.kind` is `edit`: integer; greater than 0 |
| `view.imageUploadTaskId` | Yes | When `view.kind` is `edit`: string; pattern `^[A-Za-z0-9_-]{8,80}$` |