# Use Issuance details filter

Use the POST method to filter the issuance details.

Endpoint: POST /issuancedetails/{{memberId}}
Version: 3.0.0
Security: 

## Request fields (application/json):

  - `orderId` (string, required)
    Enter the order ID for the order.
    Example: "12345"

  - `userId` (string, required)
    Enter the unique user ID of the loyalty member.
    Example: "user@domain.com"

## Response 200 fields (application/json):

  - `pages` (integer)
    Displays the total number of pages associated with the activities.
    Example: 40

  - `currentPage` (integer)
    Displays the current page number.
    Example: 11

  - `siteId` (string)
    Displays Annex Cloud’s site ID for the loyalty program.
    Example: "29235480"

  - `userId` (string)
    Displays the unique internal Site ID.
    Example: "user@domain.com"

  - `orderId` (string)
    Displays the unique ID of the order.
    Example: 12345

  - `actionId` (integer)
    Displays the unique action ID for the action established in the loyalty program.
    Example: 174

  - `source` (string)
    Displays the source, meaning where the order was placed by the loyalty member, such as web or store.
    Example: "Web"

  - `coupon` (string)
    Displays the name of a coupon, if a coupon was applied on the order.
    Example: "acdb2344"

  - `orderTotalSpend` (integer)
    Displays the total amount spent on the order.
    Example: 100

  - `orderTotalPoints` (integer)
    Displays the total number of points awarded to the member for a specific order.
    Example: 500

  - `pointsAwarded` (integer)
    Displays the total points awarded for the order.
    Example: 500

  - `pointsExpirationDate` (string)
    Displays the date on which the points are set to expire in yyyy-MM-dd'T'HH:mm:ssZ format.
    Example: "2025-11-15T02:06:35+0000"

  - `orderDiscountAmount` (integer)
    Displays the total discount amount applied to the order.
    Example: 50

  - `orderStatus` (string)
    Displays order status as ship.
    Example: "ship"

  - `pointType` (string)
    Displays the Point Type.
    Example: "Regular"

  - `orderDate` (string)
    Displays the order date in yyyy-MM-dd format.
    Example: "2024-06-19"

  - `orderShipDate` (string)
    Displays the date the product will be shipped in yyyy-MM-dd format.
    Example: "2024-06-19"

  - `storeDetails` (object)
    Store details will return the store name, and store attributes as well. The store attributes may vary store by store based on the attributes defined.

  - `storeDetails.storeId` (string)
    Displays the unique ID of the store.
    Example: "IN12369"

  - `storeDetails.reason` (string)
    Displays the reason for the activity. This may be a standardized selection from common reasons or a free-text explanation for the activity.
    Example: "NA"

  - `storeDetails.createDate` (string)
    Displays the date when the transaction occurred in yyyy-MM-dd'T'HH:mm:ssZ format.
    Example: "2024-05-19T00:00:00+0000"

  - `storeDetails.productDetail` (object)
    Displays the following parameters.

  - `storeDetails.productDetail.productId` (string)
    Displays the Product ID.
    Example: "P1"

  - `storeDetails.productDetail.productName` (string)
    Displays the Product Name.
    Example: "iPad"

  - `storeDetails.productDetail.productQuantity` (integer)
    Displays the quantity of the product purchased in the order.
    Example: 2

  - `storeDetails.productDetail.productPrice` (integer)
    Displays the unit price for the product.
    Example: 100

  - `storeDetails.productDetail.productDiscountAmount` (integer)
    Displays the total discount amount applied to the order.
    Example: 100

  - `storeDetails.productDetail.productCouponCode` (string)
    Displays the name of a product coupon code, if a code was applied on the order.
    Example: "abcd2344"

  - `storeDetails.productDetail.productTotalAmount` (integer)
    Displays the total amount spent on the order.
    Example: 500

  - `storeDetails.productDetail.productTotalPoints` (integer)
    Displays the number of points the member earns.
    Example: 200

  - `storeDetails.productDetail.productDescription` (string)
    Displays the product information.
    Example: "iPad came with p10 chip and one week battery support."

  - `storeDetails.productDetail.productShipDate` (string)
    Displays the ship date the product will be shipped in yyyy-MM-dd format.
    Example: "2023-12-11"

  - `storeDetails.productDetail.issuanceProductStatus` (object)
    Displays the product status for the created product.

  - `storeDetails.productDetail.issuanceProductStatus.hold` (integer)
    Displays the number of points on hold against the order.
    Example: 20

  - `storeDetails.productDetail.issuanceProductStatus.ship` (integer)
    Displays the number of products that have been shipped.
    Example: 10

  - `storeDetails.productDetail.issuanceProductStatus.return` (integer)
    Displays the number of products that have been returned.

  - `storeDetails.productDetail.issuanceProductStatus.cancel` (integer)
    Displays the number of products that have been cancelled.

  - `storeDetails.productDetail.issuanceProductAttribute` (object)
    Displays the product attributes for the created product.

  - `storeDetails.productDetail.issuanceProductAttribute.issuanceOrderAttribute` (object)
    Displays the order attribute which passes values while creating the order.

  - `storeDetails.productDetail.issuanceProductAttribute.issuanceOrderAttribute.attribute` (string)
    Enter attribute name and value information.
    Example: "Quantity"


## Response 201 fields

## Response 400 fields

## Response 401 fields

## Response 404 fields

## Response 422 fields
