createPartnership
Creates a partnership between a customer and a trading partner, based on the supplied parameters. A partnership represents the connection between you and your trading partner. It ties together a profile and one or more trading capabilities.
Samples
import aws.sdk.kotlin.services.b2bi.model.Tag
fun main() {
//sampleStart
// Sample CreatePartnership call
val resp = b2BiClient.createPartnership {
capabilities = listOf<String>(
"ca-963a8121e4fc4e348"
)
clientToken = "foo"
email = "john@example.com"
name = "b2bipartner"
phone = "5555555555"
profileId = "p-60fbc37c87f04fce9"
tags = listOf<Tag>(
Tag {
key = "sampleKey1"
value = "sampleValue1"
}
)
}
//sampleEnd
}