Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Offer list API endpoint only includes Default Workspace offers

Avatar

Avatar
Boost 1
Level 1
mikesimon
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
mikesimon
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
mikesimon
Level 1

01-01-2020

I'm trying to pull my list of offers via the API. I am only seeing the offers in my Default Workspace, and the JSON output for each other does not have the "workspace" property. Is this feature of the API only available in Target Premium?

 

Expected output:

{
  "total": 2,
  "offset": 0,
  "limit": 2147483647,
  "offers": [
    {
      "id": 123456,
      "name": "My Default Workspace Offer",
      "type": "content",
      "modifiedAt": "2019-12-25T05:30:00Z",
      "workspace": 1234567
    },
    {
      "id": 123457,
      "name": "My Other Offer",
      "type": "content",
      "modifiedAt": "2020-01-01T05:30:00Z",
      "workspace": 1234568
    }
  ]
}

 

Actual output:

{
  "total": 1,
  "offset": 0,
  "limit": 2147483647,
  "offers": [
    {
      "id": 123456,
      "name": "My Default Workspace Offer",
      "type": "content",
      "modifiedAt": "2019-12-25T05:30:00Z"
    }
  ]
}

 

 

Accepted Solutions (0)

Answers (0)