
Sending Purchase Orders
Please follow the below to send through your first EDI purchase order.
1. Find out what is required in the message by following the guides specific to each Bluescope business unit. Each guide will provide a welcome pack detailing specifications, schemas and examples you can use to build the message.
- Orrcon
- BSFP
- BBC
- CIPA
2. Retrieve an Oauth2.0 token, follow 'Authentication' page for how to do this
3. Details to test the api can be done by going to 'Products:List', clicking on the business unit you wish to trade with and selecting whether you wish to send through a GS1 or an ASI format Order. In this example we will send through a GS1 order 'Sales Order Process Api - v1'.
4. You will be given an Api detail page, click on the api format you wish to send the order through as. Here you will find the api definition, url, response codes and messages, and a definition for the fields, parameters and headers the api uses. By default the 'Authorization' header will not be added so you will need to add this manually.
5. There will be a green 'Try it' button on the right of the screen, this allows you to test the api directly in the browser, please click this.
6. As mentioned before you will need to provide the 'Authorization' field in the headers and the Id (sales order identification number) in the parameters. Example of this below, ignore 'x-mock-response' and 'Cache-Control' :
7. Add your sales order example, or the example from the welcome pack you obtained earlier in step 1, to the body section.
8. Scroll to the bottom and click the 'Send' button. This will send the payload directly to the Bluescope api. For an asynchronous message you should receive a 202 created response code, on the other hand for a synchronous api call you will get a 200 ok response code.