AnsweredAssumed Answered

What is the post body to create a custom object via the API?

Question asked by Danielle LaForte on Dec 4, 2017
Latest reply on Dec 5, 2017 by Mark Price

the docs give this but this seems to only be for updating a custom object.  Does anyone know how to create a custom object (that did not exist before) via the API?

 

http://developers.marketo.com/rest-api/lead-database/custom-objects/#create_and_update

 

4

 

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

 

{

 

   "action":"updateOnly",

   "dedupeBy":"dedupeFields",

   "input":[

      {

         "vin":"19UYA31581L000000",

         "siebelId":"f2676861b5fb",

         "make":"BMW",

         "model":"3-Series 330i",

         "year":2003

      },

      {

         "vin":"29UYA31581L000000",

         "siebelId":"f2676861b5fc",

         "make":"BMW",

         "model":"3-Series 330i",

         "year":2003

      },

      {

         "vin":"39UYA31581L000000",

         "siebelId":"f2676861b5fd",

         "make":"BMW",

         "model":"3-Series 330i",

         "year":2003

      }

   ]

}

Outcomes