Skip to main content

Awsmarketplace API

SaaSus AWS Marketplace API Schema (1.0.0)

SaaSus AWS Marketplace API Schema

awsMarketplace

Operations for AWS Marketplace resources

Get AWS Marketplace Settings

Get AWS Marketplace Settings.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "product_code": 1234567890,
  • "role_arn": "arn:aws:iam::123456789012:role/role-name",
  • "role_external_id": 1234567890,
  • "sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "cas_bucket_name": "cas-bucket-name",
  • "cas_sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "seller_sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "redirect_sign_up_page_function_url": "http://example.com/sign-up",
  • "sqs_arn": "arn:aws:sqs:us-east-1:123456789012:queue_name"
}

Update AWS Marketplace Settings

Update AWS Marketplace Settings.

Authorizations:
Bearer
Request Body schema: application/json
product_code
string
role_arn
string
role_external_id
string
sns_topic_arn
string
cas_bucket_name
string
cas_sns_topic_arn
string
seller_sns_topic_arn
string
sqs_arn
string

Responses

Request samples

Content type
application/json
{
  • "product_code": 1234567890,
  • "role_arn": "arn:aws:iam::123456789012:role/role-name",
  • "role_external_id": 1234567890,
  • "sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "cas_bucket_name": "cas-bucket-name",
  • "cas_sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "seller_sns_topic_arn": "arn:aws:sns:us-east-1:123456789012:topic-name",
  • "sqs_arn": "arn:aws:sqs:us-east-1:123456789012:queue_name"
}

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}

Get AWS Marketplace Listing Status

Get AWS Marketplace Listing Status.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "listing_status": "no_listing"
}

Update AWS Marketplace Listing Status

Update AWS Marketplace Listing Status.

Authorizations:
Bearer
Request Body schema: application/json
listing_status
required
string (AWS Marketplace Listing Status)
Enum: "no_listing" "first_step_working" "first_step_completed" "second_step_working" "second_step_plan_created" "second_step_completed" "third_step_working" "third_step_completed" "limited" "restricted" "public"

Responses

Request samples

Content type
application/json
{
  • "listing_status": "no_listing"
}

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}

Obtain plan information to link to AWS Marketplace

Obtain plan information to link to AWS Marketplace.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "plans": [
    ]
}

Save plan information to be linked to AWSMarketplace

Save plan information to be linked to AWSMarketplace.

Authorizations:
Bearer
Request Body schema: application/json
plan_id
required
string (Uuid)
plan_name
required
string

Responses

Request samples

Content type
application/json
{
  • "plan_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775",
  • "plan_name": "normal_plan_name_month"
}

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}

Obtain plan information to link to AWS Marketplace

Obtain plan information to link to AWS Marketplace.

Authorizations:
Bearer
path Parameters
plan_name
required
string
Example: normal_plan_name_month

AWS Marketplace linked plan name

Responses

Response samples

Content type
application/json
{
  • "plan_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775",
  • "plan_name": "normal_plan_name_month"
}

Create customer information to be linked to AWS Marketplace

Create customer information to be linked to AWS Marketplace.

Authorizations:
Bearer
Request Body schema: application/json
tenant_id
required
string (Uuid)
registration_token
required
string

Responses

Request samples

Content type
application/json
{
  • "tenant_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775",
  • "registration_token": "registration_token"
}

Response samples

Content type
application/json
{
  • "customer_identifier": "123456789012",
  • "customer_aws_account_id": "123456789012",
  • "tenant_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775"
}

Get a list of customer information to be linked to AWS Marketplace

Get a list of customer information to be linked to AWS Marketplace.

Authorizations:
Bearer
query Parameters
tenant_ids
Array of strings (Uuid)
Example: tenant_ids=69e732d6-8ecc-45c4-c2eb-8438f7ffe775

指定したテナントIDの顧客を取得する(Get customers with the specified tenant ID)

Responses

Response samples

Content type
application/json
{
  • "customers": [
    ]
}

Get customer information to be linked to AWS Marketplace

Get customer information to be linked to AWS Marketplace.

Authorizations:
Bearer
path Parameters
customer_identifier
required
string
Example: 123456789012

Customer ID

Responses

Response samples

Content type
application/json
{
  • "customer_identifier": "123456789012",
  • "customer_aws_account_id": "123456789012",
  • "tenant_id": "69e732d6-8ecc-45c4-c2eb-8438f7ffe775"
}

Sync AWS Marketplace customer information to SaaSus

Sync AWS Marketplace customer information to SaaSus.

Authorizations:
Bearer
path Parameters
customer_identifier
required
string
Example: 123456789012

Customer ID

Responses

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}

Verify Registration Token

Verify Registration Token.

Authorizations:
Bearer
Request Body schema: application/json
registration_token
required
string

Responses

Request samples

Content type
application/json
{
  • "registration_token": "registration_token"
}

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}

Obtain product publication status from AWS Marketplace

Retrieve the product's publication status from AWS Marketplace.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "visibility": "Public"
}

error

Error for Testing Purposes

Return Internal Server Error

This endpoint is used for testing purposes. Returns a server error with status code 500.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "permission_denied",
  • "message": "Error message"
}