.. index:: Advertisement, AdvertisementTransactions .. _advertisement_transactions: Advertisement transactions ========================== Collection of embedded :ref:`transaction ` representations. Reference --------- .. endpoint:: POST /v2/advertisements/{itemId}/transactions Create a new transaction .. endpoint:: GET /v2/advertisements/{itemId}/transactions Returns all transactions on the advertisement ordered by transactionId. Errors ------ .. errors:: .. error:: :http: 400 :code: validation-failure :description: Validation of the advertisement failed. There should be more information in the field errors .. error:: :http: 404 :code: advertisement-not-found :description: The advertisement with the provided itemId does not exist. Examples -------- .. include:: examples/create-transaction-example.rst .. include:: examples/get-transactions-example.rst