Get distribution methods

/distribution/get_distribution_methods

Target audience: Developers

1
Release version: 4.4.0

Get distribution methods

Introduction

This endpoint returns the currently available distribution methods for a product.

URI

Environment URI
Stage https://payway-api.stage.adeprimo.se/external/api/v1/distribution/get_distribution_methods
Production https://backend.worldoftulo.com/external/api/v1/distribution/get_distribution_methods

Requirements

Identity Scope
No /external/distribution/r

Curl Example

Get

1
2
3
4
curl --request GET \
  --url https://payway-api.stage.adeprimo.se/external/api/v1/distribution/get_distribution_methods \
  --header 'accept: application/json' \
  --header 'authorization: Bearer <token>' \

Response

Successful response

1
2
3
4
5
6
7
8
HTTP 200
{
  "items": [
      "distribution_method_1",
      "distribution_method_2",
      "distribution_method_3",
  ]
}

Errors

This API uses the common error conventions of the Payway API

See common error responses