Skip to navigation

Get a deal

Returns one deal in which the creator is the seller.

Identifiers

The answer contains no platform account id. A buyer appears as your application’s own pairwise buyer pseudonym in buyerRef, and the creator’s account as creatorId.

Required scopes: read:marketplace.

Authentication

AuthorizationBearer

OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.

Required scopes:read:marketplace

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

dealRefstringRequired1-64 characters

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Response

OK.
dealRefstring
The deal's reference.
proposalRefstring
The negotiation the deal came from.
offerRefstring
The offer that was accepted.
agreementVersionstring

The negotiation’s version the deal was recorded from. A record only, never sent back as expectedVersion.

subjectobject
What a negotiation, and the deal it became, is about, as it stood when the negotiation opened. It never changes.
buyerRefstring

The buyer, as your application’s own pairwise buyer pseudonym.

creatorRefstring

The creator, as the creatorId.

stateenum

Always AGREED.

Allowed values:
termsobject
agreedByenum
Which party accepted the offer.
Allowed values:
agreedAtdatetime

When the parties agreed: the moment the offer was accepted.

createdAtdatetime
When EVVA recorded the deal.
updatedAtdatetime
When the deal was last updated.
perspectiveenum

The creator’s side of the deal. Always CREATOR: only deals in which the creator sells are listed.

Allowed values:

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error