---
# System prepended metadata

title: 'SCM-496 - [Backend] Export Catalogue'
tags: [SSC, Ecommerce 1, Sprint 25]

---

# SCM-496 - [Backend] Export Catalogue

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As a User, I shouldn't be able to export with wrong supplier params
    Given the user has logged in to SSC
    When the user inputs supplier param with <wrongType>
        And the user hit export catalogue endpoint
    Then show error message
    Examples:
    | wrongType       |
    | --------------- |
    | blank           |
    | incorrectFormat |
    | non-existent    |
```

#### Test Scenario 2
```gherkin
Scenario Outline: As a User, I shouldn't be able to export with wrong warehouseId params
    Given the user has logged in to SSC
    When the user inputs warehouseId param with <wrongType>
        And the user hit export catalogue endpoint
    Then show error message
    Examples:
    | wrongType       |
    | --------------- |
    | blank           |
    | incorrectFormat |
    | non-existent    |
```

#### Test Scenario 3
```gherkin
Scenario: As a User, I want to export from one warehouse
    Given the user has logged in to SSC
    When the user inputs warehouseId param with warehouse <A>
        And the user hit export catalogue endpoint
    Then successfully export from warehouse <A>
        And show RC 200 with success response message
```

#### Test Scenario 4
```gherkin
Scenario: As a User, I want to export from multiple warehouses
    Given the user has logged in to SSC
    When the user inputs warehouseId param with warehouse <A> and <B>
        And the user hit export catalogue endpoint
    Then successfully export from warehouse <A> and <B>
        And show RC 200 with success response message
```

#### Test Scenario 5
```gherkin
Scenario Outline: As a User, I shouldn't be able to export with wrong status params
    Given the user has logged in to SSC
    When the user inputs status param with <wrongType>
        And the user hit export catalogue endpoint
    Then show error message
    Examples:
    | wrongType       |
    | --------------- |
    | blank           |
    | incorrectFormat |
    | non-existent    |
```

#### Test Scenario 6
```gherkin
Scenario Outline: As a User, I want to export based on status type params
    Given the user has logged in to SSC
    When the user inputs status type param with <statusType>
        And the user hit export catalogue endpoint
    Then successfully export based on <statusType>
        And show RC 200 with success response message
    Examples:
    | statusType |
    | ---------- |
    | active     |
    | inactive   |
    | all        |
```

#### Test Scenario 7
```gherkin
Scenario Outline: As a User, I shouldn't be able to export with wrong catalogue type params
    Given the user has logged in to SSC
    When the user inputs catalogue type param with <wrongType>
        And the user hit export catalogue endpoint
    Then show error message
    Examples:
    | wrongType       |
    | --------------- |
    | blank           |
    | incorrectFormat |
    | non-existent    |
```

#### Test Scenario 8
```gherkin
Scenario Outline: As a User, I want to export based on catalogue type params
    Given the user has logged in to SSC
    When the user inputs catalogue type param with <catalogueType>
        And the user hit export catalogue endpoint
    Then successfully export based on <catalogueType>
        And show RC 200 with success response message
    Examples:
    | catalogueType |
    | ------------- |
    | reguler       |
    | bonus         |
    | all           |
```

###### tags: `Sprint 25` `Ecommerce 1` `SSC`