Price Compare

Admin Copy Set

Seed one account's benchmark into another account.

Two calls by design. The first (mode="ask", the default) writes nothing and answers the two questions worth asking before a write: does the target already hold a copy of this benchmark, and will it show any data once it lands. The second names what to do about it.

The copy always gets a fresh server-generated id — price_compare_sets.id is a global primary key, so reusing the source's would collide with it.

post/api/price-compare/admin/sets/{set_id}/copy

Request

  • Base URL
    https://data.getplace.io (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /api/auth/login

Path parameters

set_idstring required

Request body

target_user_idstring required
new_namestring nullable
mode'ask' | 'overwrite' | 'duplicate'

Response

Successful Response

outcome'ask' | 'created' | 'overwritten' required
source_idstring required
set_idstring nullable
namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.