v1

latestOpenAPI 3.0.32026-07-26120117318.1 KB
Remote Configurations

Set the payload mapping

Replaces the payload mapping (key → type schema). Full replace: the supplied data object becomes the complete mapping. Allowed types: String, Number, Bool, Json, Color, Products, Screens.

post/remote-configurations/{config_id}/payload-mapping

Path parameters

config_idstring required

Remote configuration identifier.

Request body

dataobject required

Full replacement mapping of payload key to SDK-side type. Allowed types: String, Number, Bool, Json, Color, Products, Screens.

Example request

{
  "data": {
    "button_color": "Color",
    "max_items": "Number"
  }
}

Response

Updated payload mapping

objectstring required
urlstring required
config_idstring required
dataobject required

Flat map of payload key to its SDK-side type.

Example response

{
  "object": "payload_mapping",
  "url": "/v4/remote-configurations/82a42dc2-76f6-46c2-b883-846acaf2070a/payload-mapping",
  "config_id": "82a42dc2-76f6-46c2-b883-846acaf2070a",
  "data": {
    "button_color": "Color",
    "max_items": "Number"
  }
}