print-trail/api-spec

Return fulfilment shipping methods as objects

judgej opened this issue · 1 comments

The API delivers order fulfilments with a list of available shipping methods as an array of strings. The strings are to be changed to objects for two reasons:

  • It makes the shipping method label available for display to the user.
  • It provides a placeholder to put cost details of the varying shipping methods for each fulfilment. Costs will be added at a later time.

The object will contain properties:

  • code example express
  • name eample Express

Release 1.1.0 implements this issue.