🖼️ QUICK START - CONTRACT SALES PHASE

The contract sales phase references to the group of endpoints that modifies the sales phase after the deploy process.

INTRODUCTION

After the deploy, all information about the collection, sales phase, coupon and others are agrouped and stored in the Contract entity. With that, all changes made after the deploy process affect only the Contract itself, it includes the sales phase.

GETTING STARTED

These group of endpoints are simple CRUD operations in a contract sales phase without the GET endpoint, because it will be obtained via Contract GET operation, since this sales phase is a property of a Contract.

🚧

Requirement

First of all, you will need a Contract deployed in our system to use these enpoints.

All the endpoints of this group needs at least the UID of the Contract and the ContractAddress.

  • UID: It's the UID of the user who deployed the Contract.
  • ContractAddress: It's the Contract address which is obtained after the deploy of the Contract.

Besides these two properties, there is a third one which is required in two endpoints, which is the indexSalesPhase. This property indicates the position (in the array) of the sales phase which will be modified, i.e., the specific position of the desired sales phase in the Contract entity.