Skip to content

Numbers in body get picked up as args #29

@lowe0292

Description

@lowe0292
slowe@mbp ~/code/taxapp scott/sph-2116-taxes-not-automatically-recalculated-after-bulk-updating
 [02:48:18 PM] → hit run demo generate-data
Usage: hit run demo generate-data [OPTIONS]

Options:
      --100 <100>    Provide value for the param :100
      --10 <10>      Provide value for the param :10
      --63 <63>      Provide value for the param :63
      --1000 <1000>  Provide value for the param :1000
  -h, --help         Print help

For this config:

    "demo": {
      "generate-data": {
        "method": "POST",
        "url": "{{API}}/admin_api/generate_data_for_demo_account",
        "body": {
          "total_transactions": 1000,
          "external_source": "stripe",
          "tax_authorities": [
            {
              "key": "bc_ca",
              "weight": 10
            },
            {
              "key": "ny_us",
              "weight": 10
            }
          ],
          "mark_filings_as_submitted": [],
          "start_date": "2023-10-01",
          "end_date": "2023-12-31",
          "product_categories": [
            {
              "id": 63,
              "weight": 100
            }
          ]
        },
        "headers": {
          "Authorization": "Bearer {{API_TOKEN}}"
        }
      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions