Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEWS] GET /sale/offer-events - nowe pole external.id / GET /sale/offer-events - new external.id field #4684

Open
AureliuszBrussy opened this issue Jul 7, 2021 · 0 comments
Assignees
Labels

Comments

@AureliuszBrussy
Copy link
Collaborator

Zgodnie z Waszymi sugestiami, wdrożyliśmy dzisiaj zmianę w dzienniku zdarzeń w ofertach (GET /sale/offer-events). W odpowiedzi zwracamy nowe pole external.id. Dowiesz się dzięki niemu, jaka wartość jest wprowadzona w polu external.id oferty, z którą powiązane jest dane zdarzenie.

Przykładowy response:

{
  "id": "MTEzMjQzODU3NA",
  "occurredAt": "2021-07-07T15:00:43.891Z",
  "type": "OFFER_ACTIVATED",
  "offer": {
    "id": "2865624934",
    "external": {
      "id": "externalId"
    }
  }
}

Following your suggestions, today we implemented a change to the event log in offers (GET /sale/offer-events). In response, we return a new external.id field. It will indicate what value is set in the external.id field of the offer that the event is related with.

Sample response:

{
  "id": "MTEzMjQzODU3NA",
  "occurredAt": "2021-07-07T15:00:43.891Z",
  "type": "OFFER_ACTIVATED",
  "offer": {
    "id": "2865624934",
    "external": {
      "id": "externalId"
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant